Add tests for strfrom functions
[glibc.git] / ChangeLog
blob6b8763f95a2a49c3d9d229db7f0539dc860425db
1 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4         * stdlib/tst-strfrom.h: New file.
5         * stdlib/tst-strfrom.c: New file.
6         * stdlib/tst-strfrom-locale.c: New file.
8         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9         * stdlib/bug-strtod2.c: Likewise.
10         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11         * stdlib/tst-strtod6.c: Likewise.
12         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
17         * manual/arith.texi: Document strfromd, strfromf, strfroml.
18         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
19         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
20         * stdlib/stdlib.h (strfromd): New declaration.
21         (strfromf): Likewise.
22         (strfroml): Likewise.
23         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
24         strfrom.
25         * stdlib/strfromd.c: New file.
26         * stdlib/strfromf.c: Likewise.
27         * stdlib/strfroml.c: Likewise.
28         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
29         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
30         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
31         * sysdeps/arm/nacl/libc.abilist: Update.
32         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
33         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
34         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
35         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
36         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
37         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
61 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
63         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
64         instead of cmpli.
65         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
66         instead of cmpli.
68 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
70         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
71         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
72         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
73         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
74         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
75         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
77 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
79         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
80         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
81         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
82         SYSCALL_LL64_PRW.
83         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
84         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
85         __ASSUME_PRW_DUMMY_ARG.
86         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
87         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
88         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
89         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
90         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
91         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
93 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
95         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
97 2016-10-22  Florian Weimer  <fweimer@redhat.com>
99         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
100         "C++", to override a potential extern "C" directive around the
101         header file inclusion.
103 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
105         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
107 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
109         * sysdeps/powerpc/fpu/fenv_private.h:
110         (_FPU_MASK_ALL): Rename to...
111         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
112         XE FPSCR bits.
114         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
116         (_FPU_MASK_ROUNDING): Rename to...
117         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
118         NI bits.
120         (_FPU_MASK_EXCEPT_ROUND): Rename to...
121         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
122         bits and rounding bits.
124         (__libc_feholdbits_ppc): New inline function to mask, set,
125         and pontentially clear FSPCR bits, and change MSR[FE] bits.
126         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
127         (libc_feholdexcept_setround_ppc): Likewise.
129         (__libc_femergeenv_ppc): New function to dynamically mask both
130         old and new FP environments and merge.
131         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
132         (libc_feresetround_ppc): Likewise.
133         (libc_feupdateenv_test_ppc): Likewise.
134         (libc_feupdateenv_ppc): Likewise.
136         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
137         of ISA RN bits, and update macro names.
138         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
139         effectively the same as the previously mentioned function.
141         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
142         usage with fe_resetround_ppc.
144         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
145         to be used.
146         (libc_feholdexcept_setround_ctxf): Likewise.
147         (libc_feholdexcept_setround_ctxl): Likewise.
149 2016-10-21  Florian Weimer  <fweimer@redhat.com>
151         [BZ #20715]
152         * math/math.h [__cplusplus] (iszero): Define as function template.
153         * math/Makefile [CXX] (tests): Add test-math-iszero.
154         (CFLAGS-test-math-iszero.cc): Set.
155         * math/test-math-iszero.cc: New file.
157 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
159         [BZ #20660]
160         * sysdeps/arm/e_sqrt.c: New file.
161         * sysdeps/arm/e_sqrtf.c: Likewise.
163 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
165         [BZ #20718]
166         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
167         not use floating-point comparisons to test sign.
168         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
169         Likewise.
171         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
172         (getpayload): New declaration.
173         * math/Versions (getpayload): New libm symbol at version
174         GLIBC_2.25.
175         (getpayloadf): Likewise.
176         (getpayloadl): Likewise.
177         * math/Makefile (libm-calls): Add s_getpayloadF.
178         * math/libm-test.inc: Include <nan-high-order-bit.h>.
179         (struct test_f_f_data): Add comment.
180         (RUN_TEST_fp_f): New macro.
181         (RUN_TEST_LOOP_fp_f): Likewise.
182         (getpayload_test_data): New array.
183         (getpayload_test): New function.
184         (main): Call getpayload_test.
185         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
186         descriptor.
187         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
188         getpayloadf and getpayloadl.
189         * manual/libm-err-tab.pl: Update comment on interfaces without
190         ulps tabulated.
191         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
192         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
193         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
194         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
195         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
196         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
197         * sysdeps/nacl/libm.abilist: Update.
198         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
211         Likewise.
212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
213         Likewise.
214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
215         Likewise.
216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
217         Likewise.
218         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
224         Likewise.
225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
226         Likewise.
227         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
228         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
229         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
231 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
233         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
234         tst-fallocate{64}.
235         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
236         on syscall return.
238 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
240         [BZ #20689]
241         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
242         usable.
244 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
246         * sysdeps/generic/nan-high-order-bit.h: New file.
247         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
248         * sysdeps/mips/nan-high-order-bit.h: Likewise.
249         * sysdeps/hppa/math_private.h: Remove file.
250         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
251         not define here.
252         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
253         <nan-high-order-bit.h>.
254         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
255         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
256         <nan-high-order-bit.h>.
257         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
258         * sysdeps/ieee754/dbl-64/s_totalordermag.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/wordsize-64/s_issignaling.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/wordsize-64/s_totalorder.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_totalordermag.c: Include
268         <nan-high-order-bit.h>.
269         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
270         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
271         <nan-high-order-bit.h>.
272         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
273         * sysdeps/ieee754/flt-32/s_totalorderf.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_totalordermagf.c: Include
277         <nan-high-order-bit.h>.
278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
279         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
280         <nan-high-order-bit.h>.
281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
282         * sysdeps/ieee754/ldbl-128/s_totalorderl.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_totalordermagl.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-128ibm/s_issignalingl.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-128ibm/s_totalorderl.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_totalordermagl.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-96/s_issignalingl.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-96/s_totalorderl.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_totalordermagl.c: Include
304         <nan-high-order-bit.h>.
305         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
307 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
309         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
311 2016-09-22  John David Anglin  <dave.anglin@bell.net>
313         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
314         abort-instr.h.
315         (EFAULT): Remove conditional define.
316         (ENOSYS): Likewise.
317         (atomic_compare_and_exchange_val_acq): Use instruction nullification
318         instead of conditional branch instructions.
320 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
322         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
323         (totalordermag): New declaration.
324         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
325         New macro.
326         * math/Versions (totalordermag): New libm symbol at version
327         GLIBC_2.25.
328         (totalordermagf): Likewise.
329         (totalordermagl): Likewise.
330         * math/Makefile (libm-calls): Add s_totalordermagF.
331         * math/libm-test.inc (totalordermag_test_data): New array.
332         (totalordermag_test): New function.
333         (main): Call totalordermag_test.
334         * math/test-tgmath.c (NCALLS): Increase to 125.
335         (F(compile_test)): Call totalordermag.
336         (F(totalordermag)): New function.
337         * manual/arith.texi (FP Comparison Functions): Document
338         totalordermag, totalordermagf and totalordermagl.
339         * manual/libm-err-tab.pl: Update comment on interfaces without
340         ulps tabulated.
341         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
342         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
343         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
344         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
345         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
346         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
347         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
348         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
349         totalordermag.
350         (CFLAGS-nldbl-totalordermag.c): New variable.
351         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
352         (do_test): Also test totalordermagl.
353         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
354         Likewise.
355         * sysdeps/nacl/libm.abilist: Update.
356         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
357         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
358         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
359         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
360         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
361         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
364         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
365         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
369         Likewise.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
371         Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
373         Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
375         Likewise.
376         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
382         Likewise.
383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
384         Likewise.
385         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
389 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
391         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
392         boolean.
394 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
396         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
397         raising FE_INVALID with feraisexcept in case where part of
398         argument is infinite, subtract that part of argument from itself.
399         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
400         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
401         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
403 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
405         * math/libm-test.inc (totalorder_test_data): Add more tests.
407 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
409         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
410         Undefine weak_alias and add a comment why mips64 require
411         versioning.
413 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
415         [BZ #20647]
416         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
417         maximum CPUID level is less than 2.
419 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
421         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
422         (totalorder): New declaration.
423         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
424         New macro.
425         * math/Versions (totalorder): New libm symbol at version
426         GLIBC_2.25.
427         (totalorderf): Likewise.
428         (totalorderl): Likewise.
429         * math/Makefile (libm-calls): Add s_totalorderF.
430         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
431         string.
432         * math/libm-test.inc (PAYLOAD_DIG): New macro.
433         (qnan_value_pl): Likewise.
434         (snan_value_pl): Likewise.
435         (qnan_value): Define using qnan_value_pl.
436         (snan_value): Define using snan_value_pl.
437         (struct test_ff_i_data): Add comment about which tests use this
438         structure.
439         (RUN_TEST_ff_b): New macro.
440         (RUN_TEST_LOOP_ff_b): Likewise.
441         (totalorder_test_data): New array.
442         (totalorder_test): New function.
443         (main): Call totalorder_test.
444         * math/test-tgmath.c (NCALLS): Increase to 122.
445         (F(compile_test)): Call totalorder.
446         (F(totalorder)): New function.
447         * manual/arith.texi (FP Comparison Functions): Document
448         totalorder, totalorderf and totalorderl.
449         * manual/libm-err-tab.pl: Update comment on interfaces without
450         ulps tabulated.
451         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
452         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
453         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
454         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
455         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
456         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
457         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
458         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
459         totalorder.
460         (CFLAGS-nldbl-totalorder.c): New variable.
461         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
462         file.
463         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
464         Add test-totalorderl-ldbl-128ibm.
465         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
466         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
467         test-totalorderl-ldbl-96.
468         * sysdeps/nacl/libm.abilist: Update.
469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
475         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
476         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
479         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
480         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
482         Likewise.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
484         Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
486         Likewise.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
488         Likewise.
489         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
490         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
495         Likewise.
496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
497         Likewise.
498         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
502 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
504         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
505         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
506         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
507         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
508         remove ENOSYS implementation.
509         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
510         Consolidate all Linux implementations.
512 2016-10-11  Florian Weimer  <fweimer@redhat.com>
514         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
515         * resolv/herror.c (herror): Cast away const-ness.
516         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
517         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
519 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
521         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
522         instead of M_NAN + M_NAN.
523         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
525 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
527         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
528         unused variable 'p'.
530 2016-10-09  Alan Modra  <amodra@gmail.com>
531             Andreas Schwab  <schwab@linux-m68k.org>
533         [BZ #20554]
534         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
535         [PIC && !SHARED]: Set up PIC register for PLT call.
537 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
539         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
540         conditional on value of [__FLT_EVAL_METHOD__].
541         * math/test-iseqsig-excess-precision.c: New file.
542         * math/Makefile (tests): Add test-iseqsig-excess-precision.
544 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
546         * math/s_iseqsig_template.c: Include math-private.h.
548         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
549         * posix/tst-posix_fadvise.c: New file.
550         * posix/tst-posix_fadvise64.c: Likewise.
551         * posix/tst-posix_fadvise-common.c: Likewise.
552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
553         (__ASSUME_FADVISE64_64_6ARG): Define.
554         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
555         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
557         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
558         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
559         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
560         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
561         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
562         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
563         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
564         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
565         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
568         Likewise.
569         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
571         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
572         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
573         Alias to __posix_fadvise64_l32.
574         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
575         Add compat definition to posix_fadvise64.
576         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
577         Add versioned definition to posix_fadvise64.
578         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
579         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
580         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
581         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
582         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
584         * io/Makefile (tests): Add tst-posix_fallocate and
585         tst-posix_fallocate64.
586         * io/tst-posix_fallocate-common.c: New file.
587         * io/tst-posix_fallocate.c: Likewise.
588         * io/tst-posix_fallocate64.c: Likewise.
589         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
590         file.
591         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
592         Likewise.
593         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
594         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
595         Likewise.
596         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
597         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
598         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
599         SYSCALL_LL to pass both offset and len arguments.
600         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
601         Likewise.
602         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
603         __libc_pwrite64 alias used by posix_fallocate64.
605         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
606         tst-fallocate64.
607         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
608         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
609         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
610         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
611         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
612         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
613         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
614         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
615         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
616         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
617         macro on offset argument.
618         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
619         SYSCALL_LL64 on offset argument.
621         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
622         tst-fallocate64.
623         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
624         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
625         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
626         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
627         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
628         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
629         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
630         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
631         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
632         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
633         macro on offset argument.
634         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
635         SYSCALL_LL64 on offset argument.
636         * test-skeleton.c (FAIL_RET): Add macro.
637         (FAIL_EXIT): Likewise.
638         (FAIL_EXIT1): Likewise.
639         (_FAIL): Likewise.
641 2016-10-07  Florian Weimer  <fweimer@redhat.com>
643         [BZ #20629]
644         resolv: Remove RES_USEBSTRING and its implementation.
645         * resolv/resolv.h (RES_USEBSTRING): Remove.
646         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
647         (digitvalue, encode_bitstring, decode_bitstring): Remove.
648         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
649         (labellen): Remove extended label types support.
650         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
651         * resolv/res_init.c (res_setoptions): Likewise.
652         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
654 2016-10-07  Florian Weimer  <fweimer@redhat.com>
656         resolv: Remove RES_NOIP6DOTINT and its implementation.
657         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
658         (RES_NOIP6DOTINT): Remove.
659         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
660         handling.
661         * resolv/res_debug.c (p_option): Likewise.
662         * resolv/res_init.c (res_setoptions): Likewise.
663         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
665 2016-10-07  Florian Weimer  <fweimer@redhat.com>
667         resolv: Deprecate unimplemented flags.
668         * misc/sys/cdefs.h (__glibc_macro_warning1)
669         (__glibc_macro_warning): Define.
670         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
671         (RES_KEEPTSIG): Mark as deprecated.
672         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
673         RES_NOCHECKNAME, RES_KEEPTSIG.
674         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
676 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
678         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
679         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
680         Use strong_alias to create symbols for glibc verison 2.19.
682 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
684         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
686 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
688         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
690 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
692         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
694 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
697         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
698         in header for using it as type for ifunc function because __GI_* symbols
699         for ppc32 do not target the ifunc symbols.
700         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
702 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
704         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
705         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
706         libc_ifunc_hidden_def.
707         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
708         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
709         Redirect ifunced function in header for using it as type of ifunc'ed
710         function. Redefine libc_hidden_def to use fallback non ifunc'ed
711         function for __GI_* symbol.
712         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
713         * include/libc-symbols.h
714         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
716 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
718         [BZ #20478]
719         * sysdeps/s390/multiarch/ifunc-resolve.h
720         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
721         to create ifunc symbols.
722         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
723         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
724         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
725         for using it as type for ifunc function.
726         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
727         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
728         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
729         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
730         * sysdeps/s390/multiarch/strcat.c: Likewise.
731         * sysdeps/s390/multiarch/strchr.c: Likewise.
732         * sysdeps/s390/multiarch/strcmp.c: Likewise.
733         * sysdeps/s390/multiarch/strcpy.c: Likewise.
734         * sysdeps/s390/multiarch/strcspn.c: Likewise.
735         * sysdeps/s390/multiarch/strlen.c: Likewise.
736         * sysdeps/s390/multiarch/strncmp.c: Likewise.
737         * sysdeps/s390/multiarch/strncpy.c: Likewise.
738         * sysdeps/s390/multiarch/strnlen.c: Likewise.
739         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
740         * sysdeps/s390/multiarch/strrchr.c: Likewise.
741         * sysdeps/s390/multiarch/strspn.c: Likewise.
742         * sysdeps/s390/multiarch/wcschr.c: Likewise.
743         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
744         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
745         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
746         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
747         * sysdeps/s390/multiarch/wmemset.c: Likewise.
748         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
749         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
750         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
751         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
752         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
753         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
755 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
757         * include/libc-symbols.h (__ifunc_resolver):
758         New macro is used by __ifunc* macros.
759         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
760         depending on HAVE_GCC_IFUNC.
761         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
762         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
764         Redirect ifunced function in header for using as type for ifunc function.
765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
771         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
773         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
774         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
775         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
776         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
778         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
784         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
785         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
786         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
787         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
788         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
789         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
790         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
791         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
792         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
793         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
794         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
795         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
796         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
797         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
799         Add libc_hidden_def() and use libc_ifunc_hidden() macro
800         instead of libc_ifunc() macro.
801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
802         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
804 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
806         * config.h.in (HAVE_GCC_IFUNC): New undef.
807         * configure.ac: Add check if gcc supports attribute ifunc feature.
808         * configure: Regenerated.
809         * manual/install.texi: Add recommendation for gcc with
810         indirect-function support.
811         * INSTALL: Regenerated.
813 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
815         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
816         macro.
817         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
818         (__iseqsig): New declaration.
819         * math/s_iseqsig_template.c: New file.
820         * math/Versions (__iseqsigf): New libm symbol at version
821         GLIBC_2.25.
822         (__iseqsig): Likewise.
823         (__iseqsigl): Likewise.
824         * math/libm-test.inc (iseqsig_test_data): New array.
825         (iseqsig_test): New function.
826         (main): Call iseqsig_test.
827         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
828         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
829         * manual/libm-err-tab.pl: Update comment on interfaces without
830         ulps tabulated.
831         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
832         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
833         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
834         * sysdeps/nacl/libm.abilist: Update.
835         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
841         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
843         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
845         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
848         Likewise.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
850         Likewise.
851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
852         Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
854         Likewise.
855         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
861         Likewise.
862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
863         Likewise.
864         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
868 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
870         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
871         do_sincos_2, sloww, sloww1): Update comments.
873         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
874         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
876         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
877         K boolean and rename it.
878         (__sin): Adjust.
879         (__cos): Adjust.
881 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
882             Siddhesh Poyarekar  <siddhesh@sourceware.org>
884         * manual/nss.texi: Fix typos in the manual.
886 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
888         * manual/contrib.texi: Fix typos in the manual.
890         * manual/maint.texi: Fix typos in the manual.
892         * manual/install.texi: Fix typos in the manual.
893         * INSTALL: Regenerated.
895         * manual/lang.texi: Fix typos in the manual.
897         * manual/probes.texi: Fix typos in the manual.
899         * manual/threads.texi: Fix typos in the manual.
901         * manual/debug.texi: Fix typos in the manual.
903         * manual/crypt.texi: Fix typos in the manual.
905         * manual/conf.texi: Fix typos in the manual.
907         * manual/sysinfo.texi: Fix typos in the manual.
909         * manual/users.texi: Fix typos in the manual.
911         * manual/job.texi: Fix typos in the manual.
913         * manual/process.texi: Fix typos in the manual.
915         * manual/argp.texi: Fix typos in the manual.
916         * manual/getopt.texi: Likewise.
917         * manual/startup.texi: Likewise.
919         * manual/signal.texi: Fix typos in the manual.
921         * manual/setjmp.texi: Fix typos in the manual.
923         * manual/resource.texi: Fix typos in the manual.
925         * manual/time.texi: Fix typos in the manual.
927         * manual/arith.texi: Fix typos in the manual.
929         * manual/math.texi: Fix typos in the manual.
931         * manual/syslog.texi: Fix typos in the manual.
933         * manual/terminal.texi: Fix typos in the manual.
935         * manual/socket.texi: Fix typos in the manual.
937         * manual/filesys.texi: Fix typos in the manual.
939         * manual/llio.texi: Fix typos in the manual.
941         * manual/stdio.text: Fix typos in the manual.
943 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
945         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
946         instead of K1.
948         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
949         SHIFT_QUADRANT and make it bool.
950         (do_sincos_2): Likewise.
951         (sloww): Likewise.
952         (sloww1): Likewise.
953         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
954         (__cos): Likewise.
956 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
958         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
960 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
962         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
963         Define to __WORDSIZE, not conditional on [LONG_MAX ==
964         0x7fffffffL].
965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
967 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
969         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
970         inline by __inline__.
971         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
972         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
973         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
974         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
975         sigset_t from signal.h.
976         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
977         which is already required.
979 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
981         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
983 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
985         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
986         (struct tcp_repair_window): New type.
988 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
990         * libio/tst-memstream3.c: Include string.h.
992 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
994         [BZ #18241]
995         [BZ #20181]
996         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
997         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
998         write position is at the end the buffer.
999         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1000         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1001         (_IO_str_seekoff): Set correct offset from negative displacement and
1002         set EINVAL for invalid ones.
1003         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1004         buffer length.
1005         (_IO_wstr_switch_to_get_mode): New function.
1006         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1007         set EINVAL for invalid ones.
1008         * libio/tst-memstream3.c: New file.
1009         * libio/tst-wmemstream3.c: Likewise.
1010         * manual/examples/memstrm.c: Remove warning when priting size_t.
1012 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1014         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1015         macro to use __builtin_fma.
1016         * sysdeps/x86_64/fpu/dla.h: Remove file.
1018         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1019         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1020         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1022 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1024         [BZ #20292]
1025         * elf/Makefile (routines): Add dl-addr-obj.
1026         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1027         tst-_dl_addr_inside_object.
1028         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1029         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1030         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1031         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1032         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1033         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1034         * elf/dl-open.c: Likewise.
1035         * elf/dl-addr-obj.c: New file.
1036         * elf/tst-_dl_addr_inside_object.c: New file.
1038 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1040         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1041         <bits/iscanonical.h>.
1042         * bits/iscanonical.h: New file.
1043         * math/s_iscanonicall.c: Likewise.
1044         * math/Versions (__iscanonicall): New libm symbol at version
1045         GLIBC_2.25.
1046         * math/libm-test.inc (iscanonical_test_data): New array.
1047         (iscanonical_test): New function.
1048         (main): Call iscanonical_test.
1049         * math/Makefile (headers): Add bits/iscanonical.h.
1050         (type-ldouble-routines): Add s_iscanonicall.
1051         * manual/arith.texi (Floating Point Classes): Document
1052         iscanonical.
1053         * manual/libm-err-tab.pl: Update comment on interfaces without
1054         ulps tabulated.
1055         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1056         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1057         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1058         Likewise.
1059         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1060         test-iscanonical-ldbl-128ibm.
1061         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1062         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1063         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1064         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1065         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1066         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1069         Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1071         Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1079 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1081         * string/bits/string3.h: Remove C++ style comments.
1083 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1085         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1086         instead of ternary condition.
1087         (do_sincos_2): Likewise.
1088         (__sin): Likewise.
1089         (__cos): Likewise.
1090         (slow): Likewise.
1091         (sloww): Likewise.
1092         (sloww1): Likewise.
1093         (bsloww): Likewise.
1094         (bsloww1): Likewise.
1096         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1097         instead of ternary condition.
1098         (do_sin_slow): Likewise.
1099         (do_sincos_1): Likewise.
1100         (do_sincos_2): Likewise.
1101         (__cos): Likewise.
1102         (sloww): Likewise.
1103         (sloww1): Likewise.
1104         (sloww2): Likewise.
1105         (bsloww): Likewise.
1106         (bsloww1): Likewise.
1107         (bsloww2): Likewise.
1109         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1110         check from here...
1111         (slow2): ... and here...
1112         (__sin): ... to here.
1114 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1116         * math/math.h
1117         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1118         Cast argument to its own type.
1119         * math/test-iszero-excess-precision.c: New file.
1120         * math/Makefile (tests): Add test-iszero-excess-precision.
1121         (CFLAGS-test-iszero-excess-precision.c): New variable.
1123 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1125         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1126         field, add err field.
1127         (__spawni_child): Report error through err member instead of pipe.
1128         (__spawnix): Likewise.
1130 2016-09-28  Zack Weinberg  <zackw@panix.com>
1132         * scripts/check-installed-headers.sh: Generalize treatment of
1133         sys/elf.h to all target architectures.
1135         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1136         deleted typedef ucontext_t.
1138 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1140         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1141         (__INTERNAL_SYSCALL1): Likewise.
1142         (__INTERNAL_SYSCALL2): Likewise.
1143         (__INTERNAL_SYSCALL3): Likewise.
1144         (__INTERNAL_SYSCALL4): Likewise.
1145         (__INTERNAL_SYSCALL5): Likewise.
1146         (__INTERNAL_SYSCALL6): Likewise.
1147         (__INTERNAL_SYSCALL7): Likewise.
1148         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1149         (__INTERNAL_SYSCALL_NARGS): Likewise.
1150         (__INTERNAL_SYSCALL_DISP): Likewise.
1151         (INTERNAL_SYSCALL_CALL): Likewise.
1152         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1153         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1154         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1155         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1156         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1157         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1158         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1159         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1160         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1161         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1162         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1163         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1164         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1166 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1168         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1169         macro.
1170         * math/libm-test.inc (iszero_test_data): New array.
1171         (iszero_test): New function.
1172         (main): Call iszero_test.
1173         * manual/arith.texi (Floating Point Classes): Document iszero.
1174         * manual/libm-err-tab.pl: Update comment on interfaces without
1175         ulps tabulated.
1177 2016-09-23  Zack Weinberg  <zackw@panix.com>
1179         * scripts/check-installed-headers.sh: New script.
1180         * Rules: In each directory that defines header files to be installed,
1181         run check-installed-headers.sh on them as a special test.
1182         * Makefile: Likewise for the headers installed at top level.
1184         * include/aliases.h, include/alloca.h, include/argz.h
1185         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1186         * include/elf.h, include/envz.h, include/err.h
1187         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1188         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1189         * include/link.h, include/malloc.h, include/mcheck.h
1190         * include/mntent.h, include/netinet/ether.h
1191         * include/nss.h, include/obstack.h, include/printf.h
1192         * include/pty.h, include/resolv.h, include/rpc/auth.h
1193         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1194         * include/rpc/clnt.h, include/rpc/des_crypt.h
1195         * include/rpc/key_prot.h, include/rpc/netdb.h
1196         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1197         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1198         * include/rpc/rpc_msg.h, include/rpc/svc.h
1199         * include/rpc/svc_auth.h, include/rpc/xdr.h
1200         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1201         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1202         * include/rpcsvc/ypupd.h, include/shadow.h
1203         * include/stdio_ext.h, include/sys/epoll.h
1204         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1205         * include/sys/prctl.h, include/sys/profil.h
1206         * include/sys/statfs.h, include/sys/sysctl.h
1207         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1208         * sysdeps/arm/nacl/include/bits/setjmp.h
1209         * sysdeps/mips/include/sys/asm.h
1210         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1211         * sysdeps/unix/sysv/linux/include/sys/timex.h
1212         * sysdeps/x86/fpu/include/bits/fenv.h:
1213         Add #ifndef _ISOMAC guard around internal declarations.
1214         Add multiple-inclusion guard if not already present.
1216 2016-09-23  Zack Weinberg  <zackw@panix.com>
1218         * sysdeps/generic/sys/ucontext.h
1219         * sysdeps/arm/sys/ucontext.h
1220         * sysdeps/i386/sys/ucontext.h
1221         * sysdeps/m68k/sys/ucontext.h
1222         * sysdeps/mips/sys/ucontext.h
1223         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1224         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1225         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1226         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1227         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1228         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1229         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1230         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1231         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1232         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1233         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1234         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1235         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1236         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1237         Include both bits/sigcontext.h and bits/sigstack.h.
1238         Fix grammar error in comment, if present.
1240         * bits/sigstack.h
1241         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1242         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1243         * sysdeps/unix/sysv/linux/bits/sigstack.h
1244         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1245         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1246         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1247         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1248         * bits/sigcontext.h
1249         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1250         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1251         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1252         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1253         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1254         as well as signal.h, if this was not already allowed.  Request
1255         definition of size_t if necessary.  Minimize semantically-null
1256         differences across files.
1258 2016-09-23  Zack Weinberg  <zackw@panix.com>
1260         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1261         Remove all logic conditional on __need macros.  Move all the
1262         conditionally defined types to their own headers...
1263         * time/bits/types/clock_t.h: Define clock_t here.
1264         * time/bits/types/clockid_t.h: Define clockid_t here.
1265         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1266         * time/bits/types/struct_timespec.h: Define struct timespec here.
1267         * time/bits/types/struct_timeval.h: Define struct timeval here.
1268         * time/bits/types/struct_tm.h: Define struct tm here.
1269         * time/bits/types/time_t.h: Define time_t here.
1270         * time/bits/types/timer_t.h: Define timer_t here.
1271         * time/Makefile: Install the new headers.
1273         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1274         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1275         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1276         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1277         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1278         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1279         * sysdeps/unix/sysv/linux/bits/resource.h
1280         * sysdeps/unix/sysv/linux/bits/timex.h
1281         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1282         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1283         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1284         * sysdeps/unix/sysv/linux/sys/acct.h
1285         * sysdeps/unix/sysv/linux/sys/timerfd.h
1286         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1287         * time/sys/time.h, time/sys/timeb.h
1288         Use the new bits/types headers.
1290         * include/time.h: Remove __need logic.
1291         * include/bits/time.h
1292         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1293         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1294         * include/bits/types/struct_itimerspec.h
1295         * include/bits/types/struct_timespec.h
1296         * include/bits/types/struct_timeval.h
1297         * include/bits/types/struct_tm.h:
1298         New wrapper headers.
1300 2016-09-23  Zack Weinberg  <zackw@panix.com>
1302         * sysdeps/mach/hurd/net/if_ppp.h
1303         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1304         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1305         if __USE_MISC is defined, to ensure struct ifreq is declared.
1307         * inet/netinet/ether.h: Condition all function prototypes
1308         on __USE_MISC, to ensure struct ether_addr is declared.
1310         * socket/bits/types/struct_osockaddr.h: New header.
1311         * include/bits/types/struct_osockaddr.h: New wrapper.
1312         * socket/Makefile: Install the new header.
1313         * socket/sys/socket.h, inet/protocols/talkd.h:
1314         Refer to bits/types/struct_osockaddr.h for the definition of
1315         struct osockaddr.
1317 2016-09-23  Zack Weinberg  <zackw@panix.com>
1319         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1320         * inet/protocols/routed.h, inet/protocols/talkd.h
1321         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1322         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1323         * sysdeps/generic/netinet/if_ether.h
1324         * sysdeps/generic/netinet/in_systm.h
1325         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1326         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1327         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1328         * sysdeps/mach/hurd/net/if_arp.h
1329         * sysdeps/mach/hurd/net/if_ppp.h
1330         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1331         * sysdeps/unix/sysv/linux/bits/in.h
1332         * sysdeps/unix/sysv/linux/net/ethernet.h
1333         * sysdeps/unix/sysv/linux/net/if_arp.h
1334         * sysdeps/unix/sysv/linux/net/if_ppp.h
1335         * sysdeps/unix/sysv/linux/net/if_shaper.h
1336         * sysdeps/unix/sysv/linux/net/route.h
1337         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1338         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1339         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1340         * sysdeps/unix/sysv/linux/netipx/ipx.h
1341         * sysdeps/unix/sysv/linux/sys/acct.h
1342         * include/arpa/nameser.h, include/resolv.h:
1343         Change all uses of u_char to unsigned char,
1344         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1345         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1346         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1347         and u_int64_t and u_quad_t to uint64_t.
1349         * mach/sys/reboot.h: Remove two casts of integer literals
1350         to the types they already have.
1352         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1353         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1354         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1355         from referring to 'unsigned char' to 'uint8_t' for consistency with
1356         the macro definition below.
1358         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1359         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1360         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1361         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1362         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1363         * sysdeps/unix/sysv/linux/sys/acct.h
1364         * include/arpa/nameser.h, include/resolv.h:
1365         Fix indentation disrupted by mechanical edits.
1367         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1368         * sysdeps/generic/netinet/in_systm.h
1369         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1370         * sysdeps/gnu/netinet/udp.h
1371         * sysdeps/unix/sysv/linux/net/ethernet.h
1372         * sysdeps/unix/sysv/linux/net/if_arp.h
1373         * sysdeps/unix/sysv/linux/net/if_ppp.h
1374         * sysdeps/unix/sysv/linux/net/if_shaper.h
1375         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1376         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1377         * sysdeps/unix/sysv/linux/netipx/ipx.h
1378         * sysdeps/unix/sysv/linux/sys/acct.h
1379         Include stdint.h for uintNN_t definitions.
1380         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1382 2016-09-23  Zack Weinberg  <zackw@panix.com>
1384         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1385         * sysdeps/unix/sysv/linux/netrose/rose.h:
1386         Include sys/socket.h and netax25/ax25.h.
1388         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1389         * resolv/arpa/nameser_compat.h:
1390         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1392         * sysdeps/unix/sysv/linux/sys/quota.h:
1393         Use __caddr_t instead of caddr_t.
1394         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1395         Use __clockid_t instead of clockid_t.
1397         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1399         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1400         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1401         expanding it.
1403         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1404         Define __glibc_c99_flexarr_available to 1 when the compiler
1405         supports C99-compatible flexible array members, 0 otherwise.
1406         * sysdeps/unix/sysv/linux/bits/socket.h
1407         * sysdeps/mach/hurd/bits/socket.h
1408         * bits/socket.h: Use __glibc_c99_flexarr_available in
1409         definitions of struct cmsghdr and CMSG_DATA.
1411 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1413         * manual/nss.texi (NSS Modules Interface): Adjust function return
1414         type to enum nss_status.  Document errnop argument.  Clarify
1415         h_errnop semantics.  Fix cross-reference formatting.
1416         (NSS Module Function Internals): Mention that *errnop needs to be
1417         set on failure, but not to zero.
1419 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1421         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1422         (get_random_name): New functions.
1423         (check_wrapper_flags_mode): Use linkat to give the new file a name
1424         determined by get_random_name.
1425         (do_test): Add calls to test open64 and openat64.
1427 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1429         * test-skeleton.c: Remove #include <stdarg.h>.
1431 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1433         [BZ #19826]
1434         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1435         initialization of static TLS entries.
1436         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1437         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1439 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1441         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1442         _hurd_malloc_fork_prepare.
1443         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1444         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1445         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1446         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1447         (_hurd_fork_child_hook): Drop malloc_fork_child.
1448         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1449         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1450         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1451         after locking locks (notably hurd_dtable_lock). Call
1452         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1453         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1454         __malloc_fork_unlock_child.
1455         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1457 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1459         * soft-fp/extendhftf2.c: New.
1460         * soft-fp/fixhfti.c: Likewise.
1461         * soft-fp/fixunshfti.c: Likewise.
1462         * soft-fp/floattihf.c: Likewise.
1463         * soft-fp/floatuntihf.c: Likewise.
1464         * soft-fp/half.h: Likewise.
1465         * soft-fp/trunctfhf2.c: Likewise.
1467 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1469         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1470         macro.
1471         * math/libm-test.inc (issubnormal_test_data): New array.
1472         (issubnormal_test): New function.
1473         * manual/arith.texi (Floating Point Classes): Document
1474         issubnormal.
1475         * manual/libm-err-tab.pl: Update comment on interfaces without
1476         ulps tabulated.
1478         * sysdeps/generic/stdint.h: Define
1479         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1480         <bits/libc-header-start.h> instead of including <features.h>.
1481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1514         * manual/arith.texi (Integers): Document these macros for types
1515         specified by width properties.
1516         * manual/lang.texi (Width of Type): Document these macros for
1517         other standard typedefs.
1518         * stdlib/tst-width-stdint.c: New file.
1519         * stdlib/Makefile (tests): Add tst-width-stdint.
1521 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1523         [BZ #20016]
1524         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1525         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1526         Move ...
1527         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1528         ... here, as compatibility symbols in a new file.
1529         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1530         * resolv/res_init.c (__res_vinit): Adjust member names.
1531         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1532         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1533         (res_send_rhook): Remove.
1534         (struct __res_state): Rename qhook, rhook members.
1536 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1538         malloc: Use __libc_lock wrappers.
1539         * malloc/arena.c (list_lock, free_list_lock): Define using
1540         __libc_lock_define_initialized.
1541         (arena_lock): Adjust formatting.
1542         * malloc/malloc.c (struct malloc_state): Define mutex using
1543         __libc_lock_define.
1544         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1545         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1546         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1547         (mutex_unlock, mutex_trylock): Remove.
1548         (__pthread_initialize): Remove unused macro.
1549         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1550         (mutex_unlock, mutex_trylock): Remove.
1552 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1554         [BZ #20592]
1555         Remove RR type classification macros.
1556         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1557         (ns_t_udp_p, ns_t_xfr_p): Remove.
1559 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1561         Remove misleading version information.
1562         * resolv/arpa/nameser.h (__NAMESER): Remove.
1563         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1565 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1567         Remove the always-defined BIND_4_COMPAT macro.
1568         * resolv/arpa/nameser.h: Unconditionally include
1569         <arpa/nameser_compat.h>.
1570         (BIND_4_COMPAT): Remove.
1571         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1575         [BZ #20591]
1576         Remove obsolete DNSSEC support.
1577         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1578         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1579         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1580         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1581         (ns_cert_types): Add comment.
1582         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1583         separately.
1584         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1585         (dst_s_dns_key_id): Remove.
1586         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1587         variables.
1589 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1591         [BZ #20524]
1592         * manual/string.texi (String/Array Comparison): Clarify the
1593         strverscmp behavior.
1595 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1597         * test-skeleton.c (xasprintf): Add function.
1598         * io/tst-open-tmpfile.c: New test.
1599         * io/Makefile (tests): Add it.
1601 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1603         Avoid running $(CXX) during build to obtain header file paths.
1604         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1605         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1606         * Makerules (cstdlib, cmath): Remove variables.  Use
1607         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1608         * configure: Regenerate.
1610 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1612         * Makeconfig (all-object-suffixes): Include .op only if
1613         $(build-profile).
1615 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1617         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1618         conditionals.  Do not define PATH_MAX.
1620 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1622         * posix/Makefile (tests): Add tst-spawn3.
1623         * posix/tst-spawn3.c: New file.
1624         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1625         if it is already opened for open action.
1627         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1628         all signals when executing the clone vfork child.
1629         (SIGALL_SET): Remove macro.
1631         * nptl/Makefile (tests): Add tst-exec5.
1632         * nptl/tst-exec5.c: New file.
1633         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1634         asynchronous cancellation.
1636 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1638         * hurd/exc2signal.c: #include <hurd/signal.h>
1639         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1640         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1641         accordingly.
1642         * mach/mach_error.c (mach_error): Fix old-style function definition.
1643         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1645 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1647         * math/Makefile (libm-calls): Remove s_nanF.
1648         (gen-libm-calls): Add s_nanF.
1650         * math/s_nan.c: Refactor into ...
1651         * math/s_nan_template.c: New file.
1653         * math/s_nanf.c: Removed.
1654         * math/s_nanl.c: Removed.
1655         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1656         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1658         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1659         (LDOUBLE_nanl_libm_version): New macro.
1661         * sysdeps/generic/math-type-macros-double.h:
1662         (M_STRTO_NAN): New macro.
1663         * sysdeps/generic/math-type-macros-float.h: Likewise.
1664         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1666         * sysdeps/generic/math-type-macros.h: Document
1667         M_STRTO_NAN.
1669 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1671         * math/s_nanf.c: Remove __nanf undef.
1672         * math/s_nan.c: Remove __nan undef.
1673         * math/s_nanl.c: Remove __nanl undef.
1675         * sysdeps/generic/math_private.h (__nan): Remove macro
1676         override.
1677         (__nanf): Likewise.
1678         (__nanl): Likewise.
1680 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1682         * math/Makefile (gen-all-calls): New variable.
1683         (generated): Replace gen-libm-calls with gen-all-calls.
1684         (gen-libm-templates.stmp): Likewise.  Also, ensure
1685         the output directory exists or is created and add
1686         dependency on the Makefile.
1687         (calls): Move s_ldexpF into gen-calls.
1688         (gen-calls): New variable.
1690         * math/s_ldexpf.c: Removed.
1691         * math/s_ldexpl.c: Removed.
1692         * math/s_ldexp.c: Refactored into ...
1693         * math/s_ldexp_template.c: New file.
1695         * sysdeps/generic/math-type-macros-double.h: Remove
1696         redundant fall-through definition of declare_mgen_alias.
1697         (declare_mgen_alias_2): New macro.
1699         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1700         New macro for function aliased to two exported symbols.
1702         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1703         new template file.
1704         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1706 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1708         * Makeconfig (all-object-suffixes): Remove .og.
1709         * Makerules (elide-routines.og): Remove.
1710         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1711         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1712         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1714 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1716         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1717         .os objects.
1719 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1721         [BZ #20615]
1722         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1723         fpu directory by non-fpu.
1724         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1725         on non-fpu directory from a fpu directory.
1727 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1729         * include/limits.h: Define
1730         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1731         <bits/libc-header-start.h> instead of including <features.h>.
1732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1743         * manual/lang.texi (Width of Type): Document these macros.
1744         * stdlib/tst-width.c: New file.
1745         * stdlib/Makefile (tests): Add tst-width.
1747 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1749         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1750         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1752 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1754         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1755         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1756         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1758 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1760         [BZ #18243]
1761         * rt/Makefile (test): Add tst-shm-cancel.
1762         * rt/tst-shm-cancel.c: New file.
1763         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1765         [BZ #18243]
1766         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1767         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1768         definition.
1769         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1770         uncontended case.
1771         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1772         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1773         (tf): Fix check for uncontended case.
1774         (do_test): Likewise.
1775         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1776         (tf): Fix check for uncontended case.
1777         (do_test): Likewise.
1778         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1779         (tf): Fix check for uncontended case.
1780         (do_test): Likewise.
1781         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1782         (tf): Fix check for uncontended case.
1783         (do_test): Likewise.
1785         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1786         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1788         [BZ #15765]
1789         * nptl/Makefile (tests): Add tst-sem16.
1790         * nptl/tst-sem16.c: New file.
1791         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1793         * nptl/sem_open.c (sem_open): Init pad value to 0.
1794         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1795         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1797 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1799         [BZ #20611]
1800         * inet/Makefile (routines): Add inet6_scopeid_pton.
1801         (tests): Add tst-inet6_scopeid_pton.
1802         * inet/inet6_scopeid_pton.c: New file.
1803         * inet/net-internal.h: Likewise.
1804         * inet/tst-inet6_scopeid_pton.c: New test.
1805         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1806         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1809 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1811         Remove support for compiling wrappers with PTW.
1812         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1813         * nptl/Makefile (pthread-compat-wrappers): Define.
1814         (libpthread-routines): Use pthread-compat-wrappers.
1815         * sysdeps/unix/sysv/linux/alpha/Makefile
1816         (libpthread-routines, libpthread-shared-only-routines): Remove
1817         ptw- prefix.
1818         * sysdeps/s390/nptl/Makefile
1819         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1820         * sysdeps/ia64/nptl/Makefile
1821         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1822         * sysdeps/nacl/Makefile (libpthread-routines): Use
1823         pthread-compat-wrappers to filter the routines list instead of the
1824         ptw- prefix.
1826 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1828         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1829         with L() and remove explicit suffix, convert real literals
1830         which can be equivalentally substituted with integers, and
1831         transform -L(x) to L(-x).
1833         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1834         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1835         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1836         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1837         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1838         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1839         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1840         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1841         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1842         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1843         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1844         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1845         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1846         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1847         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1848         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1849         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1850         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1851         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1852         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1853         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1854         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1855         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1859         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1861         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1862         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1863         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1864         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1865         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1866         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1867         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1868         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1869         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1870         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1875         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1881         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1884 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1886         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1888 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1890         * malloc/Makefile (tests): Remove individual static test names
1891         and just add all of tests-static.
1893         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1895 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1897         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1898         file.
1900         * sysdeps/sparc/fpu/fegetmode.c: New file.
1901         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1903         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1904         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1906         * sysdeps/s390/fpu/fegetmode.c: New file.
1907         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1909         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1910         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1911         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1912         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1913         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1914         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1916         * sysdeps/mips/fpu/fegetmode.c: New file.
1917         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1919         * sysdeps/m68k/fpu/fegetmode.c: New file.
1920         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1922         * sysdeps/ia64/fpu/fegetmode.c: New file.
1923         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1925         * sysdeps/hppa/fpu/fegetmode.c: New file.
1926         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1928         * sysdeps/arm/fegetmode.c: New file.
1929         * sysdeps/arm/fesetmode.c: Likewise.
1931         * sysdeps/alpha/fpu/fegetmode.c: New file.
1932         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1934         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1935         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1937         * math/fegetmode.c: New file.
1938         * math/fesetmode.c: Likewise.
1939         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1940         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1941         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1942         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1943         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1945         declaration.
1946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1947         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1948         typedef.
1949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1950         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1951         (femode_t): New typedef.
1952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1953         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1954         (femode_t): New typedef.
1955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1956         * sysdeps/arm/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/hppa/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/ia64/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/m68k/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/microblaze/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/mips/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/nios2/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/powerpc/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 variable
1980         declaration.
1981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1982         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1983         (femode_t): New typedef.
1984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1985         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1986         (femode_t): New typedef.
1987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1988         * sysdeps/sparc/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/tile/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/x86/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
1998         (fegetmode): Document function.
1999         (fesetmode): Likewise.
2000         * math/Versions (fegetmode): New libm symbol at version
2001         GLIBC_2.25.
2002         (fesetmode): Likewise.
2003         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2004         (tests): Add test-femode and test-femode-traps.
2005         * math/test-femode-traps.c: New file.
2006         * math/test-femode.c: Likewise.
2007         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2008         alias for __fe_dfl_env.
2009         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2010         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2011         (__fe_dfl_mode): Likewise.
2012         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2013         version GLIBC_2.25.
2014         * sysdeps/nacl/libm.abilist: Update.
2015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2016         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2017         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2018         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2019         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2020         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2021         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2022         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2023         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2028         Likewise.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2030         Likewise.
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2032         Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2034         Likewise.
2035         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2036         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2037         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2041         Likewise.
2042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2043         Likewise.
2044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2048 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2050         [BZ #20495]
2051         [BZ #20508]
2052         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2053         processors, set Use_dl_runtime_resolve_slow and set
2054         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2055         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2056         New.
2057         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2058         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2059         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2060         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2061         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2062         if Use_dl_runtime_resolve_opt is set.  Use
2063         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2064         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2065         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2066         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2067         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2068         New.
2069         (_dl_runtime_resolve_opt): Likewise.
2070         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2071         defined.
2073 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2075         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2076         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2078 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2080         Convert malloc to __libc_lock.  Automated part, using this Perl
2081         s/// command:
2082           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2083             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2084         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2085         conversion.
2087 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2089         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2090         (linknamespace-symlists-tests): Likewise.
2091         (linknamespace-header-tests): Likewise.
2093 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2095         [BZ #19810]
2096         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2097         * elf/tst-noload.c: New test case.
2098         * elf/Makefile (tests): Add tst-noload.
2100 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2102         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2104         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2105         not any more.
2107         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2109 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2111         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2112         (do_cos_slow): Likewise.
2113         (do_sin): Likewise.
2114         (do_sin_slow): Likewise.
2115         (slow): Likewise.
2116         (slow1): Likewise.
2117         (slow2): Likewise.
2118         (sloww): Likewise.
2119         (sloww1): Likewise.
2120         (sloww2): Likewise.
2121         (bsloww): Likewise.
2122         (bsloww1): Likewise.
2123         (bsloww2): Likewise.
2124         (cslow2): Likewise.
2126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2128         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2129         arguments.  Consolidate input partitioning from callers here.
2130         (do_cos_slow): Likewise.
2131         (do_sin): Likewise.
2132         (do_sin_slow): Likewise.
2133         (do_sincos_1): Remove the no longer necessary input partitioning.
2134         (do_sincos_2): Likewise.
2135         (__sin): Likewise.
2136         (__cos): Likewise.
2137         (slow1): Likewise.
2138         (slow2): Likewise.
2139         (sloww1): Likewise.
2140         (sloww2): Likewise.
2141         (bsloww1): Likewise.
2142         (bsloww2): Likewise.
2143         (cslow2): Likewise.
2145 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2147         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2148         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2149         outside of allocated array.
2151 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2153         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2154         instead of MB_CUR_MAX to avoid variable-length array.
2156 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2158         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2159         (type-double-routines): Add k_rem_pio2.
2160         (type-float-routines): Add k_rem_pio2f.
2162         * sysdeps/generic/math_private.h:
2163         (__kernel_rem_pio2l): Removed.
2165         * math/k_rem_pio2l.c: Removed.
2166         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2167         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2168         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2169         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2171 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2173         * math/Makefile (gen-libm-calls): Add s_fmin
2174         (libm-calls): Remove above.
2176         * math/s_fmin.c: Refactor into ...
2177         * math/s_fmin_template.c: New file.
2179         * math/s_fminf.c: Removed.
2180         * math/s_fminl.c: Removed.
2181         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2182         (LDOUBLE_fmin_libm_version): New macro.
2184         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2185         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2187 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2189         * math/Makefile: (gen-libm-calls): Add s_fmax.
2190         (libm-calls): Remove above.
2192         * math/s_fmax.c: Refactor into ...
2193         * math/s_fmax_template.c: New file.
2194         * math/s_fmaxf.c: Removed.
2195         * math/s_fmaxl.c: Removed.
2197         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2198         (LDOUBLE_fmaxl_libm_version): New macro.
2200         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2201         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2203         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2204         s_fmin.c to pick the aarch64 version of the file.
2205         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2206         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2208 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2210         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2211         (libm-calls): Remove above.
2213         * math/s_nextdown.c: Refactor into ...
2214         * math/s_nextdown_template.c: New file.
2215         * math/s_nextdownf.c: Removed.
2216         * math/s_nextdownl.c: Removed.
2218         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2220 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2222         * math/Makefile (gen-libm-calls): Add s_fdim.
2223         (libm-calls): Move to above.
2225         * math/s_fdim.c: Renamed and refactored into to ...
2226         * math/s_fdim_template.c: New file.
2227         * math/s_fdiml.c: Removed.
2228         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2229         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2231         * sysdeps/generic/math-type-macros-double.h:
2232         (declare_mgen_alias): Don't declare if already declared.
2233         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2234         Likewise.
2236         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2237         (declare_mgen_alias): Don't declare if already declared.
2238         (M_LIBM_NEED_COMPAT): Likewise.
2239         (declare_mgen_libm_compat): Likewise.
2240         (LDOUBLE_fdiml_libm_version): New macro.
2242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2243         Include math/s_fdim.c now that ldbl-opt version is not needed.
2244         (declare_mgen_alias): New macro to disable aliasing.
2246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2247         (declare_mgen_alias): Likewise.
2248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2249         (declare_mgen_alias): Likewise.
2250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2251         (declare_mgen_alias): Likewise.
2252         (M_LIBM_NEED_COMPAT): Likewise.
2254 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2256         [BZ #20525]
2257         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2258         Include <linux/quota.h>.
2259         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2260         and btodb.
2261         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2262         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2263         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2264         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2265         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2266         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2267         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2268         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2269         types.
2270         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2271         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2273 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2275         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2276         (gammal_positive): Fix spacing.
2277         (__ieee754_gammal_r): Likewise.
2279 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2281         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2282         (_Float128): Define as long double, always.
2283         (L): Apply long double type suffix, always.
2285         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2286         _Float128, excepting comments.
2288         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2290         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2292         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2293         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2294         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2295         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2296         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2297         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2298         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2299         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2300         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2301         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2302         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2303         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2354         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2358         _Float128, and include math_private.h.
2359         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2362         long double semantics.
2363         (_Float128): Likewise.
2364         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2369 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2371         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2372         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2373         * sysdeps/s390/configure: Regenerated.
2374         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2375         instruction for raising over-/underflow if z196 zarch is supported
2376         by default.
2377         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2379 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2381         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2382         it point to a dumb buffer for RPC to fill it.
2384 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2386         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2387         instead of if/else.
2388         (do_sin_slow): Likewise.
2389         (do_sincos_1): Use fabs instead of if/else.
2390         (do_sincos_2): Likewise.
2391         (__sin): Likewise.
2392         (__cos): Likewise.
2393         (slow2): Likewise.
2394         (sloww): Likewise.
2395         (sloww1): Likewise.  Drop argument M.
2396         (sloww2): Use fabs instead of if/else.
2397         (bsloww): Likewise.
2398         (bsloww1): Likewise.
2399         (bsloww2): Likewise.
2401         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2402         fall through comment.
2403         (do_sincos_1): Likewise.
2405         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2406         Consolidate switch cases 0 and 2.
2408 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2410         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2411         (libm-calls): Remove the above.
2413         * math/s_cexp_template.c: Update using type-generic macros.
2414         * math/s_clog10_template.c: Likewise.
2415         * math/s_cpow_template.c: Likewise.
2416         * math/s_clog_template.c: Likewise.
2417         * math/s_cproj_template.c: Likewise.
2418         * math/s_csqrt_template.c: Likewise.
2420         * math/s_cexp.c: Removed.
2421         * math/s_cexpf.c: Removed.
2422         * math/s_cexpl.c: Removed.
2423         * math/s_clog10.c: Removed.
2424         * math/s_clog10f.c: Removed.
2425         * math/s_clog10l.c: Removed.
2426         * math/s_cpow.c: Removed.
2427         * math/s_cpowf.c: Removed.
2428         * math/s_cpowl.c: Removed.
2429         * math/s_clog.c: Removed.
2430         * math/s_clogf.c: Removed.
2431         * math/s_clogl.c: Removed.
2432         * math/s_cproj.c: Removed.
2433         * math/s_cprojf.c: Removed.
2434         * math/s_cprojl.c: Removed.
2435         * math/s_csqrt.c: Removed.
2436         * math/s_csqrtf.c: Removed.
2437         * math/s_csqrtl.c: Removed.
2439         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2440         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2441         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2442         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2443         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2444         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2446         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2447         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2448         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2449         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2450         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2451         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2452         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2453         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2454         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2455         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2456         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2458         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2459         version.
2461         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2462         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2463         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2464         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2466 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2468         * s_cexp_template.c: Copy of s_cexp.c.
2469         * s_clog_template.c: Copy of s_clog.c.
2470         * s_clog10_template.c: Copy of s_clog10.c.
2471         * s_cpow_template.c: Copy of s_cpow.c.
2472         * s_cproj_template.c: Copy of s_cproj.c.
2473         * s_csqrt_template.c: Copy of s_csqrt.c.
2475 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2477         [BZ #20517]
2478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2479         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2480         exported.
2482 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2484         * math/fetestexceptflag.c: New file.
2485         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2486         Stefan Liebler.
2487         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2488         (fetestexceptflag): New function declaration.
2489         * manual/arith.texi (fetestexceptflag): Document function.
2490         * math/Versions (fetestexceptflag): New libm symbol at version
2491         GLIBC_2.25.
2492         * math/Makefile (libm-support): Add fetestexceptflag.
2493         (tests): Add test-fetestexceptflag.
2494         * math/test-fetestexceptflag.c: New file.
2495         * sysdeps/nacl/libm.abilist: Update.
2496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2509         Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2511         Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2515         Likewise.
2516         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2517         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2522         Likewise.
2523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2524         Likewise.
2525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2526         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2527         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2529 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2531         [BZ #20432]
2532         Avoid strong references to malloc-internal symbols when linking
2533         statically, to support statically interposed mallocs.
2534         * include/libc-symbols.h (call_function_static_weak): New macro.
2535         * malloc/Makefile (tests): Add tst-interpose-nothread,
2536         tst-interpose-thread, tst-interpose-static-nothread,
2537         tst-interpose-static-thread.
2538         (tests-static): Add tst-interpose-static-nothread,
2539         tst-interpose-static-thread.
2540         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2541         tst-interpose-aux-thread.o.
2542         (test-extras): Add tst-interpose-aux-nothread,
2543         tst-interpose-aux-thread.
2544         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2545         tst-interpose-aux-nothread.o.
2546         (tst-interpose-thread, tst-interpose-static-thread): Link with
2547         tst-interpose-aux-thread.o and libthread.
2548         * malloc/tst-interpose-aux-nothread.c: New file.
2549         * malloc/tst-interpose-aux-thread.c: Likewise.
2550         * malloc/tst-interpose-aux.c: Likewise.
2551         * malloc/tst-interpose-aux.h: Likewise.
2552         * malloc/tst-interpose-nothread.c: Likewise.
2553         * malloc/tst-interpose-skeleton.c: Likewise.
2554         * malloc/tst-interpose-static-nothread.c: Likewise.
2555         * malloc/tst-interpose-static-thread.c: Likewise.
2556         * malloc/tst-interpose-thread.c: Likewise.
2557         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2558         * sysdeps/mach/hurd/fork.c (__fork): Only call
2559         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2560         __malloc_fork_unlock_child if defined.
2561         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2563 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2565         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2566         timespec C99 designated initialization.
2568 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2570         [BZ #19946]
2571         Avoid expected SIGALRM signals.
2572         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2573         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2574         (xpthread_create, xpthread_detach, xpthread_join)
2575         (delayed_exit_thread, delayed_exit): New functions.
2576         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2577         (tf): Use xpthread_cond_wait.
2578         (do_test): Likewise.  Replace alarm with delayed_exit.
2579         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2580         (do_test): Call delayed_exit.  Report failure.
2581         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2582         (do_test): Call delayed_exit.
2583         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2584         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2585         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2586         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2587         error.
2588         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2589         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2590         error.
2591         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2592         (do_test): Call delayed_exit.
2593         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2594         (do_test): Call delayed_exit.
2595         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2596         (do_test): Call delayed_exit instead of alarm.  Use
2597         xpthread_mutex_lock.
2598         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2599         (do_test): Call delayed_exit instead of alarm.  Use
2600         xpthread_mutex_lock.
2601         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2602         (do_test): Call delayed_exit instead of alarm.
2603         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2604         (do_test): Call delayed_exit instead of alarm.  Use
2605         xpthread_spin_lock.
2606         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2607         (do_test): Call delayed_exit instead of alarm.  Use
2608         xpthread_join.
2610 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2612         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2613         adjust CFA when allocating register save area on re-aligned
2614         stack.
2616 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2618         * string/tst-cmp.c: New test.
2619         * string/Makefile (tests): Add it.
2621 2016-08-25  Mark Wielaard  <mark@klomp.org>
2623         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2624         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2625         (check_tree_recurse): Use newly defined accessors.
2626         (check_tree): Likewise.
2627         (maybe_split_for_insert): Likewise.
2628         (__tfind): Likewise.
2629         (__tdelete): Likewise.
2630         (trecurse): Likewise.
2631         (tdestroy_recurse): Likewise.
2632         (__tsearch): Likewise. And add asserts for malloc alignment.
2633         (__twalk): Cast root to node in case CHECK_TREE is defined.
2635 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2637         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2639 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2641         * math/Makefile (libm-gen-calls): Add
2642         catan, catanh, ctan, ctanh.
2643         (libm-calls): Remove the above.
2645         * math/s_catan_template.c: Update using type-generic macros.
2646         * math/s_catanh_template.c: Likewise.
2647         * math/s_ctan_template.c: Likewise.
2648         * math/s_ctanh_template.c: Likewise.
2650         * math/s_catanf.c: Removed.
2651         * math/s_catan.c: Removed.
2652         * math/s_catanl.c: Removed.
2653         * math/s_catanhf.c: Removed.
2654         * math/s_catanh.c: Removed.
2655         * math/s_catanhl.c: Removed.
2656         * math/s_ctanf.c: Removed.
2657         * math/s_ctan.c: Removed.
2658         * math/s_ctanl.c: Removed.
2659         * math/s_ctanhf.c: Removed.
2660         * math/s_ctanh.c: Removed.
2661         * math/s_ctanhl.c: Removed.
2663         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2664         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2665         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2666         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2667         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2668         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2670         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2671         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2672         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2673         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2675 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2677         * s_catan_template.c: Copy of s_catan.c.
2678         * s_catanh_template.c: Copy of s_catanh.c.
2679         * s_ctan_template.c: Copy of s_ctan.c.
2680         * s_ctanh_template.c: Copy of s_ctanh.c.
2682 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2684         * math/Makefile (gen-libm-calls): Move
2685         casin, casinh, csin, csinh here.
2686         (libm-calls): Remove the above.
2688         * math/s_casin_template.c: Update using type-generic macros.
2689         * math/s_casinh_template.c: Likewise.
2690         * math/s_csin_template.c: Likewise.
2691         * math/s_csinh_template.c: Likewise.
2692         * math/k_casinh_template.c: Likewise.
2694         * math/s_casinf.c: Removed.
2695         * math/s_casin.c: Removed.
2696         * math/s_casinl.c: Removed.
2697         * math/s_casinh.c: Removed.
2698         * math/s_casinhf.c: Removed.
2699         * math/s_casinhl.c: Removed.
2700         * math/s_csin.c: Removed.
2701         * math/s_csinf.c: Removed.
2702         * math/s_csinl.c: Removed.
2703         * math/s_csinh.c: Removed.
2704         * math/s_csinhf.c: Removed.
2705         * math/s_csinhl.c: Removed.
2706         * math/k_casinh.c: Removed.
2707         * math/k_casinhf.c: Removed.
2708         * math/k_casinhl.c: Removed.
2710         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2711         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2712         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2713         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2715         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2716         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2717         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2718         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2719         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2720         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2721         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2722         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2724         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2725         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2726         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2727         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2729         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2730         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2731         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2732         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2734 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2736         * s_casin_template.c: Copy of s_casin.c.
2737         * s_casinh_template.c: Copy of s_casinh.c.
2738         * s_csin_template.c: Copy of s_csin.c.
2739         * s_csinh_template.c: Copy of s_csinh.c.
2740         * k_casinh_template.c: Copy of k_casinh.c.
2742 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2744         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2746 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2748         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2749         (mul_split) Remove, rename as mul_splitl, remove
2750         redundant float.h include, and include via mul_splitl.h
2752         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2753         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2754         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2755         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2756         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2758         * math/mul_splitl.h: New file.
2760         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2761         Move into mul_split.h, and remove redundant float.h include.
2763         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2765         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2766         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2768         * math/mul_split.h: New file.
2770 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2772         * math/Makefile (libm-gen-calls): Move
2773         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2774         (libm-calls): Remove above.
2776         * math/s_cacos_template.c: Update using type-generic macros.
2777         * math/s_cacosh_template.c: Likewise.
2778         * math/s_ccos_template.c: Likewise.
2779         * math/s_ccosh_template.c: Likwise.
2781         * math/s_cacosf.c: Removed.
2782         * math/s_cacos.c: Removed.
2783         * math/s_cacosl.c: Removed.
2784         * math/s_cacoshf.c: Removed.
2785         * math/s_cacosh.c: Removed.
2786         * math/s_cacoshl.c: Removed.
2787         * math/s_ccosf.c: Removed.
2788         * math/s_ccos.c: Removed.
2789         * math/s_ccosl.c: Removed.
2790         * math/s_ccoshf.c: Removed.
2791         * math/s_ccosh.c: Removed.
2792         * math/s_ccoshl.c: Removed.
2794         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2795         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2796         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2797         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2798         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2799         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2801         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2802         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2803         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2804         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2806         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2807         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2808         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2809         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2811 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2813         * s_cacos_template.c: Copy of s_cacos.c.
2814         * s_cacosh_template.c: Copy of s_cacosh.c.
2815         * s_ccos_template.c: Copy of s_ccos.c.
2816         * s_ccosh_template.c: Copy of s_ccosh.c.
2818 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2820         * stdlib/tst-strtod-round-skeleton.c:
2821         Refactored from tst-strtod-round.c.
2823         (L_): New macro to apply literal modifier.
2824         (FNPFX): New macro to select str or wcs prefix.
2825         (CHAR): New macro to choose wchar_t or char.
2826         (STRM): New macro to choose printf for tested character type.
2828         (STRTO): New macro to choose appropriate string -> real function.
2829         (FNPFXS): Stringitized version of FNPFX.
2830         (STR): Support for above macro.
2831         (STRX): Likewise.
2833         (TEST): Update with above macros.
2834         (test): Likewise.
2835         (GEN_ONE_TEST): Likewise.
2836         (test_in_one_mode): Likewise.
2838         * stdlib/tst-strtod-round.c: New file.
2839         * wcsmbs/tst-wcstod-round.c: New file.
2841         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2842         (tst-wcstod-round): Add libm depencency for fesetround.
2844 2016-08-19  Zack Weinberg  <zackw@panix.com>
2846         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2848 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2850         [BZ #20477]
2851         * resolv/res_hconf.c (do_init): Use atomic access.
2852         * resolv/res_hconf.h: Add comments.
2853         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2854         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2857 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2860         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2862         Likewise.
2864 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2866         [BZ #16907]
2867         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2868         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2869         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2870         (__attribute__): Remove definition.
2872 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2874         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2875         Remove unused sqrtl declaration.
2877 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2879         * math/Makefile: (gen-libm-templates.stmp): New rule.
2880         (libm-calls): Move carg conj cimag and cabs into ...
2881         (gen-libm-calls): New variable.
2882         (generated): Inform Make objects from gen-libm-calls
2883         may be generated.
2885         * sysdeps/generic/math-type-macros.h: New file.
2886         * sysdeps/generic/math-type-macros-float.h: Likewise.
2887         * sysdeps/generic/math-type-macros-double.h: Likewise.
2888         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2889         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2890         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2892         * math/cabs.c: Refactor into
2893         * math/cabs_template.c: new file.
2894         * math/cabsf.c: Removed.
2895         * math/cabsl.c: Removed.
2896         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2897         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2899         * math/carg.c: Refactor into
2900         * math/carg_template.c: new file.
2901         * math/cargf.c: Removed.
2902         * math/cargl.c: Removed.
2903         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2904         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2906         * math/conj.c: Refactor into
2907         * math/conj_template.c: new file.
2908         * math/conjf.c: Removed.
2909         * math/conjl.c: Removed.
2910         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2911         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2913         * math/cimag.c: Refactor into
2914         * math/cimag_template.c: new file.
2915         * math/cimagf.c: Removed.
2916         * math/cimagl.c: Removed.
2917         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2918         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2920         * math/cimag.c: Refactor into
2921         * math/cimag_template.c: new file.
2922         * math/cimagf.c: Removed.
2923         * math/cimagl.c: Removed.
2924         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2925         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2927 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2929         Reduce time to expected nptl/tst-once5 failure.
2930         * nptl/tst-once5.cc (TIMEOUT): Define.
2932 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2934         [BZ #20452]
2935         Avoid additional copies of objects in libc.a in static libraries.
2936         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2937         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2938         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2939         rt-sysdep.
2940         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2941         Add nptl-sysdep.
2942         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2943         Add ptw-sysdep.
2944         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2945         rt-sysdep.
2946         * sysdeps/unix/sysv/linux/alpha/Makefile
2947         (libpthread-shared-only-routines): Add ptw-sysdep,
2948         ptw-sigprocmask, ptw-rt_sigaction.
2949         * sysdeps/unix/sysv/linux/ia64/Makefile
2950         (librt-shared-only-routines): Add rt-sysdep.
2951         * sysdeps/unix/sysv/linux/i386/Makefile
2952         (libpthread-shared-only-routines): Add libc-do-syscall.
2953         * sysdeps/unix/sysv/linux/microblaze/Makefile
2954         (libpthread-shared-only-routines): Add sysdep.
2955         * sysdeps/unix/sysv/linux/powerpc/Makefile
2956         (librt-shared-only-routines): Add rt-sysdep.
2957         (libpthread-shared-only-routines): Add sysdep.
2958         * sysdeps/unix/sysv/linux/s390/Makefile
2959         (librt-shared-only-routines): Add rt-sysdep.
2960         * sysdeps/unix/sysv/linux/sparc/Makefile
2961         (librt-shared-only-routines): Add rt-sysdep.
2962         (libpthread-shared-only-routines): Add sysdep.
2963         * sysdeps/unix/sysv/linux/tile/Makefile
2964         (libpthread-shared-only-routines): Likewise.
2966 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2968         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2969         Mask implicit bit out of unpacked value.
2970         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2974         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2976         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2978         * sysdeps/s390/fpu/fesetexcept.c: New file.
2980         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2981         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2982         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2984         * sysdeps/mips/fpu/fesetexcept.c: New file.
2986         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2988         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2990         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2992         * sysdeps/arm/fesetexcept.c: New file.
2994         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2996         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2998         * math/fesetexcept.c: New file.
2999         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3000         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3001         * math/fenv.h: Define
3002         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3003         <bits/libc-header-start.h> instead of including <features.h>.
3004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3005         declaration.
3006         * manual/arith.texi (fesetexcept): Document function.
3007         * math/Versions (fesetexcept): New libm symbol at version
3008         GLIBC_2.25.
3009         * math/Makefile (libm-support): Add fesetexcept.
3010         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3011         * math/test-fesetexcept.c: New file.
3012         * math/test-fesetexcept-traps.c: Likewise.
3013         * sysdeps/nacl/libm.abilist: Update.
3014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3017         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3018         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3019         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3020         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3021         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3022         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3024         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3027         Likewise.
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3029         Likewise.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3031         Likewise.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3033         Likewise.
3034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3040         Likewise.
3041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3047 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3049         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3050         New.
3051         (do_test): Apply default_stack_size_in_mb if not set.
3052         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3054 2016-08-15  Andreas Schwab  <schwab@suse.de>
3056         [BZ #20435]
3057         CVE-2016-6323
3058         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3059         as .cantunwind.
3061 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3063         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3064         comment from fraiseexcpt.c.
3066         * math/test-fexcept.c (feraiseexcept_exact): New function.
3067         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3068         (test_except): Likewise.
3070 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3072         [BZ #20455]
3073         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3074         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3075         to be restored.
3077         * math/test-fexcept-traps.c: New file.
3078         * math/test-fexcept.c: Likewise.
3079         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3080         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3081         macro.
3082         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3083         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3085 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3087         * include/atomic.h (atomic_fetch_and_relaxed,
3088         atomic_fetch_and_release, atomic_fetch_or_release,
3089         atomic_fetch_xor_release): New.
3091 2016-08-06  Christian Seiler  <christian@iwakd.de>
3093         [BZ #20444]
3094         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3095         MACH_PORT_NULL.
3097 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3099         * math/s_fdim.c: Avoid alias renamed.
3100         * math/s_fdimf.c: Likewise.
3101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3102         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3103         Add s_fdimf-vis3, s_fdim-vis3.
3104         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3105         (CFLAGS-s_fdim-vis3.c): Likewise.
3106         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3107         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3109 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3112         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3113         Remove s_fdimf-vis3, s_fdim-vis3.
3114         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3115         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3122         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3123         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3125 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3127         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3128         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3129         -Wa,-Av9a -mvis.
3131 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3133         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3134         LIT() to individual constants in simple expressions
3135         after splitting on spaces.
3136         (_apply_lit): Rename replaced version, and use it to
3137         apply to what appears to be a token.
3139         * math/libm-test.inc: Fix many, many issues with
3140         spacing.
3142 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3144         * math/math.h: Move comment about <bits/mathdef.h> definitions
3145         above inclusion of <bits/mathdef.h>.  Do not mention
3146         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3148 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3150         * include/atomic.h (atomic_exchange_relaxed): New.
3152 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3154         * math/e_scalb.c: Do not include <fenv.h>.
3155         (invalid_fn): Do calculation resulting in NaN instead of raising
3156         FE_INVALID and returning a NaN explicitly.
3157         * math/e_scalbf.c: Do not include <fenv.h>.
3158         (invalid_fn): Do calculation resulting in NaN instead of raising
3159         FE_INVALID and returning a NaN explicitly.
3160         * math/e_scalbl.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.
3164 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3166         * po/de.po: Updated from Translation Project.
3167         * po/fi.po: Likewise.
3168         * po/sv.po: Likewise.
3170 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3172         [BZ #20452]
3173         Use sysdep.o from libc.a in static libraries.
3174         * sysdeps/unix/sysv/linux/i386/Makefile
3175         (libpthread-shared-only-routines): Add sysdep.
3176         (librt-shared-only-routines): Likewise.
3178 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3180         * math/tgmath.h (nextdown): Define if
3181         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3182         (nextup): Likewise.
3184         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3185         macro.
3186         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3187         Document.
3188         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3189         Document macro.
3190         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3191         (exp10f): Likewise.
3192         (exp10l): Likewise.
3193         * math/bits/mathcalls.h (exp10): Declare if
3194         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3196         * manual/arith.texi (nextup): Fix typo in last change.
3198 2016-08-03  Zack Weinberg  <zackw@panix.com>
3200         [BZ #19239]
3201         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3202         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3203         define major, minor, and makedev to issue deprecation warnings on use.
3204         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3205         previously-activated deprecation warnings for these macros and prevent
3206         subsequent inclusions of this header from having any effect.
3207         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3208         including <sys/sysmacros.h>, and undefine it again afterward.
3210 2016-08-03  Zack Weinberg  <zackw@panix.com>
3212         * sysdeps/generic/sys/sysmacros.h: Delete file.
3213         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3214         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3215         * bits/sysmacros.h: ... here; this encoding is now the generic
3216         encoding.  Now defines only the following macros:
3217         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3218         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3219         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3221         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3222         bits/sysmacros.h and the above new macros to generate the
3223         public implementations of major, minor, and makedev.
3224         * misc/tst-makedev.c: New test.
3225         * include/sys/sysmacros.h: New wrapper.
3227         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3228         (routines): Add makedev.
3229         (tests): Add tst-makedev.
3230         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3231         gnu_dev_makedev.
3232         * posix/Makefile (headers): Remove sys/sysmacros.h.
3233         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3235         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3236         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3237         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3238         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3239         * sysdeps/unix/sysv/linux/arm/libc.abilist
3240         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3241         * sysdeps/unix/sysv/linux/i386/libc.abilist
3242         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3243         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3244         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3245         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3247         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3250         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3255         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3257         * sysdeps/unix/sysv/linux/sh/libc.abilist
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3259         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3262         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3263         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3264         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3265         Add GLIBC_2.25.
3267         * include/features.h (__glibc_clang_prereq): New macro.
3268         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3269         (__attribute_deprecated_msg__): New macros.
3271 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3273         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3274         macro.
3275         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3276         * manual/arith.texi (issignaling): Document as ISO from TS
3277         18661-1:2014.
3278         (nextup): Likewise.
3279         (nextupf): Likewise.
3280         (nextupl): Likewise.
3281         (nextdown): Likewise.
3282         (nextdownf): Likewise.
3283         (nextdownl): Likewise.
3284         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3285         macro.
3286         * math/math.h: Define
3287         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3288         <bits/libc-header-start.h> instead of including <features.h>.
3289         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3290         [__USE_GNU].
3291         * math/bits/mathcalls.h (nextdown): Declare if
3292         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3293         (nextup): Likewise.
3294         (__issignaling): Likewise.
3296 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3298         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3299         check, and remove __glibc_likely hint
3300         from FP_INFINITE check.
3301         * s_csinhf.c (__csinhf): Likewise.
3303         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3304         hint from FP_INFINITE check.
3305         * s_csinhl.c (__csinhl): Likewise.
3307 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3309         * math/Makefile (libm-calls): Insert F placeholder into
3310         object names.  Move w_lgamma_compat* routines into
3311         (libm-compat-calls): New variable.
3312         (libm-compat-calls-ldouble-yes): New variable.
3313         (calls): Insert F placeholder.
3314         (generated): Redefine using new type-foreach macro call.
3315         (routines): Likewise.
3317         (types): New variable to hold a list of symbolic names
3318         for each type supported by the target machine.
3319         (libm-routines): Redefine using new types variable.
3320         (type-foreach): macro to replace fooF with the
3321         appropriately suffixed foo for each types.
3323         (type-ldouble-suffix): New variable.
3324         (type-ldouble-routines): Likewise.
3325         (type-ldouble-yes): Likewise.
3326         (type-double-suffix): Likewise.
3327         (type-double-routines): Likewise.
3328         (type-float-suffix): Likewise.
3329         (type-float-routines): Likewise.
3331         (dbl-only-routines): Remove.
3332         (long-c-yes): Likewise.
3333         (long-m-routines): Likewise.
3334         (long-m-support): Likewise.
3335         (long-m-yes): Likewise.
3336         (test-longdouble-yes): Likewise.
3338         (test-float.o): Simplify by increasing the scope of the
3339         recipe which adds libm-test.stmp to the vector types.
3340         (test-ifloat.o): Likewise.
3341         (test-float-finite.o): Likewise.
3342         (test-double.o): Likewise
3343         (test-idouble.o): Likewise.
3344         (test-double-finite.o): Likewise.
3345         (test-ldouble.o): Likewise
3346         (test-ildoubl.o): Likewise.
3347         (test-ldouble-finite.o): Likewise.
3349         (libm-tests): Redefine type tests using foreach and the
3350         list of types in types.
3352         (CPPFLAGS-test-ildoubl.c): Rename to
3353         (CPPFLAGS-test-ildouble.c): New variable
3355         * math/test-ildoubl.c: Rename to
3356         * math/test-ildouble.c: New file.
3358 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3360         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3361         Use fabsl instead of fabs.
3362         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3363         Likewise.
3364         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3365         Add long double suffix to constant to ensure proper
3366         promotion to long double.
3368 2016-08-03  Tom Tromey  <tom@tromey.com>
3370         [BZ #20311]
3371         * nptl_db/Makefile (headers): Add proc_service.h.
3372         * nptl_db/proc_service.h: Add include guard.  Use
3373         __BEGIN/__END_DECLS.
3374         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3375         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3376         arguments.
3379 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3381         [BZ #17730]
3382         Avoid using memalign for TCB allocations.
3383         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3384         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3385         Avoid alignment gap in the TLS_DTV_AT_TP case.
3386         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3387         determine the pointer to free.
3388         * nptl/tst-tls3-malloc.c: New test.
3389         * nptl/Makefile (tests): Add it.
3390         (tst-tls3-malloc): Link with libdl, libpthread.
3391         (LDFLAGS-tst-tls3-malloc): Set.
3392         (tst-tls3-malloc.out): Depend on DSO used in test.
3394 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3396         [BZ #17730]
3397         Avoid using memalign for TLS allocations.
3398         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3399         is_static member with to_free member.
3400         (union dtv): Use struct dtv_pointer.
3401         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3402         dtv_pointer instead of is_static.
3403         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3404         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3405         instead of val.
3406         (allocate_dtv_entry): New function.
3407         (allocate_and_init): Return struct dtv_pointer.  Call
3408         allocate_dtv_entry instead of __libc_memalign.
3409         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3410         instead of val.
3411         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3412         instead of is_static.  Adjust call to allocate_and_init.
3413         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3414         struct dtv_pointer instead of val.
3416 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3418         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3419         (MALLOC_ALIGN_MASK): Move ...
3420         * malloc/malloc-internal.h: ... to here.
3421         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3423 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3425         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3426         (UDP_ENCAP_GTP1U): Likewise.
3428         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3429         (PF_MAX): Update value.
3430         (AF_QIPCRTR): New macro.
3432 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3434         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3435         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3436         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3437         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3438         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3439         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3440         s_truncf-vis3, s_trunc-vis3.
3441         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3442         (CFLAGS-s_ceil-vis3.c): Likewise.
3443         (CFLAGS-s_floorf-vis3.c): Likewise.
3444         (CFLAGS-s_floor-vis3.c): Likewise.
3445         (CFLAGS-s_truncf-vis3.c): Likewise.
3446         (CFLAGS-s_trunc-vis3.c): Likewise.
3447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3455         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3456         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3457         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3458         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3460 2016-08-02  David S. Miller  <davem@davemloft.net>
3462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3463         (__nearbyint_vis3): Don't check for sNaN before float register is
3464         loaded with the incoming argument.
3465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3466         (__nearbyintf_vis3): Likewise.
3467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3468         Likewise.
3469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3470         Likewise.
3472         * string/test-strncmp.c (do_test_limit): Make sure the test data
3473         stream is aligned as required for the type "CHAR".
3474         (do_test): Likewise.
3476 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3478         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3479         by beq instructions jumping to the end of the function.
3480         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3481         clobber list. Use "i" constraint instead of "X".
3482         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3483         of "X".
3485 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3487         * bits/libc-header-start.h: New file.
3488         * Makefile (headers): Add bits/libc-header-start.h.
3489         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3490         (__GLIBC_USE): New macro.
3491         * libio/stdio.h: Define
3492         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3493         <bits/libc-header-start.h> instead of including <features.h>.
3494         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3495         (open_memstream): Likewise.
3496         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3497         (__asprintf): Likewise.
3498         (asprintf): Likewise.
3499         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3500         (getdelim): Likewise.
3501         (getline): Likewise.
3502         * string/string.h: Define
3503         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3504         <bits/libc-header-start.h> instead of including <features.h>.
3505         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3506         (strndup): Likewise.
3507         * wcsmbs/wchar.h: Define
3508         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3509         <bits/libc-header-start.h> instead of including <features.h>.
3510         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3511         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3513 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3515         Support linking against compatibility symbols, for use in tests.
3516         * include/libc-symbols.h (symbol_version_reference): New macro.
3517         (symbol_version): Use it.
3518         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3519         (compat_symbol): Use compat_symbol_reference.
3520         (compat_symbol_1, compat_symbol_2): Remove.
3521         (compat_symbol_reference, compat_symbol_reference_1)
3522         (compat_symbol_reference_2): New macro.  Use
3523         symbol_version_reference.
3525 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3527         [BZ #19469]
3528         * malloc/Makefile (CPPFLAGS): Compile tests with
3529         -DTEST_NO_MALLOPT.
3530         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3532 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3534         [BZ #20033]
3535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3536         finite version.
3537         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3539         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3540         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3541         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3544         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3548         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3551         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3554         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3555         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3556         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3557         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3558         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3559         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3560         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3561         in zero power.
3563 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3565         [BZ #20370]
3566         * malloc/arena.c (get_free_list): Update comment.  Assert that
3567         arenas on the free list have no attached threads.
3568         (remove_from_free_list): New function.
3569         (reused_arena): Call it.
3571 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3573         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3574         when it is a NaN.
3575         [_IEEE_FP_INEXACT] Remove.
3576         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3577         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3578         when it is a NaN.
3579         [_IEEE_FP_INEXACT] Remove.
3580         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3581         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3582         when it is a NaN.
3583         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3584         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3585         when its absolute value is greater than 0x1.0p52.
3586         [_IEEE_FP_INEXACT] Remove.
3587         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3588         when its absolute value is greater than 0x1.0p23.
3589         [_IEEE_FP_INEXACT] Remove.
3591 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3593         * version.h (RELEASE): Set to "development"
3594         (VERSION): Set to 2.24.90.
3595         * NEWS: Add 2.25 section.
3597         * version.h (RELEASE): Set to "stable"
3598         (VERSION): Set to 2.24.
3599         * include/features.h (__GLIBC_MINOR__): Set to 24.
3601         * NEWS: Add 2.24 fixed bugs.
3602         * po/libc.pot: Regenerate.
3604 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3607         [$(subdir) = math] (libm-sysdep_routines): Remove.
3608         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3609         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3610         s_truncf-vis3, s_trunc-vis3.
3611         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3613         file.
3614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3647         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3649         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3650         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3651         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3652         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3653         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3654         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3655         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3656         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3658 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3660         [BZ #20384]
3661         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3662         test-double-libmvec-sincos-avx-main.o,
3663         test-double-libmvec-sincos-avx2-main.o,
3664         test-double-libmvec-sincos-main.o,
3665         test-float-libmvec-sincosf-avx-main.o,
3666         test-float-libmvec-sincosf-avx2-main.o and
3667         test-float-libmvec-sincosf-main.o.
3668         test-float-libmvec-sincosf-avx512-main.o.
3669         ($(objpfx)test-double-libmvec-sincos): Also link with
3670         $(objpfx)test-double-libmvec-sincos-main.o.
3671         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3672         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3673         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3674         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3675         ($(objpfx)test-float-libmvec-sincosf): Also link with
3676         $(objpfx)test-float-libmvec-sincosf-main.o.
3677         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3678         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3679         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3680         test-double-libmvec-sincos-avx512-main.o and
3681         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3682         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3683         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3684         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3685         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3686         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3687         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3688         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3689         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3690         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3691         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3692         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3693         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3694         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3695         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3696         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3697         -DREQUIRE_AVX2.
3698         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3699         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3700         -DREQUIRE_AVX512F.
3701         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3702         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3703         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3704         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3705         file.
3706         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3707         Likewise.
3708         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3709         Likewise.
3710         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3711         Likewise.
3712         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3713         Likewise.
3714         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3715         Likewise.
3716         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3717         Likewise.
3718         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3719         Likewise.
3721 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3723         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3725 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3727         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3728         and typo in a comment about AT_HWCAP entry.
3730 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3732         * sysdeps/aarch64/libm-test-ulps: Updated.
3734 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3736         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3737         of r13 as it is not restored in mvcle case.
3739 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3741         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3742         Rename "ret" to "__ret".
3743         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3744         inline_syscall5, inline_syscall6): Likewise.
3746 2016-07-19   Will Newton  <will.newton@gmail.com>
3748         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3749         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3750         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3751         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3752         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3754 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3756         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3757         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3758         -mfpmath=387 with $(rtld-CFLAGS).
3759         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3760         $(rtld-CFLAGS).
3762 2016-07-18   Ross Burton  <ross.burton@intel.com>
3763              Khem Raj  <raj.khem@gmail.com>
3765         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3766         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3767         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3768         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3769         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3770         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3771         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3772         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3773         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3774         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3775         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3776         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3777         R_METAG_TLS_DTPOFF): New.
3779 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3780             Matt Clay  <mclay@lycos.com>
3782         [BZ #20357]
3783         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3784         to call __mpsin/__mpcos and to negate values.
3785         * math/auto-libm-test-in: Add test.
3786         * math/auto-libm-test-out: Regenerate.
3788 2016-07-18  Zack Weinberg  <zackw@panix.com>
3790         * grp/Makefile: Don't install the internal header grp-merge.h.
3792 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3794         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3796 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3798         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3800 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3802         [BZ #15368]
3803         * sysdeps/unix/sysv/linux/nptl-signals.h
3804         (__nptl_clear_internal_signals): New function.
3805         (__libc_signal_block_all): Likewise.
3806         (__libc_signal_block_app): Likewise.
3807         (__libc_signal_restore_set): Likewise.
3808         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3809         implementation.
3810         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3811         the cached pid/tid value in pthread structure.
3813 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3815         [BZ #20347]
3816         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3818 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3820         [BZ #20348]
3821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3822         preadv64, pwrite64 and pwritev64.
3824 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3826         [BZ #20350]
3827         * posix/tst-preadwrite.c: Renamed to ...
3828         * posix/tst-preadwrite-common.c: This.
3829         (PREAD): Removed.
3830         (PWRITE): Likewise.
3831         (STRINGIFY): Likewise.
3832         (STRINGIFY2): Likewise.
3833         (do_prepare): Make it static and remove function arguments.
3834         (do_test): Likewise.
3835         (PREPARE): Updated.
3836         (TEST_FUNCTION): New.
3837         (name): Make it static.
3838         (fd): Likewise.
3839         (do_prepare): Use create_temp_file.
3840         (do_test): Renamed to ...
3841         (do_test_with_offset): This.  Make it static and accept offset.
3842         Properly check return value of PWRITE and PREAD.  Return bytes
3843         read.  Don't close fd nor unlink name.
3844         * posix/tst-preadwrite.c: Rewrite.
3845         * posix/tst-preadwrite64.c: Likewise.
3847 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3849         [BZ #20309]
3850         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3851         -mtls-dialect=gnu2 works.
3852         * configure: Regenerated.
3853         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3854         (tests): Add tst-gnu2-tls1.
3855         (modules-names): Add tst-gnu2-tls1mod.
3856         ($(objpfx)tst-gnu2-tls1): New.
3857         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3858         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3859         * elf/tst-gnu2-tls1.c: New file.
3860         * elf/tst-gnu2-tls1mod.c: Likewise.
3861         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3862         bytes for push in the PLT entry to align the stack.
3864 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3866         [BZ #20349]
3867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3869 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3871         [BZ #18707]
3872         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3873         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3875 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3877         * sysdeps/unix/sysv/linux/sysdep.h
3878         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3879         guards.
3880         * misc/tst-preadvwritev-common.c: New file.
3881         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3882         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3883         a check for files larger than 2GB.
3885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3886         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3887         * sysdeps/unix/sysv/linux/pread.c
3888         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3889         __OFF_T_MATCHES_OFF64_T.
3890         * sysdeps/unix/sysv/linux/pread64.c
3891         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3892         * sysdeps/unix/sysv/linux/preadv.c
3893         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3894         * sysdeps/unix/sysv/linux/preadv64.c
3895         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3896         * sysdeps/unix/sysv/linux/pwrite.c
3897         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3898         * sysdeps/unix/sysv/linux/pwrite64.c
3899         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3900         * sysdeps/unix/sysv/linux/pwritev.c
3901         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3902         * sysdeps/unix/sysv/linux/pwritev64.c
3903         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3905 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3907         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3908         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3910 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3912         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3914 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3916         [BZ #20240]
3917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3918         (CFLAGS-s_modf-ppc32.c): New variable.
3919         (CFLAGS-s_modff-ppc32.c): Likewise.
3920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3921         (CFLAGS-s_modf-ppc64.c): Likewise.
3922         (CFLAGS-s_modff-ppc64.c): Likewise.
3924 2016-07-07  Andreas Schwab  <schwab@suse.de>
3926         [BZ #20263]
3927         * nptl/tst-robust10.c: New test.
3928         * nptl/Makefile (tests): Add tst-robust10.
3930 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3932         [BZ #20263]
3933         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3935 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3937         * sysdeps/s390/linkmap.h (struct link_map_machine):
3938         Remove member gotplt and add member jmprel.
3939         * sysdeps/s390/s390-32/dl-machine.h
3940         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3941         instead of gotplt with &got[3].
3942         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3943         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3945 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3947         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3949 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3951         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3952         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3953         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3954         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3955         * libio/vtables.c (_IO_vtable_check)
3956         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3957         * libio/libioP.h (IO_set_accept_foreign_vtables)
3958         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3960 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3962         [BZ #20314]
3963         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3964         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3965         $(common-objpfx)cmath.
3966         ($(common-objpfx)cstdlib): New target.
3967         ($(common-objpfx)cmath): Likewise.
3969 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3971         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3973 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3975         [BZ #20327]
3976         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3977         are not part of the string.
3979 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3981         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3982         * nptl/tst-cancel4-common.h (fifoname): New variable.
3983         (fifofd): Likewise.
3984         (cl_fifo): New function.
3985         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3986         SIGINT.
3987         (tf_open): Add early cancel test.
3989 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3991         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3993 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3995         * sysdeps/generic/ldsodefs.h
3996         (dl_symbol_visibility_binds_local_p): New inline function.
3997         * elf/dl-addr.c (determine_info): Treat hidden and internal
3998         symbols as local.
3999         * elf/dl-lookup.c (do_lookup_x): Likewise.
4000         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4002 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4004         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4005         invalid exception for a sNaN input.
4006         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4007         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4008         (__nearbyint_vis3): Likewise
4009         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4010         (__nearbyintf_vis3): Likewise
4011         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4012         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4013         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4014         Likewise.
4015         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4016         Likewise.
4018 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4020         [BZ #20139]
4021         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4022         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4023         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4024         2.24 or above.
4025         (HAVE_AVX512_ASM_SUPPORT): Removed.
4026         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4027         * sysdeps/x86_64/configure: Regenerated.
4028         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4029         check unconditional.
4030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4031         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4032         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4033         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4034         Likewise.
4035         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4036         Likewise.
4037         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4038         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4039         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4040         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4041         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4042         Likewise.
4043         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4044         Likewise.
4045         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4048         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4049         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4050         Likewise.
4051         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4052         Likewise.
4053         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4054         Likewise.
4055         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4056         Likewise.
4057         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4058         Likewise.
4059         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4060         Likewise.
4061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4062         Likewise.
4063         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4064         Likewise.
4065         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4066         Likewise.
4067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4068         Likewise.
4069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4070         Likewise.
4072 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4074         [BZ #20024]
4075         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4077         of this implementation of vector function.
4078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4079         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4081         Likewise.
4082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4084         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4085         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4086         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4087         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4088         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4089         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4090         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4091         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4092         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4093         for testing vector sincos with fixed ABI.
4094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4096         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4097         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4098         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4100         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4101         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4102         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4103         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4104         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4105         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4106         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4107         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4108         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4109         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4111 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4113         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4115 2016-06-30  Anton Blanchard  <anton@samba.org>
4117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4118         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4119         s_sinf-ppc64.
4120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4123         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4125 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4129         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4130         e_expf-ppc64.
4131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4134         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4136 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4138         [BZ #20277]
4139         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4140         when SHARED is defined.
4142 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4144         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4145         (index_arch_Prefer_ERMS): Likewise.
4146         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4147         __memcpy_erms for Prefer_ERMS.
4148         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4149         (__memmove_erms): Enabled for libc.a.
4150         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4151         __memmove_erms or Prefer_ERMS.
4152         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4153         __mempcpy_erms for Prefer_ERMS.
4154         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4155         __memset_erms for Prefer_ERMS.
4157 2016-06-30  Andreas Schwab  <schwab@suse.de>
4159         [BZ #20262]
4160         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4161         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4162         of memory.
4164 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4166         [BZ #18645]
4167         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4168         (test-extras): Add tst-cleanupx4aux.
4169         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4170         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4171         tst-cleanupx4aux.o.
4172         * nptl/tst-cleanupx4aux.c: New file.
4174 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4176         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4178 2016-06-29  Andreas Schwab  <schwab@suse.de>
4180         [BZ #20260]
4181         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4182         address before the beginning of the string as an integer to avoid
4183         array-bounds warning.
4185 2016-06-28  Richard Henderson  <rth@redhat.com>
4187         * elf/elf.h (EM_BPF): New.
4188         (EM_NUM): Update.
4189         (R_BPF_NONE, R_BPF_MAP_FD): New.
4191         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4192         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4193         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4194         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4195         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4196         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4197         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4198         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4199         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4200         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4201         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4202         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4203         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4204         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4205         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4206         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4207         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4208         (EM_NUM): Update.
4210 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4212         [BZ #18960]
4213         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4214         Set _nl_current_LC_CATEGORY_used to two instead of one.
4216 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4218         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4219         (do_test): ... this.
4220         (TEST_FUNCTION): New macro.
4221          Include test-skeleton.c.
4222         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4223         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4225 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #15479]
4228         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4229         floating-point environment rather than just control word.
4230         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4231         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4232         floating-point environment, with "invalid" exceptions merged in,
4233         rather than just control word.
4234         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4235         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4236         "inexact" exceptions.
4238         [BZ #15479]
4239         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4240         floating-point environment rather than just control word.
4241         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4242         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4243         floating-point environment, with "invalid" exceptions merged in,
4244         rather than just control word.
4245         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4246         * math/libm-test.inc (floor_test_data): Do not allow spurious
4247         "inexact" exceptions.
4249         [BZ #15479]
4250         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4251         floating-point environment rather than just control word.
4252         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4253         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4254         floating-point environment, with "invalid" exceptions merged in,
4255         rather than just control word.
4256         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4257         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4258         "inexact" exceptions.
4260 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4262         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4263         __libc_vfork.
4264         (__vfork) [IS_IN (libc)]: Remove alias.
4265         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4266         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4267         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4269 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4271         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4272         of atomic_compare_and_exchange_bool_rel.
4273         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4274         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4275         catomic_compare_and_exchange_bool_rel): Remove.
4276         * sysdeps/aarch64/atomic-machine.h
4277         (atomic_compare_and_exchange_bool_rel): Likewise.
4278         * sysdeps/alpha/atomic-machine.h
4279         (atomic_compare_and_exchange_bool_rel): Likewise.
4280         * sysdeps/arm/atomic-machine.h
4281         (atomic_compare_and_exchange_bool_rel): Likewise.
4282         * sysdeps/mips/atomic-machine.h
4283         (atomic_compare_and_exchange_bool_rel): Likewise.
4284         * sysdeps/microblaze/atomic-machine.h
4285         ( __arch_compare_and_exchange_bool_8_rel,
4286         __arch_compare_and_exchange_bool_16_rel): Likewise.
4287         * sysdeps/powerpc/atomic-machine.h
4288         ( __arch_compare_and_exchange_bool_8_rel,
4289         __arch_compare_and_exchange_bool_16_rel): Likewise.
4290         * sysdeps/powerpc/powerpc32/atomic-machine.h
4291         ( __arch_compare_and_exchange_bool_32_rel,
4292         __arch_compare_and_exchange_bool_64_rel): Likewise.
4293         * sysdeps/powerpc/powerpc64/atomic-machine.h
4294         ( __arch_compare_and_exchange_bool_32_rel,
4295         __arch_compare_and_exchange_bool_64_rel): Likewise.
4296         * sysdeps/tile/atomic-machine.h
4297         (atomic_compare_and_exchange_bool_rel): Likewise.
4299 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4301         [BZ #20296]
4302         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4303         when either argument is a NaN.
4304         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4305         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4307         * math/libm-test.inc (snan_value_ld): New macro.
4308         (isgreater_test_data): Add sNaN tests.
4309         (isgreaterequal_test_data): Likewise.
4310         (isless_test_data): Likewise.
4311         (islessequal_test_data): Likewise.
4312         (islessgreater_test_data): Likewise.
4313         (isunordered_test_data): Likewise.
4314         (nextafter_test_data): Likewise.
4315         (nexttoward_test_data): Likewise.
4316         (remainder_test_data): Likewise.
4317         (remquo_test_data): Likewise.
4318         (significand_test_data): Likewise.
4319         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4321 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4323         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4324         environment macros are defined.
4325         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4327 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4329         [BZ #20191]
4330         Implement vtable verification in libio.
4331         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4332         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4333         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4334         _IO_new_file_init_internal instead of _IO_file_init.
4335         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4336         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4337         * libio/Makefile (routines): Add vtables.
4338         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4339         (_IO_init): Remove, not for internal use.
4340         (_IO_init_internal): Declare, internal replacement for _IO_init.
4341         (_IO_file_init): Remove, not for internal use.
4342         (_IO_new_file_init): Remove, not for internal use.
4343         (_IO_new_file_init_internal): Declare, internal replacement for
4344         _IO_new_file_init.
4345         (_IO_old_file_init): Remove, not for internal use.
4346         (_IO_old_file_init_internal): Declare, internal replacement for
4347         _IO_old_file_init.
4348         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4349         internal use.
4350         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4351         Declare.
4352         (libio_vtable): New macro.
4353         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4354         functions.
4355         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4356         _IO_new_file_init.
4357         (_IO_new_file_init): New externally visible wrapper which disables
4358         vtable verification.
4359         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4360         Define as vtables.
4361         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4362         (_IO_init): New externally visible wrapper which disables
4363         vtable verification.
4364         * libio/iofdopen.c (_IO_new_fdopen): Call
4365         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4366         comment.
4367         * libio/iofopen.c (__fopen_internal): Call
4368         _IO_new_file_init_internal instead of _IO_file_init.
4369         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4370         Define as vtables.
4371         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4372         _IO_new_file_init_internal instead of _IO_file_init.
4373         * libio/iopopen.c (_IO_new_popen): Likewise.
4374         (_IO_proc_jumps): Define as vtable.
4375         * libio/iovdprintf.c (_IO_vdprintf): Call
4376         _IO_new_file_init_internal instead of _IO_file_init.
4377         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4378         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4379         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4380         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4381         _IO_old_file_init.
4382         (_IO_old_file_init): New externally visible wrapper which disables
4383         vtable verification.
4384         (_IO_old_file_jumps): Define as vtable.
4385         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4386         _IO_old_file_init_internal instead of _IO_old_file_init.
4387         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4388         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4389         (_IO_old_proc_jumps): Define as vtable.
4390         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4391         Define as vtables.
4392         * libio/vtables.c: New file.
4393         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4394         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4395         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4396         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4397         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4398         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4399         instead of _IO_init.
4401 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4403         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4405 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4407         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4408         potentially unused.
4410 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4412         * test-skeleton.c (write_message): New function.
4413         * malloc/tst-mallocfork2.c (write_message): Remove.
4414         * debug/tst-longjmp_chk2.c (write_indented): New function.
4415         (write_message): Remove.
4416         (stackoverflow_handler): Call write_indented.
4418 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4420         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4421         "inexact" exceptions after fnstenv.
4422         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4423         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4424         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4426 2015-06-22  Zack Weinberg  <zackw@panix.com>
4428         * sysdeps/generic/bits/hwcap.h: Moved to ...
4429         * bits/hwcap.h: Here.
4431 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4433         * sysdeps/aarch64/memcpy.S (memcpy):
4434         Further tuning for performance.
4436 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4438         [BZ #20284]
4439         * malloc/arena.c (reused_arena): Do not return NULL if we start
4440         out with a non-corrupted arena.
4442 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4444         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4445         * misc/tst-preadvwritev.c: New file.
4446         * misc/tst-preadvwritev64.c: Likewise.
4447         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4448         usage.
4449         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4450         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4451         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4452         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4454 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4456         [BZ #19654]
4457         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4458         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4459         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4460         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4461         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4462         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4463         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4464         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4465         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4466         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4467         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4468         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4469         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4470         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4471         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4472         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4473         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4474         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4475         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4476         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4477         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4478         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4479         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4480         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4481         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4482         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4484 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4486         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4487         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4489 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4491         * sysdeps/aarch64/memcpy.S (memcpy):
4492         Rewrite of optimized memcpy and memmove.
4493         * sysdeps/aarch64/memmove.S (memmove): Remove
4494         memmove code (merged into memcpy.S).
4496 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4498         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4499         * sysdeps/generic/dl-dtv.h: New file.
4500         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4501         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4502         (dtv_t): Remove.
4503         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4504         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4505         (dtv_t): Remove.
4506         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4507         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4508         (dtv_t): Remove.
4509         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4510         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4511         (dtv_t): Remove.
4512         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4513         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4514         (dtv_t): Remove.
4515         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4516         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4517         (dtv_t): Remove.
4518         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4519         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4520         (dtv_t): Remove.
4521         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4522         (dtv_t): Remove.
4523         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4524         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4525         (dtv_t): Remove.
4526         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4527         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4528         (dtv_t): Remove.
4529         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4530         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4531         (dtv_t): Remove.
4532         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4533         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4534         (dtv_t): Remove.
4535         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4536         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4537         (dtv_t): Remove.
4538         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4539         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4540         (dtv_t): Remove.
4541         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4542         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4543         (dtv_t): Remove.
4544         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4545         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4546         (dtv_t): Remove.
4548 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4550         Revert symbol poisoning of  __malloc_initialize_hook.
4551         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4552         poisoning.
4553         * malloc/Makefile: Remove un-poisoning.
4554         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4555         instead of old__malloc_initialize_hook.
4556         * malloc/malloc-hooks.h: Likewise.
4557         * malloc/malloc.c: Likewise.
4558         * malloc/mcheck-init.c: Likewise.
4560 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4562         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4564 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4566         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4567         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4568         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4569         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4571 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4573         * NEWS: Mention addition of nextup and nextdown.
4574         * manual/arith.texi: Document nextup and nextdown.
4575         * manual/libm-err-tab.pl: Add nextup and nextdown.
4576         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4577         * math/Versions (libm): Add GLIBC_2.24.
4578         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4579         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4580         Add new test.
4581         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4582         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4583         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4584         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4585         (nextup_test_data): Likewise.
4586         (nextdown_test_data): Likewise.
4587         * math/s_nextdown.c: New file.
4588         * math/s_nextdownf.c: Likewise.
4589         * math/s_nextdownl.c: Likewise.
4590         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4591         F(nextup): New function.
4592         F(nextdown): Likewise.
4593         * math/tgmath.h: Add nextup and nextdown.
4594         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4595         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4600         Add nextup and nextdown.
4601         (CFLAGS-nldbl-nextup.c): New variable.
4602         (CFLAGS-nldbl-nextdown.c): Likewise.
4603         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4604         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4605         * sysdeps/nacl/libm.abilist: Update.
4606         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4607         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4608         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4609         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4610         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4611         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4612         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4613         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4615         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4620         Likewise.
4621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4635 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4637         * manual/pattern.texi: Fix typos & grammar errors.
4639 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4641         * manual/search.texi: Fix typos & grammar errors.
4643 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4645         * manual/message.texi: Fix typos & grammar errors.
4647 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4649         * manual/contrib.texi: Fix spelling typos.
4650         * manual/crypt.texi: Likewise.
4651         * manual/filesys.texi: Likewise.
4652         * manual/locale.texi: Likewise.
4653         * manual/message.texi: Likewise.
4654         * manual/nss.texi: Likewise.
4655         * manual/string.texi: Likewise.
4657 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4659         * manual/locale.texi: Fix typos & grammar errors.
4661 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4663         * manual/charset.texi: Fix typos & grammar errors.
4665 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4667         * manual/string.texi: Fix typos.
4669 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4671         * manual/ctype.texi: Fix typos.
4673 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4675         * manual/memory.texi: Fix various typos & grammar errors.
4677 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4679         [BZ #20255]
4680         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4681         * math/libm-test.inc (fdim_test_data): Add another test.
4683         [BZ #6796]
4684         [BZ #20255]
4685         [BZ #20256]
4686         * math/s_fdim.c: Include <math_private.h>.
4687         (__fdim): Use math_narrow_eval on result.
4688         * math/s_fdimf.c: Include <math_private.h>.
4689         (__fdimf): Use math_narrow_eval on result.
4690         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4691         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4692         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4693         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4694         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4695         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4696         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4697         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4698         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4699         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4700         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4701         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4702         overflow.  Add sNaN tests.
4704         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4705         fpclassify.
4706         * math/s_fdimf.c (__fdimf): Likewise.
4707         * math/s_fdiml.c (__fdiml): Likewise.
4709 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4711         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4712         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4714         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4715         ifunc'ed strcasecmp/strncasecmp.
4716         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4717         [EALIGN]: Removed.
4718         [END]: Likewise.
4719         [__strcasecmp]: Define instead of the above to control symbol name.
4720         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4721         for __strcasecmp_power8.
4722         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4723         for __strncasecmp_power8.
4724         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4725         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4726         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4727         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4728         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4729         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4731 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4733         [BZ #20252]
4734         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4735         arguments when second argument is a NaN.
4736         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4737         qNaN tests.
4739         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4740         (conj_test_data): Likewise.
4741         (copysign_test_data): Likewise.
4742         (creal_test_data): Likewise.
4743         (fma_test_data): Likewise.
4744         (fmod_test_data): Likewise.
4746         [BZ #20250]
4747         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4748         itself.
4749         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4750         zero input to itself.
4751         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4752         Likewise.
4753         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4754         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4755         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4756         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4757         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4759 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4761         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4762         * nptl/tst-cancel4-common.c: New file.
4763         * nptl/tst-cancel4-common.h: Likewise.
4764         * nptl/tst-cancel4.c: Move common definitions to
4765         tst-cancel4-common.{c,h} file.
4766         * nptl/tst-cancel4_1.c: New test.
4767         * nptl/tst-cancel4_2.c: New test.
4769 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4771         [BZ #20248]
4772         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4773         (write_message): New function.
4774         (stackoverflow_handler): Call it instead of printf, to avoid
4775         excessive stack usage by printf.
4776         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4778 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4780         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4781         (prio_inherit_missing): Remove define.
4782         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4783         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4784         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4787         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4789         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4790         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4791         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4793 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4795         [BZ #19670]
4796         [BZ #19672]
4798         * io/test-lfs.c (do_prepare): Use xmalloc.
4799         * io/tst-fcntl.c (do_prepare): Likewise.
4800         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4801         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4802         * login/tst-utmp.c (do_prepare): Likewise.
4803         * posix/tst-exec.c (do_prepare): Likewise.
4804         * posix/tst-pathconf.c (prepare): Likewise.
4805         * posix/tst-spawn.c (do_prepare): Likewise.
4806         * posix/tst-truncate.c (do_prepare): Likewise.
4807         * rt/tst-aio.c (do_prepare): Likewise.
4808         * rt/tst-aio64.c (do_prepare): Likewise.
4810 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4812         [BZ #20237]
4813         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4814         (get*ent): Set entidx to NULL during initialization.  If entidx is
4815         NULL, start iteration from the beginning.
4817 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4819         * malloc/malloc.c (musable): Return correct size for dumped fake
4820         mmapped chunk.
4822 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4824         [BZ #20222]
4825         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4826         (_IO_cookie_write): Likewise.
4827         (_IO_cookie_seek): Likewise.
4828         (_IO_cookie_close): Likewise.
4829         (_IO_old_cookie_seek): Likewise.
4830         (set_callbacks): New function.
4831         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4833 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4835         * locale/programs/localedef.c (oldstyle_tables): Remove.
4836         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4838 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4840         [BZ #20240]
4841         * math/Makefile (CFLAGS-s_modf.c): New variable.
4842         (CFLAGS-s_modff.c): Likewise.
4843         (CFLAGS-s_modfl.c): Likewise.
4844         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4846 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4848         [BZ #20215]
4849         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4850         [!__GNUC_PREREQ (3,2)]: Likewise.
4852 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4854         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4855         (msghdr.msg_controllen): Likewise.
4856         (cmsghdr.cmsg_len): Likewise.
4857         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4858         ptw-oldsendmsg.
4859         (CFLAGS-oldrecvmsg.c): Remove rule.
4860         (CFLAGS-oldsendmsg.c): Likewise.
4861         (CFLAGS-recvmsg.c): Add rule.
4862         (CFLAGS-sendmsg.c): Likewise.
4863         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4864         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4865         (CFLAGS-recvmsg.c): Remove rule.
4866         (CFLAGS-sendmsg.c): Likewise.
4867         (CFLAGS-oldrecvmsg.c): Likewise.
4868         (CFLAGS-oldsendmsg.c): Likewise.
4869         (CFLAGS-recvmmsg.c): Likewise.
4870         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4871         to kernel defined interfaces.
4872         (msghdr.msg_controllen): Likewise.
4873         (cmsghdr.cmsg_len): Likewise.
4874         (msghdr.__glibc_reserved1): Remove member.
4875         (msghdr.__glibc_reserved2): Likewise.
4876         (cmsghdr.__glibc_reserved1): Likewise.
4877         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4878         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4879         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4880         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4881         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4882         version.
4883         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4884         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4885         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4886         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4887         Remove recvmsg and sendmsg.
4888         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4893         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4894         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4899         [libc] (GLIBC_2.24): Likewise.
4900         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4903         Likewise.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4905         [libc] (GLIBC_2.24): Likewise.
4906         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4907         Likewise.
4908         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4911         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4912         Likewise.
4913         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4914         Likewise.
4915         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4916         Likewise.
4917         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4918         Likewise.
4919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4920         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4921         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4922         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4923         version for {recv,send,recm,sendm}msg.
4924         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4925         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4926         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4927         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4928         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4929         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4937         Likewise.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4939         Likewise.
4940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4944         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4945         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4946         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4947         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4954 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4956         [BZ #19564]
4957         Remove __malloc_initialize_hook from the API.
4958         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4959         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4960         #pragma GCC poison.
4961         * malloc/malloc-hooks.h: New file.
4962         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4963         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4964         (old__malloc_initialize_hook): Rename from
4965         __malloc_initialize_hook to evade poisoning.  Turn into compat
4966         symbol.
4967         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4968         __malloc_initialize_hook.
4969         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4970         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4971         * manual/memory.texi (Hooks for Malloc): Remove
4972         __malloc_initialize_hook.  Adjust hook example.
4974 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4976         [BZ #20235]
4977         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4978         itself.
4979         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4980         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4982         [BZ #20234]
4983         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4984         infinity or NaN input to itself.
4986         [BZ #20233]
4987         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4988         to itself.
4990         [BZ #20232]
4991         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4992         itself.
4994 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4996         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4997         __libc_start_main via GOT.
4999 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5001         * sysdeps/x86_64/memcopy.h: New file.
5002         * sysdeps/x86_64/wordcopy.c: Likewise.
5004 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5006         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5007         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5008         <cstdlib>.
5009         (optimization_barrier): New.
5010         (do_test): Use it.  Call quick_exit in the global namespace.
5011         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5012         instead of <cstdlib>, <thread>.
5013         (optimization_barrier): New.
5014         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5015         Call quick_exit in the global namespace.
5016         (do_test): Call optimization_barrier.  Use pthread_create,
5017         pthread_join instead of std::thread.
5019 2016-06-09  Andreas Schwab  <schwab@suse.de>
5021         [BZ #19755]
5022         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5023         new entries in auto-propagate mode.
5024         * nscd/grpcache.c (cache_addgr): Likewise.
5026 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5028         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5029         New functions.
5030         (add_temp_file): Use them.
5032 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5034         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5036 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5038         [BZ #20229]
5039         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5040         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5041         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5043         [BZ #20228]
5044         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5045         itself.
5046         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5047         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5049         [BZ #20227]
5050         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5051         itself.
5052         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5053         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5054         * math/libm-test.inc (log_test_data): Add sNaN tests.
5056         [BZ #20226]
5057         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5058         itself.
5059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5060         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5061         (exp10_test_data): Likewise.
5062         (expm1_test_data): Likewise.
5064         [BZ #20225]
5065         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5066         itself.
5067         * math/s_ldexpf.c (__ldexpf): Likewise.
5068         * math/s_ldexpl.c (__ldexpl): Likewise.
5069         * math/w_scalbln.c (__w_scalbln): Likewise.
5070         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5071         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5072         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5073         (scalbln_test_data): Likewise.
5075         [BZ #20224]
5076         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5077         argument to itself.
5078         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5080 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5082         [BZ #19776]
5083         * sysdeps/x86_64/memcpy.S: Make it dummy.
5084         * sysdeps/x86_64/mempcpy.S: Likewise.
5085         * sysdeps/x86_64/memmove.S: New file.
5086         * sysdeps/x86_64/memmove_chk.S: Likewise.
5087         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5088         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5089         * sysdeps/x86_64/memmove.c: Removed.
5090         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5091         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5092         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5093         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5094         Likewise.
5095         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5096         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5098         memcpy-sse2-unaligned, memmove-avx-unaligned,
5099         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5101         (__libc_ifunc_impl_list): Replace
5102         __memmove_chk_avx512_unaligned_2 with
5103         __memmove_chk_avx512_unaligned.  Remove
5104         __memmove_chk_avx_unaligned_2.  Replace
5105         __memmove_chk_sse2_unaligned_2 with
5106         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5107         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5108         with __memmove_avx512_unaligned.  Replace
5109         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5110         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5111         with __memcpy_chk_avx512_unaligned.  Remove
5112         __memcpy_chk_avx_unaligned_2.  Replace
5113         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5114         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5115         Replace __memcpy_avx512_unaligned_2 with
5116         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5117         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5118         with __mempcpy_chk_avx512_unaligned.  Remove
5119         __mempcpy_chk_avx_unaligned_2.  Replace
5120         __mempcpy_chk_sse2_unaligned_2 with
5121         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5122         Replace __mempcpy_avx512_unaligned_2 with
5123         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5124         Replace __mempcpy_sse2_unaligned_2 with
5125         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5126         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5127         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5128         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5129         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5130         (ENTRY): Removed.
5131         (END): Likewise.
5132         (ENTRY_CHK): Likewise.
5133         (libc_hidden_builtin_def): Likewise.
5134         Don't include ../memcpy.S.
5135         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5136         __memcpy_chk_avx512_unaligned_erms and
5137         __memcpy_chk_avx512_unaligned.  Use
5138         __memcpy_chk_avx_unaligned_erms and
5139         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5140         Default to __memcpy_chk_sse2_unaligned.
5141         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5142         Change function suffix from unaligned_2 to unaligned.
5143         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5144         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5145         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5146         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5147         (ENTRY): Removed.
5148         (END): Likewise.
5149         (ENTRY_CHK): Likewise.
5150         (libc_hidden_builtin_def): Likewise.
5151         Don't include ../mempcpy.S.
5152         (mempcpy): New.  Add a weak alias.
5153         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5154         __mempcpy_chk_avx512_unaligned_erms and
5155         __mempcpy_chk_avx512_unaligned.  Use
5156         __mempcpy_chk_avx_unaligned_erms and
5157         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5158         Default to __mempcpy_chk_sse2_unaligned.
5160 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5162         [BZ #19881]
5163         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5164         into ...
5165         * sysdeps/x86_64/memset.S: This.
5166         (__bzero): Removed.
5167         (__memset_tail): Likewise.
5168         (__memset_chk): Likewise.
5169         (memset): Likewise.
5170         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5171         defined.
5172         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5173         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5174         (__memset_zero_constant_len_parameter): Check SHARED instead of
5175         PIC.
5176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5177         memset-avx2 and memset-sse2-unaligned-erms.
5178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5179         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5180         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5181         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5182         (__bzero): Enabled.
5183         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5184         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5185         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5186         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5187         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5188         (memset): Removed.
5189         (__memset_chk): Likewise.
5190         (MEMSET_SYMBOL): New.
5191         (libc_hidden_builtin_def): Replace __memset_sse2 with
5192         __memset_sse2_unaligned.
5193         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5194         __memset_chk_sse2 and __memset_chk_avx2 with
5195         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5196         Use __memset_chk_sse2_unaligned_erms or
5197         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5198         __memset_chk_avx512_unaligned_erms and
5199         __memset_chk_avx512_unaligned.
5201 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5203         * math/gen-auto-libm-test.c (fp_format_desc): remove
5204         suffix member.
5205         (output_generic_value): Remove usage of suffix member,
5206         and the resulting unuse of the fp_format argument.
5207         (output_for_one_input_case): Remove unused fp_format
5208         parameter.
5210         * math/auto-libm-test-out: Regenerate.
5212         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5213         usage with TEST_COND_ibm128.
5214         (TEST_COND_flt_32): Remove.
5215         (TEST_COND_dbl_64): Remove.
5216         (TEST_COND_ldbl_96_intel): Remove.
5217         (TEST_COND_ldbl_96_m68k): Remove.
5218         (TEST_COND_ldbl_128): Remove.
5220 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5222         * auto-libm-test-in:
5223         Replace flt-32 usage with binary32.
5224         Replace dbl-64 usage with binary64.
5225         Replace ldbl-intel-96 usage with intel96.
5226         Replace ldbl-m68k-96 usage with m68k96.
5227         Replace ldbl-128ibm usage with ibm128.
5228         Replace ldbl-128 usage with binary128.
5230         * auto-libm-test-out: Regenerate.
5232 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5234         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5235         (parse_ulps): Dynamically generate type name matching
5236         string from all_floats.
5237         (get_ulps): Generate the ulps as an array instead.
5238         (output_ulps): Dynamically compose the type based
5239         on the number of supported formats, and print
5240         the indices as type specific helper macros.
5242         * math/libm-test.inc: Remove comment about CHOOSE.
5243         (ulp_data): Generate the type in libm-test-ulps.h.
5244         (ULP_IDX): New macro.
5245         (find_ulps): Update usage of max_ulp.
5247         * math/test-double-vlen2.h (CHOOSE): Remove.
5248         * math/test-double-vlen4.h (CHOOSE): Likewise.
5249         * math/test-double-vlen8.h (CHOOSE): Likewise.
5250         * math/test-float.c (CHOOSE): Likewise.
5251         * math/test-float-finite.c (CHOOSE): Likewise.
5252         * math/test-double.c (CHOOSE): Likewise.
5253         * math/test-double-finite.c (CHOOSE): Likewise.
5254         * math/test-idouble.c (CHOOSE): Likewise.
5255         * math/test-ifloat.c (CHOOSE): Likewise.
5256         * math/test-ildoubl.c (CHOOSE): Likewise.
5257         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5258         * math/test-ldouble.c (CHOOSE): Likewise.
5260         * math/test-float.h (TEST_FLOAT): Remove.
5261         * math/test-double.h (TEST_DOUBLE): Likewise.
5262         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5264 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5266         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5267         (parse_args): Strip C suffix from floating point literals
5268         typed with 'f' and wrap them with LIT().
5270         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5271         (test_ff_f_data_nexttoward): Rename to
5272         (test_fj_f_data): New struct.
5273         (nexttoward_test_data): Relabel tests as
5274         TEST_fj_f instead of TEST_ff_f.
5276 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5278         Emacs bug 23726.
5279         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5280         (__libc_realloc): Correct size computation for dumped fake mmapped
5281         chunks.
5283 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5285         [BZ #20219]
5286         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5287         to itself.
5288         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5290         [BZ #20218]
5291         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5292         to itself.
5293         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5295 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5297         [BZ #20195]
5298         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5299         check to ...
5300         (init_cpu_features): Here.
5302 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5304         [BZ #20214]
5305         * sysdeps/unix/sysv/linux/bits/in.h
5306         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5307          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5308         Define to 1.
5309         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5310          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5311         Define to 0.
5312         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5313         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5315 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5317         [BZ #20198]
5318         * stdlib/Makefile (tests): Add tst-quick_exit, and
5319         tst-thread-quick_exit.
5320         [ifeq ($(have-cxx-thread_local),yes)]
5321         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5322         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5323         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5324         (LDLIBS-tst-thread-quick_exit): Likewise.
5325         [ifneq ($(have-cxx-thread_local),yes)]
5326         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5327         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5328         If run_dtors is true call __call_tls_dtors.
5329         (exit): Call __run_exit_handlers with run_dtors set to true.
5330         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5331         definition.
5332         * stdlib/quick_exit.c (quick_exit): Remove function.
5333         (__new_quick_exit): New function.
5334         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5335         function.
5336         * stdlib/tst-quick_exit.cc: New file.
5337         * stdlib/tst-thread-quick_exit.cc: New file.
5338         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5339         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5340         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5341         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5342         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5343         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5344         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5345         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5346         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5348         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5349         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5350         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5351         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5352         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5353         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5358         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5359         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5360         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5361         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5362         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5365         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5366         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5367         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5369 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5371         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5372         a typo in comments.
5374 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #20213]
5377         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5378         argument to itself.
5379         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5381 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5383         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5384         required flags.
5385         (CFLAGS-pwritev64.c): Likewise.
5386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5387         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5388         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5389         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5390         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5391         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5392         syscall from auto-generation.
5393         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5394         [WORDSIZE == 64] (pwritev64): Remove macro.
5395         [!PWRITEV] (PWRITEV): Likewise.
5396         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5397         [!PWRITEV] (PWRITE): Likewise.
5398         [!PWRITEV] (OFF_T): Likewise.
5399         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5400         (LO_HI_LONG): Remove macro.
5401         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5402         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5403         (PWRITEV): Remove macro.
5404         (PWRITEV_REPLACEMENTE): Likewise.
5405         (PWRITE): Likewise.
5406         (OFF_T): Likewise.
5407         (pwritev64): New function.
5408         * nptl/tst-cancel4.c (tf_writev): Add test.
5410         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5411         required flags.
5412         (CFLAGS-preadv64.c): Likewise.
5413         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5414         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5415         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5416         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5417         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5418         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5419         syscall from auto-generation.
5420         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5421         [WORDSIZE == 64] (preadv64): Remove macro.
5422         [!PREADV] (PREADV): Likewise.
5423         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5424         [!PREADV] (PREAD): Likewise.
5425         [!PREADV] (OFF_T): Likewise.
5426         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5427         (LO_HI_LONG): Remove macro.
5428         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5429         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5430         (PREADV): Remove macro.
5431         (PREADV_REPLACEMENTE): Likewise.
5432         (PREAD): Likewise.
5433         (OFF_T): Likewise.
5434         (preadv64): New function.
5435         * nptl/tst-cancel4.c (tf_preadv): Add test.
5437 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5439         [BZ #20212]
5440         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5441         argument to itself.
5442         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5444 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5446         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5447         New symbol defined as libc_hidden_def.
5448         (strcasestr): Became a weak alias to __strcasestr.
5449         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5450         according to multi-arch support.  Move __stpncpy hidden
5451         definition from here to...
5452         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5453         symbol stpncpy.
5454         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5455         libc_hidden_builtin_def.
5456         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5457         memset symbol to use when multi-arch support is available.
5459 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5461         * dlfcn/tst-rec-dlopen.c: Include string.h.
5463 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5465         * manual/install.texi: Remove mention of --without-tls
5466         * INSTALL: Regenerate.
5468 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5470         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5471         Remove.
5472         (call_function, interposed_malloc_called): New variables.
5473         (malloc): New function.
5474         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5475         and clear call_function as needed.
5477 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5479         * include/wchar.h (__wmemset): Use __typeof.
5481 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5483         * include/wchar.h (__wmemset): Declare function without typeof.
5485 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #20205]
5488         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5489         exponent when incrementing negative subnormal with low mantissa
5490         word zero.
5491         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5492         Add another test.
5494 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5496         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5497         __wmemset instead of wmemset.
5499 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5501         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5502         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5503         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5504         __USE_KERNEL_IPV6_DEFS to 0.
5505         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5506         Update comment.
5508 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5510         [BZ #19861]
5511         Do not use IFUNC resolver with potentially unrelocated symbol.
5512         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5513         (DEFINE_FORK): Remove macro and inline definition.
5514         (fork_alias): Renamed from fork_ifunc.
5515         (__fork_alias): Renamed from __fork_ifunc.
5517 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5519         [BZ 19653]
5520         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5521         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5523 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5525         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5526         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5527         i386-linux-gnu).
5528         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5529         Set to no.
5530         * sysdeps/mach/hurd/configure: Refresh.
5532 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5534         [BZ #20178]
5535         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5536         on failure instead of exit.
5538 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5540         [BZ #3629]
5541         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5542         of POSIX.1-2008.
5544 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5546         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5547           Use PLT entry for calling _hurd_self_sigstate.
5549 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5551         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5552         available logical processors with SMT level type sharing L2
5553         cache for Intel processors.
5555 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #20160]
5558         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5559         argument to itself before returning the result.
5560         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5561         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5562         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5564         Likewise.
5565         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5566         Likewise.
5567         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5568         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5569         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5570         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5571         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5572         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5574         [BZ #20160]
5575         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5576         argument to itself before returning the result.
5577         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5578         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5579         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5581         Likewise.
5582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5583         Likewise.
5584         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5585         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5586         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5587         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5588         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5589         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5591 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5593         * libm-test.inc: Replace usage of M_El with
5594         (lit_e): New macro.
5596 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5598         * libm-test.inc: Replace usage of M_PI_4l with
5599         (lit_pi_4_d): New macro.
5601 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5603         * libm-test.inc: Replace usage of M_PIl with
5604         (lit_pi): New macro.
5606 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5608         * libm-test.inc: Replace usage of M_PI2l with
5609         (lit_pi_2_d): New macro.
5611         * math/test-double.h (LITM): New macro.
5612         * math/test-float.h (LITM): Likewise.
5613         * math/test-ldouble.h (LITM): Likewise.
5615 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5617         * libm-test.inc (M_PI_34l): Rename to
5618         (lit_pi_3_m_4_d): New Macro.
5619         (M_PI_34_LOG10El): Rename to
5620         (lit_pi_3_m_4_ln10_m_d): New Macro.
5621         (M_PI2_LOG10El): Rename to
5622         (lit_pi_2_ln10_m_d):  New Macro.
5623         (M_PI4_LOG10El): Rename to
5624         (lit_pi_4_ln10_m_d):  New Macro.
5625         (M_PI_LOG10El): Rename to
5626         (lit_pi_ln10_d):  New Macro.
5628 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5630         [BZ #20157]
5631         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5632         determine whether to negate low half if [_ARCH_PPCGR], and integer
5633         comparison otherwise.
5634         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5635         determine whether to negate low half.
5637         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5638         (NO_TEST_INLINE_DOUBLE): Likewise.
5639         (TEST_COND_x86_64): Likewise.
5640         (TEST_COND_x86): Likewise.
5641         (M_PI_6l): Likewise.
5643 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5645         * math/libm-test.inc:
5646         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5647         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5648         (TEST_LDOUBLE): Update usage to evaluate as true if
5649         the guarded tests match the property being tested.
5650         (LDBL_MAX_EXP): Change to MAX_EXP.
5651         (LDBL_MIN_EXP): Change to MIN_EXP.
5652         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5653         nexttoward tests.
5655 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5657         * math/libm-test.inc:
5658         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5659         (TYPE_MIN): Likewise.
5660         (TYPE_TRUE_MIN): Likewise.
5661         (TYPE_MAX): Likewise.
5662         (MIN_EXP): Likewise.
5663         (MAX_EXP): Likewise.
5664         (MANT_DIG): Likewise.
5666         (FSTR_MAX): New macro.
5667         (__CONCATX): Likewise.
5668         (QTYPE_STR): Likewise.
5669         (TEST_COND_binary32): Likewise.
5670         (TEST_COND_binary64): Likewise.
5671         (TEST_COND_binary128): Likewise.
5672         (TEST_COND_ibm128): Likewise.
5673         (TEST_COND_intel96): Likewise.
5674         (TEST_COND_m68k96): Likewise.
5676         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5677         (TEST_COND_dbl_64): Likewise.
5678         (TEST_COND_ldbl_96_intel): Likewise.
5679         (TEST_COND_ldbl_96_m68k): Likewise.
5680         (TEST_COND_ldbl_128): Likewise.
5681         (TEST_COND_ldbl_128ibm): Likewise.
5683         (plus_zero): Redefine using LIT macro.
5684         (minus_zero): Likewise.
5685         (plus_infty): Redefine as (INF).
5686         (minux_infty): Redefine as (-INF).
5687         (max_value): Redefine as TYPE_MAX.
5688         (min_value): Redefine as TYPE_MIN.
5689         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5691         (print_float): Refactor to use snprintf to convert FLOAT values
5692         to string. This brings it closer to dropin replacement of strtof
5693         for the TS 18661 defined types.
5694         (update_stats): Likewise.
5695         (print_complex_function_ulps): Likewise.
5696         (print_max_error): Likewise.
5697         (print_complex_max_error): Likewise.
5698         (check_float_internal): Likewise.
5700         * math/test-float.h (PREFIX): New macro.
5701         (LIT): Likewise.
5702         (TYPE_STR): Likewise.
5703         (FTOSTR): Likewise.
5705         * math/test-double.h (PREFIX): New macro.
5706         (LIT): Likewise.
5707         (TYPE_STR): Likewise.
5708         (FTOSTR): Likewise.
5710         * math/test-ldouble.h (PREFIX): New macro.
5711         (LIT): Likewise.
5712         (TYPE_STR): Likewise.
5713         (FTOSTR): Likewise.
5715 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5717         [BZ #20156]
5718         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5719         to itself when zero or not finite.
5720         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5721         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5722         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5723         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5725 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #20153]
5728         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5729         x * x + x for infinities and NaNs.
5731         [BZ #20151]
5732         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5733         argument to itself before returning result.
5734         (__ieee754_y0l): Likewise.
5735         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5736         (__ieee754_y1l).
5738         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5739         (atan_test_data): Likewise.
5740         (ceil_test_data): Likewise.
5741         (cos_test_data): Likewise.
5742         (cosh_test_data): Likewise.
5743         (erf_test_data): Likewise.
5744         (exp2_test_data): Likewise.
5745         (fabs_test_data): Likewise.
5746         (floor_test_data): Likewise.
5747         (ilogb_test_data): Likewise.
5748         (j0_test_data): Likewise.
5749         (j1_test_data): Likewise.
5750         (jn_test_data): Likewise.
5751         (lgamma_test_data): Likewise.
5752         (lrint_test_data): Likewise.
5753         (llrint_test_data): Likewise.
5754         (logb_test_data): Likewise.
5755         (lround_test_data): Likewise.
5756         (llround_test_data): Likewise.
5757         (nearbyint_test_data): Likewise.
5758         (rint_test_data): Likewise.
5759         (round_test_data): Likewise.
5760         (sin_test_data): Likewise.
5761         (sincos_test_data): Likewise.
5762         (sinh_test_data): Likewise.
5763         (sqrt_test_data): Likewise.
5764         (tan_test_data): Likewise.
5765         (tanh_test_data): Likewise.
5766         (tgamma_test_data): Likewise.
5767         (trunc_test_data): Likewise.
5768         (y0_test_data): Likewise.
5769         (y1_test_data): Likewise.
5770         (yn_test_data): Likewise.
5772         * math/libm-test.inc: Update comment about NaN testing.
5773         (TEST_SNAN): New macro.
5774         (snan_value): Likewise.
5775         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5776         (fpclassify_test_data): Add sNaN tests.
5777         (isfinite_test_data): Likewise.
5778         (isinf_test_data): Likewise.
5779         (isnan_test_data): Likewise.
5780         (isnormal_test_data): Likewise.
5781         (issignaling_test_data): Likewise.
5782         (signbit_test_data): Likewise.
5783         * math/gen-libm-test.pl (%beautify): Add snan_value.
5784         (show_exceptions): Add argument $test_snan.
5785         (parse_args): Handle snan_value as non-finite.  Update call to
5786         show_exceptions.
5787         * math/Makefile (libm-test-no-inline-cflags): Add
5788         -fsignaling-nans.
5790 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5792         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5793         (CFLAGS-oldsendmsg.c): Add rule.
5794         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5795         Correct recvmsg symbol name.
5796         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5797         Likewise.
5799 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5801         * sysdeps/unix/sysv/linux/Makefile
5802         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5803         oldsendmmsg.
5804         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5805         sendmmsg.
5806         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5808         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5809         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5817         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5818         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5819         iovlen and controllen fields to adjust to POSIX specification.
5820         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5822         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5823         and change to correct expected type.
5824         (msghdr.msg_controllen): Likewise.
5825         (cmsghdr.cmsg_len): Likewise.
5826         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5827         expected POSIX assumption about the size.
5828         (msghdr.msg_controllen): Likewise.
5829         (msghdr.__glibc_reserved1): Likewise.
5830         (msghdr.__glibc_reserved2): Likewise.
5831         (cmsghdr.cmsg_len): Likewise.
5832         (cmsghdr.__glibc_reserved1): Likewise.
5833         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5834         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5835         (CFLAGS-sendmsg.c): Remove rule.
5836         (CFLAGS-recvmsg.c): Likewise.
5837         (CFLAGS-oldsendmsg.c): Add rule.
5838         (CFLAGS-oldrecvmsg.c): Likewise.
5839         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5840         recvmsg and sendmsg.
5841         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5842         Likewise.
5843         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5844         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5845         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5846         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5847         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5848         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5849         Likewise.
5850         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5851         Likewise.
5852         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5853         Likewise.
5854         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5855         Likewise.
5856         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5857         Likewise.
5858         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5859         Likewise.
5860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5861         (GLIBC_2.24): Likewise.
5862         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5863         Likewise.
5864         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5865         Likewise.
5866         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5867         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5868         Likewise.
5869         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5870         Likewise.
5871         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5872         Likewise.
5873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5874         (GLIBC_2.24): Likewise.
5875         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5876         Likewise.
5877         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/Makefile
5880         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5881         (CFLAGS-sendmsg.c): Add rule.
5882         (CFLAGS-recvmsg.c): Likewise.
5883         (CFLAGS-oldsendmsg.c): Likewise.
5884         (CFLAGS-oldrecvmsg.c): Likewise.
5885         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5886         initialization.
5887         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5888         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5889         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5890         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5891         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5892         iovlen and controllen fields to adjust to POSIX specification.
5893         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5894         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5895         added recvmsg and sendmsg.
5896         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5897         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5898         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5899         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5900         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5901         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5902         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5903         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5904         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5905         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5907         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5909         Likewise.
5910         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5912         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5913         Likewise.
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5916         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5924         Likewise.
5925         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5929         from auto-generation.
5930         (sendmsg): Likewise.
5931         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5932         (sendmsg): Likewise.
5933         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5934         (sendmsg): Likewise.
5935         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5936         (sendmsg): Likewise.
5937         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5938         (sendmsg): Likewise.
5939         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5940         (sendmsg): Likewise.
5941         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5942         Likewise.
5943         (sendmsg): Likewise.
5944         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5945         (sendmsg): Likewise.
5946         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5948         Remove.
5949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5950         Likewise.
5951         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5952         Undefine.
5953         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/kernel-features.h
5956         (__ASSUME_SENDMSG_SYSCALL): Define.
5957         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5960         Remove.
5961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5962         Likewise.
5963         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5964         Undefine.
5965         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5966         Likewise.
5967         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5969         Remove.
5970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5971         Likewise.
5972         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5973         Undefine.
5974         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5977         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5978         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5979         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5980         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5981         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5982         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5983         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5984         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5986 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5988         * stdlib/gen-tst-strtod-round.c: Add backslash to
5989         compile command in comment.
5990         (printfp): Remove the literal suffix, and define an infinite
5991         value as INF to avoid expansion clash with INFINITY.
5992         (round_str): Remove the literal suffix.
5993         (round_for_all): Likewise, remove the now duplicate ldbl-64
5994         entry, and remove some magic constants.
5996         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5997         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5998         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5999         (_CONCAT): New macro.
6000         (CONCAT): Likewise.
6001         (CHOOSE_ld): Likewise.
6002         (CHOOSE_f): Likewise.
6003         (CHOOSE_d): Likewise.
6004         (FTYPE_MEMBER): Likewise.
6005         (BOOL_MEMBER): Likewise.
6006         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6007         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6008         (_XNTRY): Likewise.
6009         (XNTRY): Likewise.
6010         (_ENTRY): Likewise.
6011         (ENTRY): Likewise.
6012         (test_exactness): Generate members via macro.
6013         (test_results): Likewise.
6014         (test): Update members.
6015         (TEST): Redefine using new macros.
6016         (INF): New macro.
6017         (fetestmodes): New structure.
6018         (do_test): Refactor to be type generic.
6019         (test_in_one_mode): Refactor duplicate code into
6020         (GEN_ONE_TEST): New macro.
6022         * stdlib/tst-strtod-round-data.h: Regenerate.
6024         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6025         Extend to pass additional arbitrary parameters to
6026         generators.
6028 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6030         [BZ #15479]
6031         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6032         floating-point state after first floating-point operation on
6033         input.  Restore full floating-point state instead of just rounding
6034         mode.
6035         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6036         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6037         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6038         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6039         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6041         [BZ #15479]
6042         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6043         floating-point state after first floating-point operation on
6044         input.  Restore full floating-point state instead of just rounding
6045         mode.
6046         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6047         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6048         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6049         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6050         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6052 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6054         [BZ #19727]
6055         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6056         valid high surrogate.
6057         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6058         of an utf16 surrogate.
6059         * iconv/gconv_simple.c (BODY): Likewise.
6060         * iconvdata/bug-iconv12.c: New file.
6061         * iconvdata/Makefile (tests): Add bug-iconv12.
6063 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6065         [BZ #19726]
6066         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6067         outptrp in case of an illegal input.
6068         * iconv/tst-iconv6.c: New file.
6069         * iconv/Makefile (tests): Add tst-iconv6.
6071 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6073         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6074         an error in case of a value in range of an utf16 low surrogate.
6076 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6078         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6079         an error in case of a value in range of an utf16 low surrogate.
6081 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6083         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6084         Move to ...
6085         * sysdeps/s390/Makefile: ... here.
6086         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6087         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6088         (BRANCH_ON_COUNT): New define.
6089         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6090         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6091         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6092         run on s390-32, too.
6093         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6094         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6095         run on s390-32, too.
6096         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6097         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6098         run on s390-32, too.
6100 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6102         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6103         etf3eh or new vector loop-variant.
6105 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6107         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6108         etf3eh or new vector loop-variant.
6110 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6112         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6113         or new vector loop-variant.
6115 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6117         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6118         Rename to TR_LOOP and usage of tr instead of troo instruction.
6120 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6122         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6125 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6127         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6128         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6129         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6130         New override define.
6131         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6135         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6136         * sysdeps/s390/configure.ac: Add test for S390 vector register
6137         support in gcc.
6138         * sysdeps/s390/configure: Regenerated.
6140 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6142         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6143         Install file from $(objpfx)gconv-modules.
6144         ($(objpfx)gconv-modules): Concatenate architecture specific file
6145         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6146         * sysdeps/s390/gconv-modules: New file.
6147         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6148         Deleted.
6149         ($(objpfx)gconv-modules-s390): Deleted.
6150         (sysdeps-gconv-modules): New variable.
6152 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6154         [BZ #15479]
6155         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6156         of immediate operand to rounding instruction.
6157         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6158         Likewise.
6159         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6160         Likewise.
6161         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6162         Likewise.
6164 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6166         * math/libm-test.inc (MIN_EXP): Directly define as
6167         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6169 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6171         * math/libm-test.inc (MANT_DIG): Directly define as
6172         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6174 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6176         * stdlib/gen-tst-strtod-round.c (main):
6177           Change usage to more closely match the generated
6178           output.  Add usage and compilation instructions.
6179           (string_to_fp): Add and use FILE* parameter as
6180           output target.
6181           (print_fp): Likewise.
6182           (round_str): Likewise.
6183           (round_for_all): Likewise.
6184         * stdlib/tst-strtod-round.c (tests): Move into
6185         * stdlib/tst-strtod-round-data.h: New file.
6187 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6189         [BZ #15479]
6190         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6191         (__round): Do not force "inexact" exception.
6192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6193         variable.
6194         (__round): Do not force "inexact" exception.
6195         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6196         (__roundf): Do not force "inexact" exception.
6197         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6198         (__roundl): Do not force "inexact" exception.
6199         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6200         (__roundl): Do not force "inexact" exception.
6201         * math/libm-test.inc (round_test_data): Do not allow spurious
6202         "inexact" exceptions.
6204         [BZ #15479]
6205         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6206         exception in comment.
6207         (huge): Remove variable.
6208         (__floor): Do not force "inexact" exception.
6209         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6210         "inexact" exception in comment.
6211         (huge): Remove variable.
6212         (__floor): Do not force "inexact" exception.
6213         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6214         exception in comment.
6215         (huge): Remove variable.
6216         (__floorf): Do not force "inexact" exception.
6217         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6218         exception in comment.
6219         (huge): Remove variable.
6220         (__floorl): Do not force "inexact" exception.
6222         [BZ #15479]
6223         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6224         exception in comment.
6225         (huge): Remove variable.
6226         (__ceil): Do not force "inexact" exception.
6227         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6228         "inexact" exception in comment.
6229         (huge): Remove variable.
6230         (__ceil): Do not force "inexact" exception.
6231         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6232         (__ceilf): Do not force "inexact" exception.
6233         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6234         exception in comment.
6235         (huge): Remove variable.
6236         (__ceill): Do not force "inexact" exception.
6238 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6240         * config.h.in (BIND_NOW): New.
6241         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6242         * configure: Regenerated.
6243         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6244         indirect branch via the GOT slot.
6246 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6248         [BZ #19765]
6249         * sysdeps/s390/mempcpy.S: New File.
6250         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6252         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6253         Add mempcpy variants.
6254         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6255         (memcpy): Adjust to be usable from mempcpy entry point.
6256         (__memcpy_mvcle): Likewise.
6257         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6258         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6259         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6260         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6261         (__memcpy_z10): Likewise.
6262         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6264 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6266         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6267         Remove __GI_ symbol.
6268         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6269         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6270         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6271         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6272         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6273         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6275 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6277         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6278         Use cghi instead of chi to compare 64bit value.
6280 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6282         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6283         Jump to 1MB check before executing mvc-loop.
6285 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6287         [BZ #6527]
6288         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6289         unconditionally.
6290         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6292 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6294         * stdlib/tst-strtod6.c (do_test): Use new type generic
6295         invocation of the test function.
6296         (test): Refactor into ...
6297         (TEST_STRTOD): New macro base function.
6299 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6301         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6302         (TEST_STRTOD): New macro.
6303         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6305 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6307         * stdlib/tst-strtod6.c (do_test): Use new type generic
6308         invocation of the test function.
6309         (test): Refactor into ...
6310         (TEST_STRTOD): New macro base function.
6312 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6314         CVE-2016-4429
6315         [BZ #20112]
6316         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6317         payload.
6319 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6321         [BZ #20111]
6322         * bits/sockaddr.h (_SS_SIZE): Define.
6323         * bits/socket.h (_SS_SIZE): Remove.
6324         (_SS_PADSIZE): Adjust to account for all padding.
6325         (struct sockaddr_storage): Update comment.  Avoid implicit
6326         padding.
6327         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6328         (_SS_PADSIZE): Adjust to account for all padding.
6329         (struct sockaddr_storage): Update comment.  Avoid implicit
6330         padding.
6331         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6332         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6333         (_SS_PADSIZE): Adjust to account for all padding.
6334         (struct sockaddr_storage): Update comment.  Avoid implicit
6335         padding.
6336         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6337         __SS_SIZE is 126 in this version.
6338         * inet/tst-sockaddr.c: New file.
6339         * inet/Makefile (tests): Add tst-sockaddr.c
6340         (tst-sockaddr.c): Compile with non-strict aliasing.
6342 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6344         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6345         [XPG3 || XPG4].
6346         (NL_ARGMAX): Also expect for [XPG3].
6347         (NL_LANGMAX): Likewise.
6348         (NL_MSGMAX): Likewise.
6349         (NL_NMAX): Likewise.
6350         (NL_SETMAX): Likewise.
6351         (NL_TEXTMAX): Likewise.
6352         (NZERO): Likewise.
6353         (TMP_MAX): Likewise.
6354         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6355         variable.
6357         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6358         (PF_MAX): Update value.
6359         (AF_KCM): New macro.
6360         (SOL_NETBEUI): Likewise.
6361         (SOL_LLC): Likewise.
6362         (SOL_DCCP): Likewise.
6363         (SOL_NETLINK): Likewise.
6364         (SOL_TIPC): Likewise.
6365         (SOL_RXRPC): Likewise.
6366         (SOL_PPPOL2TP): Likewise.
6367         (SOL_BLUETOOTH): Likewise.
6368         (SOL_PNPIPE): Likewise.
6369         (SOL_RDS): Likewise.
6370         (SOL_IUCV): Likewise.
6371         (SOL_CAIF): Likewise.
6372         (SOL_ALG): Likewise.
6373         (SOL_NFC): Likewise.
6374         (SOL_KCM): Likewise.
6375         (MSG_BATCH): New enum value and macro.
6377 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6379         [BZ #18185]
6380         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6381         sharing L2 cache to 2 for Knights Landing.
6383 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6385         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6386         (FTW_DP): Do not expect for [XPG3 || XPG4].
6387         (FTW_SL): Do not expect for [XPG3].
6388         (FTW_SLN): Likewise.
6389         (FTW_PHYS): Likewise.
6390         (FTW_MOUNT): Likewise.
6391         (FTW_DEPTH): Likewise.
6392         (FTW_CHDIR): Likewise.
6393         (nftw): Likewise.
6394         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6395         variable.
6397 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6399         * manual/errno.texi: Fix various typos & grammar errors.
6401 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6403         * manual/intro.texi: Fix duplicated typo.
6405 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6407         [BZ #13304]
6408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6409         <float.h>, <math_private.h> and <stdlib.h>.
6410         (add_split): New function.
6411         (mul_split): Likewise.
6412         (ext_val): New typedef.
6413         (store_ext_val): New function.
6414         (mul_ext_val): New function.
6415         (compare): New function.
6416         (add_split_ext): New function.
6417         (__fmal): After checking for Inf, NaN and zero, compute result as
6418         an exact sum of scaled double values in round-to-nearest before
6419         adding those up and adjusting for other rounding modes.
6420         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6421         tests of fma.
6422         * math/auto-libm-test-out: Regenerated.
6424 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6426         [BZ #20119]
6427         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6428         processor level type mask for CPUID with EAX == 11.
6430 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6432         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6433         logical threads if the HTT bit is 0.
6434         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6435         (index_cpu_HTT): Likewise.
6436         (reg_HTT): Likewise.
6438 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6440         [BZ #20115]
6441         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6442         Remove alignments on jump targets.
6444 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6446         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6447         (getpwent): Likewise.
6448         (setpwent): Likewise.
6449         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6450         variable.
6452         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6453         (remque): Likewise.
6454         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6455         variable.
6457 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6459         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6460         not being tested.
6462 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6465         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6466         call.
6467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6468         (__condvar_cleanup1): Likewise.
6470 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6472         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6473         New
6474         (__pthread_unwind): Renamed to ...
6475         (PTHREAD_UNWIND): This.
6476         (__pthread_enable_asynccancel): Replace
6477         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6479 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6481         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6482         (CLONE_NEWCGROUP): New macro.
6484         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6485         (Q_GETNEXTQUOTA): New macro.
6487 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6489         [BZ #19907]
6490         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6491         buffer updated by the previous run.
6492         * string/test-memcpy.c (do_one_test): Likewise.
6493         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6494         * string/test-memmove.c (do_one_test): Likewise.
6496 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6498         [BZ #20094]
6499         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6500         not [__USE_XOPEN].
6501         (unlockpt): Likewise.
6502         (ptsname): Likewise.
6503         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6504         variable.
6506         [BZ #20076]
6507         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6508         instead of [__USE_UNIX98].
6509         (S_ISSOCK): Likewise.
6510         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6511         variable.
6513         [BZ #20074]
6514         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6515         [__USE_POSIX].
6516         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6517         variable.
6519         [BZ #20051]
6520         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6521         (ttyslot): Do not declare.
6522         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6523         (ttyslot): New prototype.
6524         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6525         variable.
6526         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6528 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6530         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6532 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6534         Fix race condition in tst-mallocfork2, use fewer resources.
6535         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6536         to current process group.
6537         (signal_sender): Yield in the non-sleeping case.
6539 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6541         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6542         (ecvt): Likewise.
6543         (fcvt): Likewise.
6544         (gcvt): Likewise.
6545         (getsubopt): Likewise.
6546         (grantpt): Likewise.
6547         (initstate): Likewise.
6548         (l64a): Likewise.
6549         (mktemp): Likewise.
6550         (mkstemp): Likewise.
6551         (ptsname): Likewise.
6552         (random): Likewise.
6553         (realpath): Likewise.
6554         (setstate): Likewise.
6555         (srandom): Likewise.
6556         (ttyslot): Likewise.
6557         (unlockpt): Likewise.
6558         (valloc): Likewise.
6560         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6561         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6562         variable.
6564 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6566         [BZ #20072]
6567         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6568         init_cpu_features only if SHARED is defined.
6569         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6571 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6573         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6574         non-inclusive caches on Intel processors.
6576 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6578         * malloc/malloc.c (dumped_main_arena_start)
6579         (dumped_main_arena_end): New variables.
6580         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6581         (do_check_chunk): Skip dumped fake mmapped chunks.
6582         (munmap_chunk): Likewise.
6583         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6584         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6585         mmapped chunks.
6586         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6587         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6588         and dumped_main_arena_end to cover the dumped heap.
6590 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6592         * conform/data/time.h-data (getdate_err): Do not expect for
6593         [XPG3].
6594         (getdate): Likewise.
6595         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6596         variable.
6598         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6599         (F_ULOCK): Likewise.
6600         (F_TEST): Likewise.
6601         (F_TLOCK): Likewise.
6602         (useconds_t): Likewise.
6603         (intptr_t): Do not expect for [XPG3] or [XPG4].
6604         (brk): Do not expect for [XPG3]
6605         (fchown): Likewise.
6606         (fchdir): Likewise.
6607         (ftruncate): Likewise.
6608         (getdtablesize): Likewise.
6609         (gethostid): Likewise.
6610         (getpagesize): Likewise.
6611         (getpgid): Likewise.
6612         (getsid): Likewise.
6613         (getwd): Likewise.
6614         (lchown): Likewise.
6615         (lockf): Likewise.
6616         (readlink): Likewise.
6617         (sbrk): Likewise.
6618         (setpgrp): Likewise.
6619         (setregid): Likewise.
6620         (setreuid): Likewise.
6621         (symlink): Likewise.
6622         (sync): Likewise.
6623         (truncate): Likewise.
6624         (ualarm): Likewise.
6625         (usleep): Likewise.
6626         (vfork): Likewise.
6627         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6628         variable.
6630         [BZ #20054]
6631         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6632         not [__USE_UNIX98].
6633         * conform/data/unistd.h-data (gethostname): Do not expect for
6634         [XPG3].
6636         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6637         [!POSIX] (S_IFBLK): Likewise.
6638         [!POSIX] (S_IFCHR): Likewise.
6639         [!POSIX] (S_IFIFO): Likewise.
6640         [!POSIX] (S_IFREG): Likewise.
6641         [!POSIX] (S_IFDIR): Likewise.
6642         [!POSIX] (S_IFLNK): Likewise.
6643         [!POSIX] (S_IFSOCK): Likewise.
6644         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6645         variable.
6646         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6648 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6650         * sysdeps/aarch64/memset.S (__memset):
6651         Rewrite of optimized memset.
6653 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6655         [BZ #19703]
6656         Partially async-signal-safe fork for single-threaded processes.
6657         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6658         variable.  Do not acquire and reset/release malloc and libio locks
6659         in single-threaded processes.
6660         * malloc/tst-mallocfork2.c: New file.
6661         * malloc/Makefile (tests): Add it.
6663 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6665         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6666         argument.  Use scratch buffer instead of extend_alloca.
6667         (gethosts): Use scratch buffer instead of extend_alloca.
6668         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6669         extend_alloca.
6670         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6672 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6674         [BZ #20055]
6675         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6676         instead of [__USE_UNIX98].
6677         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6678         [__USE_UNIX98].
6679         * conform/data/termios.h-data (tcgetsid): Do not expect for
6680         [XPG3].
6681         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6682         variable.
6683         (test-xfail-XPG4/termios.h/conform): Likewise.
6685 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6687         Do not use mcheck in localedef.
6688         * locale/programs/localedef.c (turn_on_mcheck)
6689         (__malloc_initialize_hook): Remove.
6691 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6693         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6694         * sysdeps/s390/s390-64/Makefile: Likewise.
6696 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6698         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6699         Remove ifunc-defines.sym.
6700         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6701         Likewise.
6702         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6703         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6704         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6705         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6706         rtld-global-offsets.sym.
6707         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6708         * sysdeps/x86/cpu-features-offsets.sym: This.
6709         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6710         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6712 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #20073]
6715         * io/sys/stat.h (fchmod): Declare for
6716         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6717         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6718         variable.
6720         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6721         [XPG3] (S_IFSOCK): Likewise.
6722         [XPG3] (S_ISVTX): Likewise.
6723         [XPG3] (S_ISLNK): Likewise.
6724         [XPG3] (S_ISSOCK): Likewise.
6725         [XPG3] (fchmod): Likewise.
6726         [XPG3] (lstat): Likewise.
6727         [XPG3] (mknod): Likewise.
6729         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6730         [XPG3].  Expect type long and XFAIL for [XPG4].
6731         (st_blocks): Likewise.
6733         [BZ #20044]
6734         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6735         (pthread_atfork): New prototype.
6736         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6737         variable.
6739         [BZ #20043]
6740         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6741         prototype.
6743 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6745         [BZ #20017]
6746         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6747         gmtime.
6749 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6751         [BZ #19994]
6752         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6753         flag in _res.options.
6755 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6757         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6758         [XPG3 || XPG4].
6759         (blksize_t): Likewise.
6760         (clockid_t): Likewise.
6761         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6762         variable.
6763         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6765 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6767         * sysdeps/unix/sysv/linux/s390/init-first.c:
6768         Add VDSO_SYMBOL(getcpu).
6769         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6770         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6771         Add VDSO_SYMBOL(getcpu).
6772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6773         New define HAVE_GETCPU_VSYSCALL.
6774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6776 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6778         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6779         instead of <sysdeps/x86_64/cacheinfo.c>.
6780         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6781         * sysdeps/x86/cacheinfo.c: Here.
6783 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6785         * malloc/malloc-internal.h: Adjust header file guard.
6787 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6789         [BZ #19787]
6790         * inet/getnameinfo.c (check_sprintf_result): New function.
6791         (CHECKED_SNPRINTF): New macro.
6792         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6793         to the host buffer.
6794         (gni_host_local): Use checked_copy to copy the host name.
6795         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6796         (gni_serv_local): Use checked_copy to copy the service name.
6797         (getnameinfo): Remove unnecessary truncation of result buffers.
6799 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6801         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6802         in case of inet_ntop failure.
6804 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6806         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6807         avoid long lines.
6808         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6809         variables.
6810         (gni_host_inet, gni_host_local): Add comment.
6811         (gni_host): Add comment.  Use temporary to avoid long lines.
6813 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6815         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6816         registers specifiers where general purpose registers specifiers should
6817         have been used.
6819 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6821         [BZ #19779]
6822         CVE-2016-1234
6823         Avoid copying names of directory entries.
6824         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6825         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6826         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6827         (struct readdir_result): New type.
6828         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6829         (GL_READDIR): New macros.
6830         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6831         (convert_dirent, convert_dirent64): New functions.
6832         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6833         convert_dirent64.  Adjust references to the readdir result.
6834         * sysdeps/unix/sysv/linux/i386/glob64.c:
6835         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6836         * posix/bug-glob2.c (LONG_NAME): Define.
6837         (filesystem): Add LONG_NAME.
6838         (my_DIR): Increase the size of room_for_dirent.
6840 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #20041]
6843         * misc/sys/select.h (__need_timespec): Only define if
6844         [__USE_XOPEN2K].
6845         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6846         variable.
6847         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6848         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6849         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6851 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6852             Segher Boessenkool  <segher@gcc.gnu.org>
6854         [BZ #20004]
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6856         (__novec_swapcontext): Add missing load.
6858 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6860         [BZ #20023]
6861         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6862         <time.h>.
6863         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6864         variable.
6865         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6867 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6870         flags CLONE_VM compare.
6872 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6874         [BZ #20031]
6875         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6876         completely empty.
6878 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6880         [BZ #19573]
6881         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6882         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6883         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6884         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6885         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6886         (hesiod_free_list): Mark as hidden.
6887         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6888         res_set, res_get.
6889         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6890         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6891         (hesiod_init): Remove obsolete res_ninit call.
6892         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6893         (hesiod_bind): Do not call init.
6894         (get_txt_records): Use res_mkquery, res_send instead of
6895         res_nmkquery, res_nsend.
6896         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6897         instead of _nss_hesiod_init.
6898         (_nss_hesiod_initgroups_dyn): Likewise.
6899         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6900         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6901         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6903 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6905         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6906         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6908 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6910         * hesiod/hesiod.h: Remove RCS keyword.
6911         * hesiod/hesiod_p.h: Likewise.
6913         * hesiod/hesiod.c: Likewise.
6915 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6917         [BZ #12450]
6918         * locale/iso-639.def: Add Samogitian/sgs.
6920 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6922         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6924         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6926 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6927             Carlos O'Donell  <carlos@redhat.com>
6929         [BZ #19072]
6930         * grp/Makefile (headers): Add grp-merge.h
6931         (routines): Add grp-merge.
6932         * grp/getgrgid_r.c: Include grp-merge.h.
6933         (DEEPCOPY_FN): Define.
6934         (MERGE_FN): Define.
6935         * grp/getgrname_r.c: Include grp-merge.h.
6936         (DEEPCOPY_FN): Define.
6937         (MERGE_FN): Define.
6938         * grp/grp-merge.c: New file.
6939         * grp/grp-merge.h: New file.
6940         * include/grp-merge.h: New file.
6941         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6942         __copy_grp@GLIBC_PRIVATE.
6943         * manual/nss.texi (Actions in the NSS configuration): Describe
6944         return, continue, and merge.
6945         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6946         (DEEPCOPY_FN): Define.
6947         (MERGE_FN): Define.
6948         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6949         (DEEPCOPY_FN): Define.
6950         (MERGE_FN): Define.
6951         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6952         [!MERGE_FN]: Define __merge_einval.
6953         (CHECK_MERGE): Define.
6954         (REENTRANT_NAME): Process merge if do_merge is true.
6955         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6956         (__nss_getent_r): Likewise.
6957         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6958         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6960 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6962         [BZ #20012]
6963         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6964         length to calculate the buffer to read.
6965         (fmemopen_write): Set the buffer position based on bytes written.
6966         (fmemopen_seek): Return EINVAL for invalid whence modes.
6968         [BZ #19957]
6969         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6970         tst-getpid2.
6971         (test): Add tst-clone2.
6972         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6973         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6974         pid/tid fields for CLONE_VM.
6975         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6976         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6977         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6978         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6979         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6980         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6981         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6982         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6984         Likewise.
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6988         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6989         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6990         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6991         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6992         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6993         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6994         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6996 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6998         [BZ #19642]
6999         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7000         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7001         (gni_serv_local, gni_serv): New functions extracted from
7002         getnameinfo.
7003         (getnameinfo): Call gni_host and gni_serv to perform the
7004         processing.  Always free scratch buffer.
7006 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7008         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7009         remaining bytes in the dest string, with zeros.
7011 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7013         [BZ #20010]
7014         CVE-2016-3706
7015         * sysdeps/posix/getaddrinfo.c
7016         (convert_hostent_to_gaih_addrtuple): New function.
7017         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7018         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7019         AF_INET data.
7021 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7023         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7024         callback function gl_readdir.
7025         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7026         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7027         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7028         memcpy to copy the name.
7029         * manual/pattern.texi (Calling Glob): Document requirements for
7030         implementations of the gl_readdir callback function.
7031         * manual/examples/mkdirent.c: New example.
7032         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7033         per the manual guidance.
7034         * posix/tst-gnuglob.c (my_readdir): Likewise.
7036 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7038         [BZ #20014]
7039         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7040         not [__USE_POSIX].
7041         (getchar_unlocked): Likewise.
7042         (putc_unlocked): Likewise.
7043         (putchar_unlocked): Likewise.
7044         (flockfile): Likewise.
7045         (ftrylockfile): Likewise.
7046         (funlockfile): Likewise.
7047         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7048         variable.
7049         (test-xfail-XPG4/stdio.h/conform): Likewise.
7051         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7052         Expect constant.
7053         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7054         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7055         variable.
7056         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7057         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7059         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7060         [__USE_LARGEFILE64] (off64_t): Likewise.
7061         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7062         variable.
7064 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7066         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7068 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7070         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7071         * resolv/res_init.c: Likewise.
7072         * resolv/res_mkquery.c: Likewise.
7074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7076         * resolv/res_init.c (isascii): Do not define.  Use definition in
7077         <ctype.h>.
7078         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7079         (LOG_AUTH): Remove.
7080         (SPRINTF): Remove, adjust caller.
7081         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7083 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7086         SUNSECURITY conditional.
7087         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7091         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7092         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7093         Remove BSD-related preprocessor conditionals.
7094         * conf/portability.h: Remove.
7096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7098         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7099         * resolv/res_data.c: Likewise.
7101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7103         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7104         * resolv/res_data.c: Remove code conditional on ultrix.
7106 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7108         * resolv/res_init.c (RFC1535): Do not define.  Remove
7109         RFC1535 preprocessor conditionals.
7110         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7111         because there configuration options which make the resolver
7112         behavior different.
7114 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7116         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7117         RESOLVSORT preprocessor conditionals.
7118         * resolv/nss_dns/dns-host.c: Likewise.
7119         * resolv/res_init.c: Likewise.
7121 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7123         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7124         is never defined.
7126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7128         * inet/inet_lnaof.c: Remove SCSS keyword.
7129         * inet/inet_mkadr.c: Likewise.
7130         * inet/inet_net.c: Likewise.
7131         * inet/inet_netof.c: Likewise.
7132         * inet/rcmd.c: Likewise.
7133         * inet/rexec.c: Likewise.
7134         * inet/ruserpass.c: Likewise.
7136 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7138         * resolv/inet_addr.c: Remove _LIBC conditionals.
7139         * resolv/res_data.c: Likewise.
7140         * resolv/res_init.c: Likewise.
7141         * resolv/res_mkquery.c: Likewise.
7142         * resolv/res_libc.c: Update comment.
7143         * resolv/README: Update.
7145 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7147         * resolv/gethnamaddr.c: Remove SCSS keyword.
7148         * resolv/herror.c: Likewise.
7149         * resolv/inet_addr.c: Likewise.
7150         * resolv/inet_net_ntop.c: Likewise.
7151         * resolv/inet_net_pton.c: Likewise.
7152         * resolv/inet_neta.c: Likewise.
7153         * resolv/inet_ntop.c: Likewise.
7154         * resolv/inet_pton.c: Likewise.
7155         * resolv/ns_date.c: Remove RCS keyword.
7156         * resolv/ns_name.c: Likewise.
7157         * resolv/ns_netint.c: Likewise.
7158         * resolv/ns_parse.c: Likewise.
7159         * resolv/ns_print.c: Likewise.
7160         * resolv/ns_samedomain.c: Likewise.
7161         * resolv/ns_ttl.c: Likewise.
7162         * resolv/nsap_addr.c: Likewise.
7163         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7164         * resolv/res_data.c: Remove RCS keyword.
7165         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7166         * resolv/res_init.c: Likewise.
7167         * resolv/res_mkquery.c: Likewise.
7168         * resolv/res_query.c: Likewise.
7169         * resolv/res_send.c: Likewise.
7171 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7173         * conform/data/stdio.h-data (fdopen): Expect also for
7174         [XPG3 || XPG4].
7176         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7177         (fseeko): Likewise.
7178         (ftello): Likewise.
7179         (ftrylockfile): Likewise.
7180         (funlockfile): Likewise.
7181         (getc_unlocked): Likewise.
7182         (getchar_unlocked): Likewise.
7183         (putc_unlocked): Likewise.
7184         (putchar_unlocked): Likewise.
7186 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7188         [BZ #19868]
7189         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7190         DNS packet syntax checks (which were not needed before).  Skip
7191         over non-PTR records.
7193 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7195         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7196         definition.  Include <stddef.h> instead.
7198 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7200         [BZ #19831]
7201         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7202         function.
7203         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7204         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7206 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7208         [BZ #19862]
7209         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7210         (getanswer_r): Do not call syslog.
7211         (gaih_getanswer_slice): Likewise.
7212         * resolv/gethnamaddr.c (AskedForGot): Remove.
7213         (getanswer): Do not call syslog.
7214         (gethostbyaddr): Likewise.
7216 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7218         * conform/data/signal.h-data (union sigval): Expect also if
7219         [XOPEN2K].
7220         (struct sigevent): Likewise.
7221         (SIGEV_NONE): Likewise.
7222         (SIGEV_SIGNAL): Likewise.
7223         (SIGEV_THREAD): Likewise.
7224         (SIGRTMIN): Likewise.
7225         (SIGRTMAX): Likewise.
7226         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7227         variable.
7228         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7230 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7232         [BZ #19830]
7233         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7234         (gaih_getanswer_slice): Likewise.
7235         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7236         Also check for availability of RR metadata.
7238 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7240         [BZ #19825]
7241         * resolv/res_send.c (send_vc): Remove early *resplen2
7242         initialization.  Set *resplen2 on socket error.  Call
7243         close_and_return_error for other errors.
7245 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7247         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7248         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7249         (SCM_IUCV_TRGCLS): New define.
7251 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7253         [BZ #20005]
7254         * libio/fmemopen.c (fmemopen_write): Update internal position after
7255         write.
7256         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7257         * stdio-common/tst-fmemopen4.c: New file..
7259 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7261         [BZ #19996]
7262         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7263         not [__USE_XOPEN2K].
7264         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7265         variable.
7267         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7268         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7269         variable.
7271         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7272         [__USE_XOPEN2K8].
7273         [__USE_LARGEFILE64] (off64_t): Likewise.
7274         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7275         variable.
7277 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #19989]
7280         * libio/stdio.h (cuserid): Do not declare if
7281         [__USE_XOPEN2K && !__USE_GNU].
7282         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7283         variable.
7285 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7287         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7288         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7290         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7291         ifunc'ed strcspn.
7292         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7293         [EALIGN]: Removed.
7294         [END]: Likewise
7295         [STRSPN]: Define instead of the above to control symbol name.
7296         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7297         New file.
7298         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7299         Likewise.
7300         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7301         Likewise.
7302         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7303         Likewise.
7304         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7305         [INITIAL_MASK]: New macro.
7306         [STRCSPN]: Likewise.
7307         [UPDATE_MASK]: Likewise.
7308         [USE_AS_STRCSPN]: Lisewise.
7310 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7312         [BZ #19931]
7313         * stdio-common/tst-vfprintf-width-prec.c: New file.
7314         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7315         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7316         (generated): Add mtrace-related files.
7317         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7318         (tst-%-mem.out): New pattern rule, replaces
7319         tst-printf-bz18872-mem.out.
7320         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7321         specifier, deallocate any previously allocated work buffer.
7323 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7325         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7326         Add nop before __startcontext, add explaining comments.
7328 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7330         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7331         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7332         completely different API.
7334         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7335         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7336         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7337         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7338         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7339         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7340         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7341         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7342         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7343         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7345 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7347         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7349 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7351         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7352         when it is the default of 0.
7354 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7356         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7357         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7358         (sysdep_routines): Add new strcasestr targets.
7359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7360         (__libc_ifunc_impl_list): Likewise.
7361         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7362         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7363         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7364         * sysdeps/powerpc/powerpc64/power8/Makefile:
7365         New file to add strcasestr-ppc64 to sysdep_routines.
7366         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7367         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7369 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7371         * benchtests/Makefile (wcsmbs-benchset): Include only for
7372         native builds and runs.
7373         (LOCALES): Likewise.
7374         (bench-build): Build timing-type here instead of the bench
7375         target.  Generate locale only for native builds.
7376         * benchtests/README: Add note for cross-building.
7378         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7380         * benchtests/README: Update README to include instructions on
7381         using bench-build.
7383         * Makefile.in (bench-build): New target.
7384         * Rules (PHONY): Add bench-build target.
7385         * benchtests/Makefile (bench): Depend on bench-build.
7386         (bench-build): New target.
7388 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7390         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7391         profil_reply_port.
7392         (profile_waiter): Do not initialize profil_reply_port.
7393         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7394         frequency instead of tick length in us.
7396 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7398         [BZ #18712]
7399         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7400         (__old_mempcpy_small): Likewise.
7401         (__old_strcpy_small): Likewise.
7402         (__old_stpcpy_small): Likewise.
7403         (__old_strpbrk_c2): Fix compat symbol name.
7404         (__old_strpbrk_c3): Likewise.
7405         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7406         (__mempcpy_small): Remove.
7407         (__strcpy_small): Remove.
7408         (__stpcpy_small): Remove.
7410 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7412         [BZ #19400]
7413         * locale/iso-639.def: Add the Talossan/tzl language.
7415 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7417         [BZ #16983]
7418         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7419         comment.  Add "ln" to strchr check on postal_fmt.
7421 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7423         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7424         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7425         tel_dom_fmt.
7427 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7429         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7430         (sysdep_routines): Added __strlen_power8.
7431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7432         __strlen_power8 entry.
7433         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7434         Implementation for POWER8.
7435         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7436         for __strlen_power8.
7437         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7438         Implementation for POWER8.
7440 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7442         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7444 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7446         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7447         Goldmont and Airmont processors.
7449 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7451         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7452         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7453         (__STRING2_SMALL_GET32): Remove.
7454         (memset): Remove.
7455         (__memset_1): Remove.
7456         (__memset_gc): Remove.
7457         (__mempcpy): Remove.
7458         (mempcpy): Remove.
7459         (__mempcpy_args): Remove.
7460         (strchr): Remove.
7461         (strcpy): Remove.
7462         (strcpy_args): Remove.
7463         (__stpcpy_args): Remove.
7464         (__strcmp_cc): Remove.
7465         (__strcmp_gc): Remove.
7466         (strstr): Remove.
7468 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7470         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7471         * nis/nis_call.c (nis_server_cache_add): Likewise.
7473 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7475         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7477 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7479         * malloc/arena.c (__malloc_fork_lock_parent)
7480         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7481         internal_function attribute.
7483 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7485         * stdio-common/printf_fp.c (__printf_fp_l):
7486         Rename ___printf_fp_l to __printf_fp_l and
7487         remove strong alias. Use libc_hidden_def instead
7488         of ldbl_hidden_def macro.
7490 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7492         Remove malloc hooks from fork handler.  They are no longer needed
7493         because malloc runs right before fork, and no malloc calls from
7494         other fork handlers are not possible anymore.
7495         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7496         declarations.
7497         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7498         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7499         (atfork_recursive_cntr): Remove.
7500         (__malloc_fork_lock_parent): Do not override malloc hooks and
7501         thread_arena.
7502         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7503         thread_arena.
7504         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7505         thread_arena instead of save_arena.
7507 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7509         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7510         (thread_atfork, thread_atfork_static): Remove.
7511         * sysdeps/mach/hurd/malloc-machine.h:
7512         (thread_atfork, thread_atfork_static): Remove.
7514 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7516         [BZ #19431]
7517         Run the malloc fork handler as late as possible to avoid deadlocks.
7518         * malloc/malloc-internal.h: New file.
7519         * malloc/malloc.c: Include it.
7520         * malloc/arena.c (ATFORK_MEM): Remove.
7521         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7522         Update comment.
7523         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7524         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7525         Remove outdated comment.
7526         (ptmalloc_init): Do not call thread_atfork.  Remove
7527         thread_atfork_static.
7528         * malloc/tst-malloc-fork-deadlock.c: New file.
7529         * Makefile (tests): Add tst-malloc-fork-deadlock.
7530         (tst-malloc-fork-deadlock): Link against libpthread.
7531         * manual/memory.texi (Aligned Memory Blocks): Update safety
7532         annotation comments.
7533         * sysdeps/nptl/fork.c (__libc_fork): Call
7534         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7535         __malloc_fork_unlock_child.
7536         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7538 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7540         [BZ #19613]
7541         Remove union wait.
7542         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7543         (w_stopsig, w_stopval): Remove.
7544         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7545         stat_loc argument.
7546         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7547         (__WAIT_STATUS_DEFN): Remove.
7548         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7549         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7550         (wait, wait3, wait4): Use int * for the stat_loc argument.
7551         * posix/wait.c (__wait): Likewise.
7552         * posix/wait3.c (__wait3): Likewise.
7553         * posix/wait4.c (__wait4): Likewise.
7554         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7555         (__WAIT_STATUS_DEFN): Remove.
7556         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7557         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7558         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7559         argument.
7560         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7561         * sysdeps/posix/wait3.c (__wait3): Likewise.
7562         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7563         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7564         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7565         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7566         stat_loc argument.
7567         * manual/process.texi (BSD Wait Functions): Remove union wait.
7569 2016-04-13  Andreas Schwab  <schwab@suse.de>
7571         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7572         (test-extras): Add tst-tlsalign-vars.
7573         * math/Makefile: Wrap long lines.
7574         (libm-vec-test-wrappers): Define.
7575         (test-extras): Add $(libm-vec-test-wrappers).
7576         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7577         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7578         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7579         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7580         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7581         (extra-test-objs): Add corresponding objects.
7583 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7585         [BZ #19928]
7586         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7587         New.
7588         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7589         times of shared cache size.
7590         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7591         (VMOVNT): New.
7592         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7593         (VMOVNT): Likewise.
7594         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7595         (VMOVNT): Likewise.
7596         (VMOVU): Changed to movups for smaller code sizes.
7597         (VMOVA): Changed to movaps for smaller code sizes.
7598         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7599         comments.
7600         (PREFETCH): New.
7601         (PREFETCH_SIZE): Likewise.
7602         (PREFETCHED_LOAD_SIZE): Likewise.
7603         (PREFETCH_ONE_SET): Likewise.
7604         Rewrite to use forward and backward loops, which move 4 vector
7605         registers at a time, to support overlapping addresses and use
7606         non temporal store if size is above the threshold and there is
7607         no overlap between destination and source.
7609 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7611         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7612         Include dl-vdso.
7613         * sysdeps/unix/sysv/linux/mips/Versions: Add
7614         __vdso_clock_gettime.
7615         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7616         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7617         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7618         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7619         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7620         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7621         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7622         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7623         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7625 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7627         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7628         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7630         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7631         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7632         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7635         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7637         syscalls generation.
7638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7639         [__NR_pwrite64] (__NR_write): Remove define.
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7641         [__NR_pwrite64] (__NR_write): Remove define.
7642         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7643         Remove define.
7644         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7645         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7646         Remove define.
7647         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7648         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7649         Linux implementation as base.
7650         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7652         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7653         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7658         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7660         syscall generation.
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7662         [__NR_pread64] (__NR_pread): Remove define.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7664         [__NR_pread64] (__NR_pread): Likewise.
7665         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7666         define.
7667         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7668         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7669         Remove define.
7670         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7671         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7672         Linux implementation as base.
7673         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7674         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7675         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7677         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7678         definition.
7679         (__ALIGNMENT_COUNT): Likewise.
7680         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7681         (__ALIGNMENT_COUNT): Likewise.
7682         (SYSCALL_LL): New define.
7683         (SYSCALL_LL64): Likewise.
7684         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7685         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7686         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7687         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7689         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7690         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7692         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7693         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7694         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7696 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7698         [BZ #19865]
7699         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7700         original buffer before retry.
7702 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7704         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7705         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7706         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7707         GLRO(dl_auxv) list.
7708         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7709         including <ldsodefs.h>.
7710         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7712 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7714         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7715         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7716         $(CPPFLAGS).
7718 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7720         [BZ #17950]
7721         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7722         Add -mfpmath=387.
7724 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7726         * sysdeps/i386/configure.ac: Change == to = when calling test.
7727         * sysdeps/x86_64/configure.ac: Likewise.
7728         * sysdeps/i386/configure: Regenerated.
7729         * sysdeps/x86_64/configure: Likewise.
7731 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7733         [BZ #16137]
7734         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7735         * benchtests/bench-strcoll.c (input_files): Likewise.
7736         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7737         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7738         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7740 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7742         [BZ #19929]
7743         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7744         [__USE_XOPEN2K8 && !__USE_GNU].
7745         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7746         variable.
7748         [BZ #19925]
7749         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7750         define if [!__USE_MISC && __USE_XOPEN2K].
7751         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7752         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7753         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7754         Likewise.
7755         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7756         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7757         variable.
7758         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7760 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7762         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7763         (sysdep_routines): Add new strspn targets.
7764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7765         (__libc_ifunc_impl_list): Add strspn.
7766         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7767         New file.
7768         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7769         Likewise.
7770         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7771         Likewise.
7772         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7773         Likewise.
7775 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7777         * misc/hsearch_r.c: Include <limits.h>.
7779 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7781         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7783 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7785         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7786         (MEMCPY_SYMBOL): New.
7787         (MEMPCPY_SYMBOL): Likewise.
7788         (MEMMOVE_CHK_SYMBOL): Likewise.
7789         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7790         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7791         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7792         Provide alias for memcpy in libc.a and ld.so.
7794 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7796         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7797         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7798         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7799         Disabled fro now.
7800         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7801         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7803 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7805         * benchtests/Makefile (string-benchset): Add memcpy-large,
7806         memmove-large and memset-large.
7807         * benchtests/bench-memcpy-large.c: New file.
7808         * benchtests/bench-memmove-large.c: Likewise.
7809         * benchtests/bench-memmove-large.c: Likewise.
7810         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7812 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7814         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7815         32-bit displacement to avoid long nop between instructions.
7817 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7819         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7820         a comment on VMOVU and VMOVA.
7822 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7824         [BZ #19633]
7825         Use specified locale for number formatting in strfmon_l.
7826         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7827         (__nl_lookup_word): New inline functions.
7828         * include/printf.h (__print_fp_l): Declare.
7829         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7830         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7831         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7832         (___printf_fp): New function.
7833         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7834         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7835         * stdlib/tst-strfmon_l.c (do_test): New test.
7836         * stdlib/Makefile (tests): Add kt.
7837         (LOCALES): Build additional locales.
7838         (tst-strfmon_l.out): Require locales.
7840 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7842         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7843         if not in libc.
7844         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7845         Likewise.
7846         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7847         Likewise.
7848         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7849         Likewise.
7851 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7853         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7854         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7855         with unaligned_erms.
7856         (__memmove_erms): Skip if source == destination.
7857         (__memmove_unaligned_erms): Don't check source == destination
7858         first.
7860 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7862         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7863         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7865 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7867         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7868         * string/strspn.c (strspn): Likewise.
7870 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7872         * benchtests/bench-memset.c (do_test): Support 64-byte
7873         alignment.
7874         (test_main): Test 64-byte alignment.
7876 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7878         * benchtests/bench-memmove.c (test_main): Test 64-byte
7879         alignment.
7881 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7883         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7885 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7887         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7888         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7889         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7891         * string/strpbrk.c (strpbrk): Rewrite function.
7892         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7893         (__strpbrk_c2): Likewise.
7894         (__strpbrk_c3): Likewise.
7895         * string/string-inlines.c
7896         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7897         Likewise.
7898         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7899         Likewise.
7901         * string/strspn.c (strcspn): Rewrite function.
7902         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7903         (__strspn_c1): Remove inline function.
7904         (__strspn_c2): Likewise.
7905         (__strspn_c3): Likewise.
7906         * string/string-inlines.c
7907         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7908         compatibility symbol.
7909         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7910         Likewise.
7911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7912         Likewise.
7913         * string/string-inlines.c: Include generic version.
7915 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7916             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7918         * string/Version (libc): Add GLIBC_2.24.
7919         * string/strcspn.c (strcspn): Rewrite function.
7920         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7921         (__strcspn_c1): Remove inline function.
7922         (__strcspn_c2): Likewise.
7923         (__strcspn_c3): Likewise.
7924         * string/string-inline.c
7925         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7926         compatibility symbol.
7927         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7928         Likewise.
7929         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7930         Likewise.
7931         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7933 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7935         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7936         Use ahi instead of aghi to adjust stack pointer.
7938 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7940         [BZ #19853]
7941         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7942         TEST to take significant digits as second parameter.
7943         [TEST]: Redefine in terms of TEST_N taking 30
7944         significant digits.
7945         (do_test): Add test case to demonstrate precision
7946         failure in the ldbl-128ibm printf.
7947         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7948         (__mpn_extract_long_double): Carry 7 extra intermediate
7949         bits of precision to aide computing difference when
7950         signs differ.
7952 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7954         [BZ #19881]
7955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7956         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7957         memset-avx512-unaligned-erms.
7958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7959         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7960         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7961         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7962         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7963         __memset_sse2_unaligned_erms, __memset_erms,
7964         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7965         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7966         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7967         file.
7968         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7969         Likewise.
7970         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7971         Likewise.
7972         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7973         Likewise.
7975 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7977         [BZ #19776]
7978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7979         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7980         memmove-avx512-unaligned-erms.
7981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7982         (__libc_ifunc_impl_list): Test
7983         __memmove_chk_avx512_unaligned_2,
7984         __memmove_chk_avx512_unaligned_erms,
7985         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7986         __memmove_chk_sse2_unaligned_2,
7987         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7988         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7989         __memmove_avx512_unaligned_erms, __memmove_erms,
7990         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7991         __memcpy_chk_avx512_unaligned_2,
7992         __memcpy_chk_avx512_unaligned_erms,
7993         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7994         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7995         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7996         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7997         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7998         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7999         __mempcpy_chk_avx512_unaligned_erms,
8000         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8001         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8002         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8003         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8004         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8005         __mempcpy_erms.
8006         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8007         file.
8008         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8009         Likwise.
8010         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8011         Likwise.
8012         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8013         Likwise.
8015 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8017         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8018         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8019         (La_s390_64_regs): Likewise.
8020         (La_s390_32_retval): Append vector register lrv_v24.
8021         (La_s390_64_retval): Likeweise.
8022         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8023         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8024         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8025         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8027 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8029         [BZ #19916]
8030         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8031         to create a non-vector/vector version for _dl_runtime_resolve and
8032         _dl_runtime_profile. Move implementation to ...
8033         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8034         (_dl_runtime_resolve) Save and restore fpr/vrs.
8035         (_dl_runtime_profile) Save and restore vrs and fix some issues
8036         if _dl_call_pltexit is called.
8037         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8038         Choose the correct resolver function if running on a machine with vx.
8039         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8040         to create a non-vector/vector version for _dl_runtime_resolve and
8041         _dl_runtime_profile. Move implementation to ...
8042         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8043         (_dl_runtime_resolve) Save and restore fpr/vrs.
8044         (_dl_runtime_profile) Save and restore vrs and fix some issues
8045         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8046         Choose the correct resolver function if running on a machine with vx.
8048 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8050         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8052 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8054         [BZ #19509]
8055         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8056         skip_map != NULL.
8057         * elf/tst-dlsym-error.c: New file.
8058         * elf/Makefile (tests): Add tst-dlsym-error.
8059         (tst-dlsym-error): Link against libdl.
8061 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8063         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8064         (__ASSUME_FUTIMESAT): Remove macro.
8065         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8067 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8069         [BZ #19879]
8070         CVE-2016-3075
8071         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8072         copy name.
8074 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8076         [BZ #19837]
8077         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8078         error if parse_line fails.
8080 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8082         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8083         (index_cpu_ERMS): Likewise.
8084         (reg_ERMS): Likewise.
8086 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8088         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8089         PER_LINUX_FDPIC): Add.
8091 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8094         memcpy-avx512-no-vzeroupper.
8095         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8096         to ...
8097         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8098         (MEMCPY): Don't define.
8099         (MEMCPY_CHK): Likewise.
8100         (MEMPCPY): Likewise.
8101         (MEMPCPY_CHK): Likewise.
8102         (MEMPCPY_CHK): Renamed to ...
8103         (__mempcpy_chk_avx512_no_vzeroupper): This.
8104         (MEMPCPY_CHK): Renamed to ...
8105         (__mempcpy_chk_avx512_no_vzeroupper): This.
8106         (MEMCPY_CHK): Renamed to ...
8107         (__memmove_chk_avx512_no_vzeroupper): This.
8108         (MEMCPY): Renamed to ...
8109         (__memmove_avx512_no_vzeroupper): This.
8110         (__memcpy_avx512_no_vzeroupper): New alias.
8111         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8113 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8115         [BZ #18858]
8116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8117         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8118         and mempcpy-avx512-no-vzeroupper.
8119         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8120         New.
8121         (MEMPCPY): Likewise.
8122         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8123         (MEMPCPY_CHK): New.
8124         (MEMPCPY): Likewise.
8125         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8126         (MEMPCPY): Likewise.
8127         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8128         (MEMPCPY): Likewise.
8129         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8130         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8131         Likewise.
8132         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8133         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8135 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8136              Amit Pawar  <Amit.Pawar@amd.com>
8138         [BZ #19583]
8139         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8140         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8141         processors.  Set Fast_Copy_Backward for AMD Excavator
8142         processors.
8143         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8144         New.
8145         (index_arch_Fast_Unaligned_Copy): Likewise.
8146         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8147         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8149 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8151         [BZ #19791]
8152         * resolv/res_send.c (close_and_return_error): New function.
8153         (send_dg): Initialize *resplen2 after reopen failure.  Call
8154         close_and_return_error for error returns.  On error paths without
8155         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8156         successful return.
8158 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8160         [BZ# 19860]
8161         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8162         zero if the compiler does not provide the AVX512F bit.
8164 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8166         [BZ #19848]
8167         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8168         from 8 to 4.
8169         (__ieee754_powl): Compare integer exponent against 4 not 8.
8170         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8171         from 8 to 4.
8172         (__ieee754_powl): Compare integer exponent against 4 not 8.
8173         * math/auto-libm-test-in: Add more tests of pow.
8174         * math/auto-libm-test-out: Regenerated.
8175         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8180         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8181         Make code unconditional.
8182         [!__NR_utimensat]: Remove conditional code.
8183         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8184         Make code unconditional.
8185         [!__NR_utimensat]: Remove conditional code.
8186         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8187         Make code unconditional.
8188         [!__NR_utimensat]: Remove conditional code.
8190 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8192         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8193         Make code unconditional.
8195 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8197         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8198         call-clobbered %eax on retry path.
8199         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8201 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8203         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8204         Don't set %rcx twice before "rep movsb".
8206 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8208         [BZ #19583]
8209         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8210         inline.  Check family before setting family, model and
8211         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8212         bits here.
8213         (init_cpu_features): Replace HAS_CPU_FEATURE and
8214         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8215         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8216         for Intel processors with usable AVX2.  Call get_common_indeces
8217         for other processors with family == NULL.
8218         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8219         (CPU_FEATURES_ARCH_P): Likewise.
8220         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8221         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8223 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8225         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8226         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8227         $(shared-thread-library) instead of hardcoding the path to libpthread.
8229 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8231         * sysdeps/unix/sysv/linux/kernel-features.h
8232         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8233         * sysdeps/unix/sysv/linux/getdents.c
8234         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8235         [!have_no_getdents64_defined]: Likewise.
8236         (__GETDENTS): Remove __have_no_getdents64 conditional.
8238 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8241         Remove macro.
8242         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8243         <kernel-features.h>.
8244         (signalfd) [__NR_signalfd4]: Make code unconditional.
8245         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8247 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8249         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8250         style.
8252 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8254         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8255         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8256         __pthread_unwind.
8257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8258         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8260         (__condvar_cleanup1): Likewise.
8262 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8264         [BZ #19822]
8265         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8266         move it to the final $@ location.
8268 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8270         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8271         access where posix_spawn success and pid argument is null.
8272         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8273         success case.
8275 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8277         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8279         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8281         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8282         and __fcntl.
8283         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8284         __fcntl only.
8285         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8286         adding attribute_hidden to __open and __fcntl.
8288         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8289         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8290         depend on libc-modules.h,
8291         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8293 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8296         Remove macro.
8297         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8298         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8299         entry.
8301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8302         Remove macro.
8303         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8304         include <kernel-features.h>.
8305         [!__ASSUME_FALLOCATE]: Remove conditional code.
8306         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8308 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8311         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8313         (_ZGVdN4v_cos_avx2): Likewise.
8314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8315         (_ZGVdN4v_cos): Likewise.
8316         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8317         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8318         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8319         (_ZGVdN4v_exp_avx2): Likewise.
8320         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8321         (_ZGVdN4v_exp): Likewise.
8322         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8323         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8324         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8325         (_ZGVdN4v_log_avx2): Likewise.
8326         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8327         (_ZGVdN4v_log): Likewise.
8328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8329         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8331         (_ZGVdN4vv_pow_avx2): Likewise.
8332         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8333         (_ZGVdN4vv_pow): Likewise.
8334         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8335         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8336         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8337         (_ZGVdN4v_sin_avx2): Likewise.
8338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8339         (_ZGVdN4v_sin): Likewise.
8340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8341         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8343         (_ZGVdN4vvv_sincos_avx2): Likewise.
8344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8345         (_ZGVdN4vvv_sincos): Likewise.
8346         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8347         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8348         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8349         (_ZGVbN4v_cosf_sse4): Likewise.
8350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8351         (_ZGVdN8v_cosf_avx2): Likewise.
8352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8353         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8355         (_ZGVbN4v_expf_sse4): Likewise.
8356         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8357         (_ZGVdN8v_expf_avx2): Likewise.
8358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8359         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8361         (_ZGVbN4v_logf_sse4): Likewise.
8362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8363         (_ZGVdN8v_logf_avx2): Likewise.
8364         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8365         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8367         (_ZGVbN4vv_powf_sse4): Likewise.
8368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8369         (_ZGVdN8vv_powf_avx2): Likewise.
8370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8371         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8373         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8374         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8375         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8377         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8378         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8379         (_ZGVbN4v_sinf_sse4): Likewise.
8380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8381         (_ZGVdN8v_sinf_avx2): Likewise.
8382         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8383         Use JUMPTARGET to call callee.
8384         (WRAPPER_IMPL_SSE2_ff): Likewise.
8385         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8386         (WRAPPER_IMPL_AVX): Likewise.
8387         (WRAPPER_IMPL_AVX_ff): Likewise.
8388         (WRAPPER_IMPL_AVX_fFF): Likewise.
8389         (WRAPPER_IMPL_AVX512): Likewise.
8390         (WRAPPER_IMPL_AVX512_ff): Likewise.
8391         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8392         Likewise.
8393         (WRAPPER_IMPL_SSE2_ff): Likewise.
8394         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8395         (WRAPPER_IMPL_AVX): Likewise.
8396         (WRAPPER_IMPL_AVX_ff): Likewise.
8397         (WRAPPER_IMPL_AVX_fFF): Likewise.
8398         (WRAPPER_IMPL_AVX512): Likewise.
8399         (WRAPPER_IMPL_AVX512_ff): Likewise.
8400         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8402 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8404         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8405         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8406         qualifier.
8407         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8408         internal_function qualifiers.
8410 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8412         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8413         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8414         * math/atest-exp.c (exp_mpn): Mark chk unused.
8415         * math/atest-exp2.c (exp_mpn): Likwise.
8416         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8417         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8419 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8422         Remove macro.
8423         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8424         <kernel-features.h>.
8425         [__NR_ppoll]: Make code unconditional.
8426         [!__ASSUME_PPOLL]: Remove conditional code.
8428         * sysdeps/unix/sysv/linux/kernel-features.h
8429         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8430         (__ASSUME_ACCEPT4): Likewise.
8431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8432         Define.
8433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8434         Likewise.
8435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8436         Likewise.
8437         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8438         Likewise.
8439         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8440         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8441         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8442         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8443         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8444         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8445         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8446         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8447         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8449         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8450         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8451         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8453         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8455         Likewise.
8456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8457         Likewise.
8458         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8459         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8460         0x040300].
8461         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8462         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8464         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8465         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8466         0x030300].
8467         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8468         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8469         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8470         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8471         0x040300].
8472         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8474         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8475         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8476         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8477         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8478         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8479         0x030300].
8480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8481         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8482         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8483         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8484         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8485         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8486         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8487         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8488         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8489         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8490         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8491         0x040300].
8492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8494         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8495         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8498         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8499         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8500         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8502         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8503         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8504         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8505         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8506         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8507         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8508         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8509         Likewise.
8510         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8511         Likewise.
8513 2016-03-15  Andreas Schwab  <schwab@suse.de>
8515         [BZ #19257]
8516         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8517         statp->_u._ext.nscount as loop count.
8519 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8521         * math/test-signgam-finite-c99.c: Also #undef
8522         __LIBC_INTERNAL_MATH_INLINES.
8523         * math/test-signgam-main.c: Likewise.
8525 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8527         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8528         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8529         (MADV_FREE): Likewise.
8530         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8531         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8532         EPOLLEXCLUSIVE.
8534 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8536         * timezone/README: Remove mention of checktab.awk. Mention wiki
8537         SharedSourceFiles.
8539 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8541         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8542         WUNTRACED.
8544 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8546         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8547         order to match the type of p when calling atomic_exchange_acq().
8549 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8551         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8552         cfi_offset calls.
8553         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8554         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8555         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8556         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8557         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8559 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8561         * timezone/checktab.awk: Removed.
8563 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8565         * manual/math.texi (Errors in Math Functions): Document relaxed
8566         accuracy goals for IBM long double.
8567         * math/libm-test.inc (test_exceptions): Always allow spurious
8568         "underflow" and "inexact" exceptions for IBM long double.
8570 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8572         [BZ #19762]
8573         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8574         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8575         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8576         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8577         (bit_arch_*): This for feature array.
8578         (bit_*): Renamed to ...
8579         (bit_cpu_*): This for cpu array.
8580         (index_*): Renamed to ...
8581         (index_arch_*): This for feature array.
8582         (index_*): Renamed to ...
8583         (index_cpu_*): This for cpu array.
8584         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8585         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8586         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8587         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8588         bit_##name with index_cpu_##name and bit_cpu_##name.
8589         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8590         bit_##name with index_arch_##name and bit_arch_##name.
8592 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8594         [BZ #19792]
8595         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8596         Terminate FDE before return label.
8598 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8600         [BZ #19790]
8601         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8602         (rintl): Define as macro.
8603         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8604         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8605         of fesetround.  Ensure results are evaluated before end of scope.
8606         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8607         USE_AS_NEARBYINTL and include s_rintl.c.
8608         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8609         Disable exception traps in new environment.
8610         (libc_feholdsetround_ppc_ctx): Likewise.
8612 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8614         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8615         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8616         (tst_audit10_aux) [__AVX512F__]: ... here.
8618 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8620         * include/sys/auxv.h: New file.
8622 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8624         [BZ #19759]
8625         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8627 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8629         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8630         operand modifier.
8631         (feclearexcept): Likewise.
8633 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8635         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8636         to reflect the entire 32-bit HWCAP.
8637         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8638         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8640 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8642         [BZ #19783]
8643         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8644         $(test-via-rtld-prefix).
8645         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8647 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8649         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8650         union wait.  Report any non-zero exit status as error.
8652 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8654         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8655         configured with --enable-hardcoded-path-in-tests.
8657 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8659         [BZ #19677]
8660         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8661         (__ieee754_remainderl): Put zero low parts in canonical form.
8662         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8663         file.  Based on
8664         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8665         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8666         with wrapper round test-fmodrem-ldbl-128ibm.c.
8667         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8668         file.
8669         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8670         Likewise.
8671         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8672         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8674 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8676         [BZ #19610]
8677         * elf/ldconfig.c (opt_link): Update comment.
8678         (options): Update help string for option -X.
8679         (search_dir): Unlink stale symbolic link only if updating symbolic
8680         links.
8681         * elf/tst-ldconfig-X.sh: New file.
8682         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8683         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8685 2016-03-07  Andreas Schwab  <schwab@suse.de>
8687         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8688         needed arguments.
8690 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8692         [BZ #15333]
8693         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8694         to lstat64.
8696 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8698         * libio/filedoalloc.c (isatty): Remove.
8699         (local_isatty): Add comment.  Call __isatty directly.
8700         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8701         * libio/wfiledoalloc.c (isatty): Remove.
8702         (_IO_wfile_doallocate): Update comment.
8704 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8706         [BZ #19269]
8707         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8708         tst-audit4-aux.o.
8709         (tst-audit10): Depend on tst-audit10-aux.o.
8710         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8711         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8712         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8713         instead of inline AVX code.
8714         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8715         instead of inline AVX512 code.
8716         * sysdeps/x86_64/tst-audit4-aux.c: New file
8717         * sysdeps/x86_64/tst-audit10-aux.c: New file
8719         [BZ #19648]
8720         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8722 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8724         [BZ #14750]
8725         [BZ #10354]
8726         [BZ #18433]
8727         * include/sched.h (__clone): Add hidden prototype.
8728         (__clone2): Likewise.
8729         * include/unistd.h (__dup): Likewise.
8730         * posix/Makefile (tests): Add tst-spawn2.
8731         * posix/tst-spawn2.c: New file.
8732         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8733         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8734         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8735         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8736         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8737         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8738         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8739         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8740         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8741         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8742         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8744         Likewise.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8746         Likewise.
8747         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8748         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8749         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8750         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8751         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8752         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8753         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8754         * sysdeps/unix/sysv/linux/nptl-signals.h
8755         (____nptl_is_internal_signal): New function.
8756         * sysdeps/unix/sysv/linux/spawni.c: New file.
8758         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8759         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8760         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8761         * posix/tst-execvp2.c (do_test): Likewise.
8762         * posix/tst-execvp3.c (do_test): Likewise.
8763         * posix/tst-execvp4.c (do_test): Likewise.
8764         * posix/tst-execvpe1.c: New file.
8765         * posix/tst-execvpe2.c: Likewise.
8766         * posix/tst-execvpe3.c: Likewise.
8767         * posix/tst-execvpe4.c: Likewise.
8768         * posix/tst-execvpe5.c: Likewise.
8769         * posix/tst-execvpe6.c: Likewise.
8771         [BZ #19534]
8772         * posix/execl.c (execl): Remove dynamic memory allocation.
8773         * posix/execle.c (execle): Likewise.
8774         * posix/execlp.c (execlp): Likewise.
8776 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8778         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8779         Replace .text with .text.avx512.
8780         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8781         Likewise.
8783 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8785         * sysdeps/generic/libnsl.abilist: New file.
8786         * sysdeps/generic/libutil.abilist: New file.
8788 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8790         [BZ #19762]
8791         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8792         HAS_ARCH_FEATURE with Fast_Rep_String.
8793         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8794         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8795         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8796         Likewise.
8797         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8798         Likewise.
8799         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8800         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8801         Likewise.
8802         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8803         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8804         Likewise.
8806 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8808         [BZ #19745]
8809         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8810         with *%rax in call.
8812 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8814         [BZ #19745]
8815         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8816         with *__libc_start_main@GOTPCREL(%rip) in call.
8818 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8820         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8821         inside conditional for nonempty $(CXX).
8823         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8824         nonempty.
8826         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8827         to test for empty $(CXX) rather than $(CXX) of "no".
8829 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8831         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8833 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8834             H.J. Lu  <hongjiu.lu@intel.com>
8836         [BZ #18880]
8837         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8838         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8839         enable __memcpy_ssse3_back.
8841 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8843         [BZ #19758]
8844         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8845         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8847 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8849         [BZ #19490]
8850         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8851         (__fentry__): Likewise.
8853 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8855         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8856         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8858 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8860         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8861         __mcount_internal directly.
8862         (C_LABEL(__fentry__)): Likewise.
8863         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8864         directly.
8866 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8868         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8869         (__start_context): Call __setcontext directly.
8871 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8873         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8874         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8875         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8876         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8878         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8879         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8880         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8881         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8882         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8883         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8884         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8885         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8886         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8887         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8888         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8889         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8891         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8892         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8893         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8895         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8896         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8897         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8898         Remove conditional code.
8899         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8900         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8901         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8902         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8903         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8904         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8905         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8906         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8907         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8908         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8909         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8910         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8912 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8914         * NEWS (2.23): Fix typo in bug 19048 text.
8916 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8918         [BZ #14259]
8919         * Makeconfig: Rename msgcatdir to localedir.
8920         Rename inst_msgcatdir to inst_localedir.
8921         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8922         * config.make.in: Add localedir.
8923         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8924         (ldd-rewrite): Likewise.
8925         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8926         (install-others): Use inst_localedir.
8927         (CPPFLAGS): Use localedir.
8928         * locale/Makefile (locale-CPPFLAGS): Likewise.
8929         * po/Makefile (mo-installed): Use inst_localedir.
8931         [BZ #19575]
8932         * localedata/charmaps/GB18030: Update comments regarding PAU to
8933         non-PUA mappings.
8935 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8937         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8938         test for header.
8939         * sysdeps/unix/sysv/linux/configure: Regenerated.
8940         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8941         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8942         Remove conditional code.
8943         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8945         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8946         Define to 3.2.0.
8947         (arch_minimum_kernel): Likewise.
8948         * sysdeps/unix/sysv/linux/configure: Regenerated.
8949         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8950         Define to 2.6.32.
8951         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8952         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8953         (arch_minimum_kernel): Define to 2.6.32.
8954         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8955         * README: Document Linux 3.2 requirement.
8956         * manual/install.texi (Linux): Document Linux 3.2 headers
8957         requirement.
8958         * INSTALL: Regenerated.
8960 2016-02-24  Andreas Schwab  <schwab@suse.de>
8962         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8963         if !NO_LONG_DOUBLE.
8965 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8967         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8968         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8970 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8972         [BZ #19512]
8973         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8975 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8977         * posix/tst-dir.c: Include libc-internal.h.
8979 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8981         [BZ #19056]
8982         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8983         * manual/filesys.texi (Reading/Closing Directory): Mention
8984         deprecaion.
8985         * posix/tst-dir.c (main): Disable deprecation warning in test.
8987 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8989         [BZ #19679]
8990         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8991         Renamed to ...
8992         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8993         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8994         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8995         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8996         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8997         * sysdeps/x86_64/dl-trampoline.h
8998         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8999         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9001 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9003         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9005 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9007         * elf/elf.h (R_386_GOT32X): New.
9008         (R_386_NUM): Update.
9009         (R_X86_64_GOTPCRELX: New.
9010         (R_X86_64_REX_GOTPCRELX): New.
9011         (R_X86_64_NUM): Update.
9013 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9015         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9017 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9019         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9020         assign attr->stackaddr to it, and adjust it down when
9021         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9022         [_STACK_GROWS_UP]: Delete assert.
9023         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9024         Implement stack grows up logic.
9025         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9026         stack grows up logic.
9028 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9030         * NEWS: Update with 2.24 template.
9032 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9034         [BZ #19678]
9035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9036         Ensure +0.0 is returned when taking the next value below the least
9037         positive value.
9039 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9041         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9042         available.  Do not define NO_THREADS.
9043         * malloc/malloc.c: Do not check NO_THREADS.
9044         * malloc/arena.c: Likewise.
9046 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9048         * malloc/malloc.c (__libc_mallinfo): Update comment.
9049         (struct malloc_par): Remove max_total_mem member, it was always 0.
9050         (int_mallinfo): Store 0 into usmblks (no functional change).
9051         * malloc/hooks.c (struct malloc_state): Document that
9052         max_total_mem is always 0.
9053         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9054         always 0.
9055         * manual/memory.texi (Statistics of Malloc): Likewise.
9057 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9059         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9060         * malloc/arena.c (arena_max): Remove.
9061         (heap_trim, _int_new_arena): Do not update arena_max.
9063 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9065         * resolv/res_init.c (res_ninit): Update comment.
9067 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9069         [BZ #19505]
9070         * posix/spawn_int.h: Add headers and include guard.
9071         (__spawn_valid_fd): New function.
9072         * posix/spawn_faction_addopen.c
9073         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9074         * posix/spawn_faction_addclose.c
9075         (posix_spawn_file_actions_addclose): Likewise.
9076         * posix/spawn_faction_adddup2.c
9077         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9078         second file descriptor.
9079         * posix/spawn_valid_fd.c: New file.
9080         * posix/tst-posix_spawn-fd.c: New file.
9081         * posix/Makefile (routines): Add spawn_valid_fd.
9082         (tests): Add tst-posix_spawn-fd.
9084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9086         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9087         (do_test): Limit the number of arenas, so that we can use fewer
9088         outer threads.  Limit timeout to 3 seconds, in preparation for a
9089         larger TIMEOUT value.
9091 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9093         [BZ #19674]
9094         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9095         sign in overflowing and underflowing results when overflow or
9096         underflow is detected early.  Include sign in result before rather
9097         than after scaling.
9099         [BZ #19603]
9100         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9101         (__ieee754_remainderl): Adjust sign of integer version of low part
9102         when taking absolute value of high part.
9103         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9104         * math/libm-test.inc (remainder_test_data): Add another test.
9105         (remquo_test_data): Likewise.
9107 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9109         [BZ #19602]
9110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9111         equal high parts and both low parts zero specially.
9112         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9113         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9114         Add test-fmodl-ldbl-128ibm.
9116         [BZ #19595]
9117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9118         common logic for all cases of shifting subnormal results.  Do not
9119         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9120         exponent to ldbl_insert_mantissa in subnormal case.
9122         [BZ #19594]
9123         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9124         on high and low parts then adjust result and use
9125         ldbl_canonicalize_int if needed.
9127         [BZ #19593]
9128         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9129         on high part and __floor or __ceil on low part then use
9130         ldbl_canonicalize_int if needed.
9132         [BZ #19592]
9133         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9134         high and low parts then use ldbl_canonicalize_int if needed.
9136         [BZ #17899]
9137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9138         New function.
9139         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9140         on high and low parts then use ldbl_canonicalize_int if needed.
9142 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9144         * configure: Regenerated.
9146         * po/libc.pot: Regenerated.
9148         * po/be.po: Updated translation.
9149         * po/bg.po: Likewise.
9150         * po/ca.po: Likewise.
9151         * po/cs.po: Likewise.
9152         * po/da.po: Likewise.
9153         * po/el.po: Likewise.
9154         * po/eo.po: Likewise.
9155         * po/es.po: Likewise.
9156         * po/fi.po: Likewise.
9157         * po/fr.po: Likewise.
9158         * po/gl.po: Likewise.
9159         * po/hr.po: Likewise.
9160         * po/hu.po: Likewise.
9161         * po/ia.po: Likewise.
9162         * po/id.po: Likewise.
9163         * po/it.po: Likewise.
9164         * po/ja.po: Likewise.
9165         * po/lt.po: Likewise.
9166         * po/nb.po: Likewise.
9167         * po/nl.po: Likewise.
9168         * po/pt_BR.po: Likewise.
9169         * po/rw.po: Likewise.
9170         * po/sk.po: Likewise.
9171         * po/sl.po: Likewise.
9172         * po/sv.po: Likewise.
9173         * po/tr.po: Likewise.
9174         * po/zh_CN.po: Likewise.
9175         * po/zh_TW.po: Likewise.
9177         * version.h (RELEAES): Set to "development".
9178         (VERSION): Set to 2.23.90.
9180         * version.h (RELEASE): Set to "stable".
9181         (VERSION): Set to 2.23.
9182         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9184         * NEWS: Updated fixed bugs.
9186 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9187             Wilco Dijkstra  <wdijkstr@arm.com>
9189         [BZ #19462]
9190         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9191         (_STRING_INLINE_unaligned): This.
9192         * include/string.h: Include <string_private.h>.
9193         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9194         _STRING_INLINE_unaligned.
9195         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9196         (_STRING_INLINE_unaligned): New.
9197         * sysdeps/aarch64/string_private.h: New file.
9198         * sysdeps/generic/string_private.h: Likewise.
9199         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9200         * sysdeps/s390/string_private.h: Likewise.
9201         * sysdeps/x86/string_private.h: Likewise.
9202         * sysdeps/m68k/m680x0/m68020/bits/string.h
9203         (_STRING_ARCH_unaligned): Renamed to ...
9204         (_STRING_INLINE_unaligned): This.
9205         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9206         to ...
9207         (_STRING_INLINE_unaligned): This.
9208         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9209         to ...
9210         (_STRING_INLINE_unaligned): This.
9211         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9212         to ...
9213         (_STRING_INLINE_unaligned): This.
9215 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9216             H.J. Lu  <hongjiu.lu@intel.com>
9218         [BZ #19590]
9219         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9220         relocation.
9222 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9224         [BZ #18665]
9225         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9226         *herrno_p.
9227         (gaih_getanswer): Document functional behviour. Return tryagain
9228         if any result is tryagain.
9229         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9230         when freed.
9231         * resolv/res_send.c: Add copyright text.
9232         (__libc_res_nsend): Document that MAXPACKET is expected.
9233         (send_vc): Document. Remove buffer reuse.
9234         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9235         size of the buffer. Add Dprint for truncated UDP buffer.
9237 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9239         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9240         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9241         * INSTALL: Regenerate.
9243 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9244             Jonathan Wakely  <jwakely@redhat.com>
9245             Carlos O'Donell  <carlos@redhat.com>
9247         [BZ 19439]
9248         * math/Makefile (tests): Add test-math-isinff.
9249         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9250         * math/bits/mathcalls.h [__USE_MISC]: Use
9251         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9252         functions not in C++11 and which don't conflict e.g. isinff,
9253         isinfl etc.
9254         * math/test-math-isinff.cc: New file.
9256 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9258         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9260 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9262         [BZ #19529]
9263         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9265 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9267         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9269 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9271         [BZ #19550]
9272         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9273         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9274         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9275         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9276         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9277         New syscall entry.
9278         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9279         New syscall entry.
9280         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9281         syscall entry.
9283 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9285         [BZ #18240]
9286         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9287         unsigned int wraparound.
9289 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9291         [BZ #18240]
9292         * misc/bug18240.c: New test.
9293         * misc/Makefile (tests): Add it.
9295 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9296             Joseph Myers  <joseph@codesourcery.com>
9298         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9299         load in branch delay slot when less than a word of input left.
9301 2016-01-27  Andreas Schwab  <schwab@suse.de>
9303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9304         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9305         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9306         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9308 2016-01-26  David S. Miller  <davem@davemloft.net>
9310         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9312 2016-01-25  David S. Miller  <davem@davemloft.net>
9314         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9315         __sqrtl_finite.
9316         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9317         instead using versioned_symbol.
9318         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9319         of entries.
9321         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9322         __sqrtl_finite to GLIBC_2.23
9324 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9326         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9328 2016-01-25  Andreas Schwab  <schwab@suse.de>
9330         [BZ #17514]
9331         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9332         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9333         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9334         * nptl/tst-mutex-errorcheck.c: New file.
9336 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9338         [BZ #18560]
9339         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9340         (IPCOP_semop): Likewise.
9341         (IPCOP_semget): Likewise.
9342         (IPCOP_semctl): Likewise.
9343         (IPCOP_msgsnd): Likewise.
9344         (IPCOP_msgrcv): Likewise.
9345         (IPCOP_msgget): Likewise.
9346         (IPCOP_msgctl): Likewise.
9347         (IPCOP_shmat): Likewise.
9348         (IPCOP_shmdt): Likewise.
9349         (IPCOP_shmget): Likewise.
9350         (IPCOP_shmctl): Likewise.
9352 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9354         * string/tst-endian.c: Include <libc-internal.h>.
9355         (do_test): Ignore tautological-compare warnings around
9356         "htobeXX (beXXtoh (i)) != i" and
9357         "htoleXX (leXXtoh (i)) != i" if-statements.
9359 2016-01-24  David S. Miller  <davem@davemloft.net>
9361         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9362         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9363         alias.
9364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9365         __sqrtl_finite.
9367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9369 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9371         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9372         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9373         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9375 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9377         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9378         (thread_func): Use new function to simplify barrier check.
9379         (do_test): Use new function to simplify checking barrier exit
9380         code, and actually join the child thread.
9382 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9384         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9385         semicolon.
9386         (__libc_tend): Likewise.
9387         (__libc_tabort): Likewise.
9389 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9391         * sysdeps/nios2/libm-test-ulps: Update.
9392         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9393         (__gtsf2): Likewise.
9394         (__unorddf2): Likewise.
9395         (__unordsf2): Likewise.
9396         (__ledf2): Likewise.
9398 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9400         * nis/nis_table.c (__follow_path): Disable diagnostic for
9401         uninitialized variable that is a false positive for gcc 4.7.
9402         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9404 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9406         * sysdeps/nacl/lowlevellock-futex.h
9407         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9408         Always evaluate PRIVATE argument.
9410 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9412         [BZ #19490]
9413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9414         (pthread_cond_broadcast): Use ENTRY/END
9415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9416         (pthread_cond_signal): Likewise.
9417         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9418         Likewise.
9419         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9420         Likewise.
9421         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9422         Likewise.
9424 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9426         * sysdeps/ieee754/dbl-64/s_finite.c
9427         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9428         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9429         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9431         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9434         (__gtsf2): Add as optional for libc.so.
9435         (__unordsf2): Likewise.
9436         (__signbit): Remove for libc.so.
9437         (__signbitl): Likewise.
9439 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9441         * iconvdata/bug-iconv11.c (test_ibm93x):
9442         Use %zu printf format specifier for size_t argument.
9444 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9446         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9447         already-recorded ulps.
9448         * sysdeps/arm/libm-test-ulps: Regenerated.
9449         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9450         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9451         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9453 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9454             Paul Pluzhnikov  <ppluzhnikov@google.com>
9456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9457         assembler not supporting AVX-512.
9459 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9461         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9463 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9465         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9466         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9468         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9470         * sysdeps/arm/libm-test-ulps: Regenerated.
9472 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9474         [BZ #19451]
9475         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9477 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9479         [BZ #19486]
9480         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9481         * sysdeps/generic/fix-fp-int-convert-overflow.h
9482         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9483         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9484         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9485         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9486         Likewise.
9487         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9488         Avoid conversions to long int where inexact exceptions
9489         could be raised.
9490         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9491         Likewise.
9492         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9493         Avoid conversions to long long int where inexact exceptions
9494         could be raised.
9495         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9496         Likewise.
9498 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9500         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9501         * configure: Regenerated.
9503 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9505         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9507 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9509         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9510         outside of comment.
9512 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9514         * nptl/tst-barrier1.c: Add description on first line.
9515         * nptl/tst-barrier2.c: Likewise.
9516         * nptl/tst-barrier3.c: Likewise.
9517         * nptl/tst-barrier4.c: Likewise.
9518         * nptl/tst-barrier5.c: Likewise.
9520 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9522         [BZ #18868]
9523         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9525 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9529         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9530         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9531         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9532         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9533         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9534         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9535         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9536         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9537         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9539 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9541         [BZ #13065]
9542         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9543         new implementation.
9544         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9545         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9546         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9547         (BARRIER_IN_THRESHOLD): New macro.
9548         * nptl/pthread_barrierattr_setpshared.c
9549         (pthread_barrierattr_setpshared): Clean up.
9550         * nptl/tst-barrier4.c: Correct comment.
9551         * nptl/tst-barrier5.c: New file.
9552         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9553         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9554         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9555         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9556         * nptl/lowlevelbarrier.sym: Remove.
9557         * nptl/DESIGN-barrier.txt: Remove.
9558         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9559         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9560         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9561         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9562         error.
9563         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9564         implementation.
9566 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9568         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9569         (do_child): Mask SIGRTMIN while thr is running.
9571 2016-01-15  Martin Sebor  <msebor@redhat.com>
9573         [BZ #19432]
9574         * iconvdata/Makefile: Add bug-iconv11.
9575         * iconvdata/bug-iconv11.c: New test.
9576         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9577         * iconvdata/ibm933.c: Same.
9578         * iconvdata/ibm935.c: Same.
9579         * iconvdata/ibm937.c: Same.
9580         * iconvdata/ibm939.c: Same.
9582 2016-01-15  Martin Sebor  <msebor@redhat.com>
9584         [BZ #19443]
9585         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9586         [DEBUG] (_ufc_set_bits): Declare used.
9587         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9588         [DEBUG] (print_all): Declare used.
9589         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9590         operands of the ternary ?: expression to target type.
9591         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9592         calling the undeclared abort.
9593         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9595 2016-01-15  Martin Sebor  <msebor@redhat.com>
9597         [BZ #18755]
9598         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9599         warnings.
9600         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9601         (__gai_create_helper_thread): Same.
9602         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9603         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9604         to suppress -Wmaybe-uninitialized warnings.
9606 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9608         [BZ #19465]
9609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9610         inside if.
9611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9615 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9617         [BZ #19466]
9618         * time/tst-mktime2.c (time_t_max): Removed.
9619         (time_t_min): Likewise.
9620         (TYPE_SIGNED): New.
9621         (TYPE_MINIMUM): Likewise.
9622         (TYPE_MAXIMUM): Likewise.
9623         (TIME_T_MIN): Likewise.
9624         (TIME_T_MAX): Likewise.
9625         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9626         and TIME_T_MIN.
9627         (do_test): Likewise.
9629 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9631         [BZ #19467]
9632         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9633         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9635 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9637         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9639 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9641         * benchtests/Makefile (PYTHON): Define.
9642         (bench-func): Use $(PYTHON) to run python scripts.
9643         ($(objpfx)bench-%.c): Likewise.
9645 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9647         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9648         leading slash when `file_name' is "/".
9650 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9652         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9653         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9654         Likewise.
9655         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9656         Likewise.
9657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9658         Likewise.
9659         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9660         enum constant and macro.
9661         (PTRACE_SETSIGMASK): Likewise.
9662         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9663         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9664         (PTRACE_GETSIGMASK): Likewise.
9665         (PTRACE_SETSIGMASK): Likewise.
9666         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9667         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9668         Likewise.
9669         (PTRACE_SETSIGMASK): Likewise.
9670         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9672         (PTRACE_GETSIGMASK): Likewise.
9673         (PTRACE_SETSIGMASK): Likewise.
9674         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9676         Likewise.
9677         (PTRACE_SETSIGMASK): Likewise.
9678         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9680         Likewise.
9681         (PTRACE_SETSIGMASK): Likewise.
9682         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9683         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9684         Likewise.
9685         (PTRACE_SETSIGMASK): Likewise.
9686         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9688 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9689             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9691         [BZ #19439]
9692         * math/bits/mathcalls.h
9693         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9694         prototype.
9695         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9697 2016-01-11  Andreas Schwab  <schwab@suse.de>
9699         [BZ #19253]
9700         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9701         cache when TZDEFRULES was used.
9702         * time/tst-tzname.c: New file.
9703         * time/Makefile (test): Add tst-tzname.
9704         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9705         * timezone/Makefile (test-zones): Add $(posixrules-file).
9706         ($(testdata)/$(posixrules-file)): New rule.
9708 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9710         Fix doc quoting problems with Texinfo 5
9711         Without this change, in the info file output, Texinfo 5 quotes code
9712         in text with undirected single quotes 'like this' and generates
9713         code examples that with many PDF readers cannot be cut out of PDFs
9714         and pasted into code.
9715         * manual/libc.texinfo: Configure the libc manual like the GNU
9716         Emacs manual, by using @documentencoding and setting
9717         txicodequoteundirected and txicodequotebacktick.  This way,
9718         Texinfo 5 quotes code in text with directed single quotes ‘like
9719         this’ and produces examples that can be cut out of PDFs.  This
9720         change causes Texinfo 5 to generate info files that contain UTF-8
9721         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9722         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9724 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9726         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9727         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9728         barriers to their respective compiler built-ins.
9729         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9730         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9731         * sysdeps/powerpc/sysdep.h: Likewise.
9732         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9733         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9734         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9736 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9738         * scripts/config.guess: Revert previous shebang change.
9739         * scripts/config.sub: Likewise.
9740         * scripts/mkinstalldirs: Likewise.
9742 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9744         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9745         PPC_FEATURE2_HAS_IEEE128.
9746         * sysdeps/powerpc/dl-procinfo.c:
9747         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9749 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9751         [BZ #19415]
9752         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9753         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9754         (_dl_lookup_address): Rewrite using function resolver trampoline.
9755         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9756         two bits in address.
9758 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9760         * longlong.h: Change !__SHMEDIA__ to
9761         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9762         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9764 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9765             Joseph Myers  <joseph@codesourcery.com>
9766             Mark Shinwell  <shinwell@codesourcery.com>
9767             Andrew Stubbs  <ams@codesourcery.com>
9768             Rich Felker <dalias@libc.org>
9770         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9772 2016-01-07  Richard Henderson  <rth@redhat.com>
9774         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9776 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9778         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9779         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9780         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9781         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9782         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9784 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9785             Joseph Myers  <joseph@codesourcery.com>
9787         * timezone/private.h: Update from tzcode 2015g.
9788         * timezone/tzfile.h: Likewise.
9789         * timezone/tzselect.ksh: Likewise.
9790         * timezone/zdump.c: Likewise.
9791         * timezone/zic.c: Likewise.
9792         * timezone/ialloc.c: Remove file.
9793         * timezone/scheck.c: Likewise.
9794         * timezone/Makefile (extra-objs): Remove variable.
9795         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9796         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9797         -Wno-maybe-uninitialized.
9798         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9799         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9800         (CFLAGS-ialloc.c): Remove variable.
9801         (CFLAGS-scheck.c): Likewise.
9802         * timezone/README: Update list of files from tzcode.
9804 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9806         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9807         instead of __fxprintf when _LIBC is undefined.
9809 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9811         * catgets/test-gencat.sh: Remove space after shebang.
9812         * conform/GlibcConform.pm: Likewise.
9813         * conform/check-header-lists.sh: Likewise.
9814         * conform/conformtest.pl: Likewise.
9815         * conform/linknamespace.pl: Likewise.
9816         * conform/list-header-symbols.pl: Likewise.
9817         * debug/catchsegv.sh: Likewise.
9818         * elf/genrtldtbl.awk: Likewise.
9819         * elf/tst-pathopt.sh: Likewise.
9820         * elf/tst-rtld-load-self.sh: Likewise.
9821         * grp/tst_fgetgrent.sh: Likewise.
9822         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9823         * iconvdata/gen-8bit-gap.sh: Likewise.
9824         * iconvdata/gen-8bit.sh: Likewise.
9825         * iconvdata/run-iconv-test.sh: Likewise.
9826         * intl/tst-gettext.sh: Likewise.
9827         * intl/tst-gettext2.sh: Likewise.
9828         * intl/tst-gettext4.sh: Likewise.
9829         * intl/tst-gettext6.sh: Likewise.
9830         * intl/tst-translit.sh: Likewise.
9831         * io/ftwtest-sh: Likewise.
9832         * libio/test-freopen.sh: Likewise.
9833         * locale/gen-translit.pl: Likewise.
9834         * malloc/tst-mtrace.sh: Likewise.
9835         * manual/check-safety.sh: Likewise.
9836         * manual/libc-texinfo.sh: Likewise.
9837         * manual/tsort.awk: Likewise.
9838         * manual/xtract-typefun.awk: Likewise.
9839         * nptl/tst-cancel-wrappers.sh: Likewise.
9840         * nptl/tst-tls6.sh: Likewise.
9841         * posix/globtest.sh: Likewise.
9842         * posix/tst-getconf.sh: Likewise.
9843         * posix/wordexp-tst.sh: Likewise.
9844         * scripts/check-c++-types.sh: Likewise.
9845         * scripts/check-local-headers.sh: Likewise.
9846         * scripts/config.guess: Likewise.
9847         * scripts/config.sub: Likewise.
9848         * scripts/cpp: Likewise.
9849         * scripts/cross-test-ssh.sh: Likewise.
9850         * scripts/documented.sh: Likewise.
9851         * scripts/evaluate-test.sh: Likewise.
9852         * scripts/gen-libc-abis: Likewise.
9853         * scripts/gen-sorted.awk: Likewise.
9854         * scripts/list-fixed-bugs.py: Likewise.
9855         * scripts/merge-test-results.sh: Likewise.
9856         * scripts/mkinstalldirs: Likewise.
9857         * scripts/rellns-sh: Likewise.
9858         * scripts/test-installation.pl: Likewise.
9859         * scripts/update-copyrights: Likewise.
9860         * stdio-common/tst-printf.sh: Likewise.
9861         * stdio-common/tst-unbputc.sh: Likewise.
9862         * stdlib/tst-fmtmsg.sh: Likewise.
9863         * stdlib/tst-setcontext3.sh: Likewise.
9864         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9865         * sysdeps/unix/make-syscalls.sh: Likewise.
9867 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9869         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9870         asm stw with atomic_exchange_rel.  Add explanatory comment.
9871         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9872         Likewise.
9874 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9876         [BZ #19122]
9877         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9878         * sysdeps/generic/dl-unistd.h: New file.
9879         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9881 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9883          [BZ #19122]
9884          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9885          * sysdeps/generic/dl-mman.h: New file.
9886          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9888 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9890         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9891         trailing whitespace removed.
9892         * scripts/config.guess: Update to version 2016-01-01.
9893         * scripts/config.sub: Update to version 2016-01-01.
9894         * scripts/move-if-change: Update from gnulib.
9896 2016-01-04  Anton Blanchard  <anton@samba.org>
9898         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9899         for array indices.
9900         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9902 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9904         * NEWS: Update copyright dates.
9905         * catgets/gencat.c (print_version): Likewise.
9906         * csu/version.c (banner): Likewise.
9907         * debug/catchsegv.sh: Likewise.
9908         * debug/pcprofiledump.c (print_version): Likewise.
9909         * debug/xtrace.sh (do_version): Likewise.
9910         * elf/ldconfig.c (print_version): Likewise.
9911         * elf/ldd.bash.in: Likewise.
9912         * elf/pldd.c (print_version): Likewise.
9913         * elf/sotruss.sh: Likewise.
9914         * elf/sprof.c (print_version): Likewise.
9915         * iconv/iconv_prog.c (print_version): Likewise.
9916         * iconv/iconvconfig.c (print_version): Likewise.
9917         * locale/programs/locale.c (print_version): Likewise.
9918         * locale/programs/localedef.c (print_version): Likewise.
9919         * login/programs/pt_chown.c (print_version): Likewise.
9920         * malloc/memusage.sh (do_version): Likewise.
9921         * malloc/memusagestat.c (print_version): Likewise.
9922         * malloc/mtrace.pl: Likewise.
9923         * manual/libc.texinfo: Likewise.
9924         * nptl/version.c (banner): Likewise.
9925         * nscd/nscd.c (print_version): Likewise.
9926         * nss/getent.c (print_version): Likewise.
9927         * nss/makedb.c (print_version): Likewise.
9928         * posix/getconf.c (main): Likewise.
9929         * scripts/test-installation.pl: Likewise.
9930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9932         * All files with FSF copyright notices: Update copyright dates
9933         using scripts/update-copyrights.
9934         * intl/plural.c: Regenerated.
9935         * locale/programs/charmap-kw.h: Likewise.
9936         * locale/programs/locfile-kw.h: Likewise.
9938 2016-01-02  Helge Deller  <deller@gmx.de>
9940         [BZ #19285]
9941         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9942         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9943         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9944         (MADV_xxK_PAGES): Remove.
9946 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9948         [BZ #15421]
9949         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9950         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9951         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9952         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9954 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9956         [BZ #19408]
9957         * sysdeps/unix/sysv/linux/personality.c: New file.
9958         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9959         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9960         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9961         (sysdep_routines): Add personality.
9962         (tests): Add tst-personality.
9963         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9965         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9966         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9967         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9968         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9969         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9970         Likewise.
9971         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9972         Likewise.
9973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9974         Likewise.
9975         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9976         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9977         Likewise.
9979 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9981         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9982         (PATH_ARM_SYSTYPE): Remove.
9983         (PATH_CPUINFO): Likewise.
9984         (IO_BASE_FOOTBRIDGE): Likewise.
9985         (IO_SHIFT_FOOTBRIDGE): Likewise.
9986         (struct platform): Likewise.
9987         (init_iosys): Remove compatibility code for 2.4 kernels.
9988         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9990 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9992         * malloc/tst-malloc-thread-fail.c: New file.
9993         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9994         (tst-malloc-thread-fail): Link against libpthread.
9996 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9998         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9999         (get_parser): New function.
10000         (main): New function.
10002 2015-12-29  Rob Wu  <rob@robwu.nl>
10004         [BZ #19369]
10005         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10007 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10009         [BZ #19270]
10010         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10012 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10014         [BZ #15421]
10015         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10017 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10019         [BZ #13690]
10020         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10021         after releasing it.
10022         (__lll_robust_unlock): Likewise.
10023         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10024         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10025         (lll_robust_unlock): Likewise.
10026         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10027         Prevent warnings in callers.
10029 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10031         * malloc/arena.c (list_lock): Update comment.
10033 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10035         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10036         __parse_hwcap_and_convert_at_platform to libc.a.
10038 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10040         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10041         platform and feature support for POWER9.
10042         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10043         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10044         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10045         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10046         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10047         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10048         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10049         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10051 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10053         Harmonize generic stdio-lock support with nptl
10055         This fixes build when _IO_funlockfile is a macro, fixes build where
10056         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10057         stack unwind.
10059         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10060         _IO_release_lock ): Use cleanup attribute on new
10061         _IO_acquire_lock_file variable instead of assuming that
10062         _IO_release_lock will be called.
10063         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10064         _IO_acquire_lock_needs_exceptions_enabled.
10065         (_IO_acquire_lock_clear_flags2): New macro.
10067 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10069         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10071 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10073         [BZ #19182]
10074         * malloc/arena.c (list_lock): Document lock ordering requirements.
10075         (free_list_lock): New lock.
10076         (ptmalloc_lock_all): Comment on free_list_lock.
10077         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10078         (detach_arena): Update comment.  free_list_lock is now needed.
10079         (_int_new_arena): Use free_list_lock around detach_arena call.
10080         Acquire arena lock after list_lock.  Add comment, including FIXME
10081         about incorrect synchronization.
10082         (get_free_list): Switch to free_list_lock.
10083         (reused_arena): Acquire free_list_lock around detach_arena call
10084         and attached threads counter update.  Add two FIXMEs about
10085         incorrect synchronization.
10086         (arena_thread_freeres): Switch to free_list_lock.
10087         * malloc/malloc.c (struct malloc_state): Update comments to
10088         mention free_list_lock.
10090 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10092         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10093         Remove functions.
10094         (sloww, sloww1): Accept argument to offset quadrant.
10095         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10096         quadrant.
10097         (__sin, __cos): Consolidate common code into new functions.
10098         (reduce_sincos_1, do_sincos_1): New functions.
10099         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10101         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10102         code to new functions.
10103         (reduce_sincos_2, do_sincos_2): New functions.
10104         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10107         common code for sincos.
10108         (__cos) [!IN_SINCOS]: Likewise.
10109         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10110         New function.
10111         (__sincos): Use it.
10113 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10115         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10116         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10117         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10119 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10121         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10124         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10125         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10126         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10127         index_Prefer_No_VZEROUPPER): New feature.
10128         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10129         Prefer_No_VZEROUPPER for Knights Landing.
10131 015-12-18  Torvald Riegel  <triegel@redhat.com>
10133         * math/atest-exp2.c (mp_exp_m1): Remove.
10135 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10137         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10138         syscalls.
10139         (__SYSCALL0): New macro.
10140         (__SYSCALL1): Likewise.
10141         (__SYSCALL2): Likewise.
10142         (__SYSCALL3): Likewise.
10143         (__SYSCALL4): Likewise.
10144         (__SYSCALL5): Likewise.
10145         (__SYSCALL6): Likewise.
10146         (__SYSCALL_CONCAT_X): Likewise.
10147         (__SYSCALL_CONCAT): Likewise.
10148         (__SYSCALL_DIST): Likewise.
10149         (__SYSCALL_CALL): Likewise.
10151 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10153         [BZ #19363]
10154         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10156 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10158         [BZ #19375]
10159         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10160         negative subnormals.
10162 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10165         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10166         (INTERNAL_SYSCALL_NCS): Use it.
10167         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10169 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10171         [BZ #19243]
10172         * malloc/arena.c (get_free_list): Remove assert and adjust
10173         reference count handling.  Add comment about reused_arena
10174         interaction.
10175         (reused_arena): Add comments abount get_free_list interaction.
10176         * malloc/tst-malloc-thread-exit.c: New file.
10177         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10178         (tst-malloc-thread-exit): Link against libpthread.
10180 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10182         [BZ #19367]
10183         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10184         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10185         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10186         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10187         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10189 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10191         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10192         Silvermont optimizations for Knights Landing.
10194 2015-12-15  Andreas Schwab  <schwab@suse.de>
10196         [BZ #17197]
10197         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10198         immediately after emitting SI.
10199         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10200         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10201         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10202         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10203         * iconvdata/bug-iconv10.c: New file.
10204         * iconvdata/Makefile (tests): Add bug-iconv10.
10205         ($(objpfx)bug-iconv10.out): New rule.
10207 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10209         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10210         aliasing violation.
10212 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10214         [BZ #18472]
10215         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10216         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10217         conditionals for them.
10218         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10219         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10221         sys/kdaemon.h.
10222         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10223         compat-only syscall, obsoleted in glibc 2.23.
10224         (create_module): Likewise.
10225         (get_kernel_syms): Likewise.
10226         (query_module): Likewise.
10227         (uselib): Likewise.
10228         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10230 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10232         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10233         <linux/version.h>.
10234         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10235         conditional code.
10236         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10237         and ioshift_name initialization.
10239 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10242         Fix indentation.
10244 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10246         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10248 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10250         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10252 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10253             Jakub Wilk  <jwilk@debian.org>
10255         [BZ #19347]
10256         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10257         to change the group of the device to the tty group.
10259 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10261         Split large string section; add truncation advice
10262         * manual/examples/strncat.c: Remove.
10263         This example was misleading, as the code would have undefined
10264         behavior if "hello" was longer than SIZE.  Anyway, the manual
10265         shouldn't encourage strncpy+strncat for this sort of thing.
10266         * manual/string.texi (Copying Strings and Arrays): Split into
10267         three sections Copying Strings and Arrays, Concatenating Strings,
10268         and Truncating Strings, as this section was way too long.  All
10269         cross-referenced changed.  Add advice about string-truncation
10270         functions.  Remove misleading strncat example.
10272 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10274         * manual/nss.texi (NSS Modules Interface): Document
10275         NSS_STATUS_NOTFOUND and SUCCESS.
10277 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10279         [BZ 18568]
10280         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10281         201505L, for Unicode 8.
10283 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10285         * locale/C-translit.h: Regenerate.
10287 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10289         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10290         and U+0153.
10292 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10294         [BZ #19351]
10295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10296         expanding log(1+z), compare z rather than its square with epsilon
10297         to determine when to avoid evaluating the expansion.
10299         [BZ #19350]
10300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10301         Increase overflow threshold.
10303         [BZ #19349]
10304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10305         when small.
10307         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10308         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10309         New macro.
10310         [__LINUX_KERNEL_VERSION >= 0x040300]
10311         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10312         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10313         Likewise.
10314         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10315         Likewise.
10316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10317         Likewise.
10318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10319         Likewise.
10320         [__LINUX_KERNEL_VERSION >= 0x040300]
10321         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10322         [__LINUX_KERNEL_VERSION >= 0x040300]
10323         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10324         [__LINUX_KERNEL_VERSION >= 0x040300]
10325         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10326         [__LINUX_KERNEL_VERSION >= 0x040300]
10327         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10328         [__LINUX_KERNEL_VERSION >= 0x040300]
10329         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10331         Likewise.
10332         [__LINUX_KERNEL_VERSION >= 0x040300]
10333         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10335         Likewise.
10336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10337         Likewise.
10338         [__LINUX_KERNEL_VERSION >= 0x040300]
10339         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10341         Likewise.
10342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10346         Likewise.
10347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10348         Likewise.
10349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10350         Likewise.
10351         [__LINUX_KERNEL_VERSION >= 0x040300]
10352         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10354         Likewise.
10355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10356         Likewise.
10357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10358         Likewise.
10359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10360         Likewise.
10361         [__LINUX_KERNEL_VERSION >= 0x040300]
10362         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10363         [__LINUX_KERNEL_VERSION >= 0x040300]
10364         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10365         [__LINUX_KERNEL_VERSION >= 0x040300]
10366         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10367         [__LINUX_KERNEL_VERSION >= 0x040300]
10368         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10369         [__LINUX_KERNEL_VERSION >= 0x040300]
10370         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10372         Likewise.
10373         [__LINUX_KERNEL_VERSION >= 0x040300]
10374         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10376         Likewise.
10377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10378         Likewise.
10379         [__LINUX_KERNEL_VERSION >= 0x040300]
10380         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10382         Likewise.
10383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10384         Likewise.
10385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10386         (__ASSUME_SOCKET_SYSCALL): Likewise.
10387         (__ASSUME_BIND_SYSCALL): Likewise.
10388         (__ASSUME_CONNECT_SYSCALL): Likewise.
10389         (__ASSUME_LISTEN_SYSCALL): Likewise.
10390         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10391         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10392         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10393         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10394         (__ASSUME_SEND_SYSCALL): Likewise.
10395         (__ASSUME_SENDTO_SYSCALL): Likewise.
10396         (__ASSUME_RECV_SYSCALL): Likewise.
10397         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10398         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10399         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10400         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10401         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10402         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10403         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10404         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10405         Likewise.
10406         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10407         Likewise.
10408         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10409         Likewise.
10410         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10411         Likewise.
10412         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10413         Likewise.
10414         [__LINUX_KERNEL_VERSION >= 0x020625]
10415         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10416         [__LINUX_KERNEL_VERSION >= 0x020625]
10417         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10418         [__LINUX_KERNEL_VERSION >= 0x020625]
10419         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10420         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10421         Likewise.
10422         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10423         Likewise.
10424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10425         Likewise.
10426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10427         Likewise.
10428         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10429         Likewise.
10430         [__LINUX_KERNEL_VERSION >= 0x020625]
10431         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10432         [__LINUX_KERNEL_VERSION >= 0x020625]
10433         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10434         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10435         Likewise.
10436         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10437         Likewise.
10439 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10441         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10442         record the current if the current ABI and CPU support the FP64
10443         extension.
10444         (has-modd-spreg): Define to record the current if the current ABI and
10445         CPU support 32-bit floating point values in odd FPU registers.
10446         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10447         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10448         $(has-modd-spreg) equals yes.
10449         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10450         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10451         $(has-modd-spreg) equal yes.
10453 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10455         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10456         basename.
10458 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10460         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10461         (bench-string): ... here.
10462         (bench): Add bench-string.
10463         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10464         to *-benchset to reflect what they are.
10465         (benchset): Adjust.
10467         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10468         cos-inputs.
10470 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10472         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10473         __attribute__ ((__simd__)) for vector math function declarations.
10475 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10477         Fix typo in strncat, wcsncat manual entries
10478         * manual/string.texi (Copying and Concatenation): Fix typos in
10479         sample implementations of strncat and wcsncat, by having them use
10480         the old value of the destination length, not the new one.
10482 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10484         [BZ #16961]
10485         [BZ #16962]
10486         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10487         string on the stack for strtod.
10488         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10489         a string on the stack for strtof.
10490         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10491         constructing a string on the stack for strtold.
10492         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10493         __strtold_nan to GLIBC_PRIVATE.
10494         * math/test-nan-overflow.c: New file.
10495         * math/test-nan-payload.c: Likewise.
10496         * math/Makefile (tests): Add test-nan-overflow and
10497         test-nan-payload.
10499 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10501         Consistency about byte vs character in string.texi
10502         * manual/string.texi (String and Array Utilities):
10503         Distinguish more carefully among bytes, multibyte characters,
10504         and wide characters.  Use "byte" when talking about C 'char',
10505         to distinguish it more clearly from multibyte characters.
10506         Say "wide character" or "multibyte character" instead of
10507         "character", when a wide or multibyte character is intended.
10508         Similarly for "multibyte string" versus "string".
10509         Define these terms more carefully.
10511 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10513         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10514         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10515         Likewise.
10516         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10517         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10518         * sysdeps/sh/math_private.h: New file.
10519         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10520         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10521         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10522         long double function name.
10523         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10524         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10525         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10527         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10529         Remove __finitel, __isinfl, and __isnanl.
10530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10531         Likewise.
10532         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10534         Remove __finitel.
10535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10536         Likewise.
10537         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10539 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10541         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10542         installed libmvec_nonshared.a.
10544 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10546         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10547         (sysdep_routines): Likewise.
10548         (sysdep-rtld-routines): Likewise.
10549         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10550         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10551         * sysdeps/powerpc/Versions: Added new
10552         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10553         * sysdeps/powerpc/hwcapinfo.c: New file.
10554         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10555         and parse hwcap, hwcap2 and platform number information.
10556         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10557         to store HWCAP+HWCAP2 and platform number.
10558         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10559         for HWCAP+HWCAP2 and platform number in the TCB.
10560         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10561         the HWCAP, HWCAP2 and platform number in the TCB.
10562         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10563         (TLS_INIT_TP): Included calls to add the hwcap and
10564         at_platform values in the TCB in TP initialization.
10565         (TLS_DEFINE_INIT_TP): Likewise.
10566         (THREAD_GET_HWCAP): New macro.
10567         (THREAD_SET_HWCAP): Likewise.
10568         (THREAD_GET_AT_PLATFORM): Likewise.
10569         (THREAD_SET_AT_PLATFORM): Likewise.
10570         * sysdeps/powerpc/powerpc32/dl-machine.h:
10571         (dl_platform_init): New function that calls
10572         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10573         powerpc32.
10574         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10575         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10576         this functionality, static linking case.
10577         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10578         linking case.
10579         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10580         __parse_hwcap_and_convert_at_platform for the static linking case.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10582         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10583         ABI list for GLIBC 2.23.
10584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10585         Likewise.
10586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10587         Likewise.
10589 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10591         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10592         * configure: Regenerate.
10593         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10594         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10596 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10598         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10599         * iconvdata/ibm933.c: Likewise.
10600         * iconvdata/ibm935.c: Likewise.
10601         * iconvdata/ibm937.c: Likewise.
10602         * iconvdata/ibm939.c: Likewise.
10604 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10606         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10607         pthread_join.
10608         * nptl/tst-cancel21.c (tf): Likewise.
10610 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10612         [BZ #19313]
10613         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10614         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10615         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10616         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10619         Likewise.
10620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10621         Likewise.
10622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10625         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10626         unsigned long int with __CPU_MASK_TYPE.
10628 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10630         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10632 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10634         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10635         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10636         t512.x.
10637         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10639 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10641         [BZ #19214]
10642         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10643         argument to return extended model.  Update family and model
10644         with extended family and model when family == 0x0f.
10645         (init_cpu_features): Updated.
10647 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10649         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10650         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10652         * sysdeps/mach/hurd/mmap64.c: New file.
10654 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10656         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10657         rights for its main user thread in NEWTASK.
10659 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10661         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10662         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10664 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10666         [BZ #14259]
10667         * Makeconfig: Rename localedir to complocaledir.
10668         Rename inst_localedir to inst_complocaledir.
10669         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10670         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10671         * configure.ac: Use libc_cv_complocaledir.
10672         * configure: Regenerate.
10673         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10674         -DCOMPLOCALEDIR.
10675         * locale/findlocale.c: Use COMPLOCALEDIR.
10676         * locale/loadarchive.c: Likewise.
10677         * locale/programs/locale.c: Likewise.
10678         * locale/programs/localedef.c: Likewise.
10679         * locale/programs/locarchive.c: Likewise.
10680         * localedata/Makefile: Use inst_complocaledir.
10681         * sysdeps/gnu/configure: Regenerate.
10682         * sysdeps/hppa/configure: Regenerate.
10683         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10684         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10686         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10687         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10688         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10689         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10691 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10693         [BZ #19058]
10694         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10695         AS_NEEDED.
10696         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10697         workaround.
10698         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10699         libmvec-static-only-routines): Added new file.
10700         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10702 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10704         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10705         of interrupted RPC instead of restoring it.
10707         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10708         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10709         libc_hidden_def.
10710         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10711         into initialized data instead of common. Define rtld_hidden_data_def.
10712         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10713         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10714         libc_hidden_def.
10715         (if_freenameindex): Add libc_hidden_weak.
10716         (if_nameindex): Add libc_hidden_weak.
10717         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10718         __open64.
10719         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10720         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10721         * sysdeps/mach/nanosleep.c: Include <time.h>
10722         (__nanosleep): Rename to __libc_nanosleep.
10723         (__nanosleep): Add weak_alias.
10724         (nanosleep): Update alias.
10726 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10728         * stdlib/strtod_nan.c: New file.
10729         * stdlib/strtod_nan_double.h: Likewise.
10730         * stdlib/strtod_nan_float.h: Likewise.
10731         * stdlib/strtod_nan_main.c: Likewise.
10732         * stdlib/strtod_nan_narrow.h: Likewise.
10733         * stdlib/strtod_nan_wide.h: Likewise.
10734         * stdlib/strtof_nan.c: Likewise.
10735         * stdlib/strtold_nan.c: Likewise.
10736         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10737         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10738         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10739         * wcsmbs/wcstod_nan.c: Likewise.
10740         * wcsmbs/wcstof_nan.c: Likewise.
10741         * wcsmbs/wcstold_nan.c: Likewise.
10742         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10743         strtold_nan.
10744         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10745         wcstof_nan.
10746         * include/stdlib.h (__strtof_nan): Declare and use
10747         libc_hidden_proto.
10748         (__strtod_nan): Likewise.
10749         (__strtold_nan): Likewise.
10750         (__wcstof_nan): Likewise.
10751         (__wcstod_nan): Likewise.
10752         (__wcstold_nan): Likewise.
10753         * include/wchar.h (____wcstoull_l_internal): Declare.
10754         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10755         (____strtoull_l_internal): Remove declaration.
10756         (STRTOF_NAN): Define macro.
10757         (SET_MANTISSA): Remove macro.
10758         (STRTOULL): Likewise.
10759         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10760         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10761         (STRTOF_NAN): Define macro.
10762         (SET_MANTISSA): Remove macro.
10763         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10764         (SET_MANTISSA): Remove macro.
10765         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10766         macro.
10767         (SET_MANTISSA): Remove macro.
10768         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10769         macro.
10770         (SET_MANTISSA): Remove macro.
10771         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10772         (SET_MANTISSA): Remove macro.
10773         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10774         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10775         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10777         [BZ #19266]
10778         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10779         upper case and lower case letters inside NAN(), not using TOLOWER.
10780         * stdlib/tst-strtod-nan-locale-main.c: New file.
10781         * stdlib/tst-strtod-nan-locale.c: Likewise.
10782         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10783         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10784         Depend on $(gen-locales).
10785         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10786         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10787         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10788         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10789         Depend on $(gen-locales).
10790         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10792 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10794         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10796         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10798         __finitel, __isinfl, and __isnanl.
10799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10800         Likewise.
10801         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10803         __finitel.
10804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10805         Likewise.
10806         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10808 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10810         * malloc/memusage.c (me): Remove redundant getenv call.
10812 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10814         [BZ #19143]
10815         [BZ #19164]
10816         * nptl/check-cpuset.h: Remove.
10817         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10818         Remove CPU set size check.
10819         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10820         Likewise.
10821         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10822         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10823         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10824         (__pthread_setaffinity_new): Remove CPU set size check.
10825         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10826         (__kernel_cpumask_size): Remove.
10827         (__sched_setaffinity_new): Remove CPU set size check.
10828         * manual/threads.texi (Default Thread Attributes): Remove stale
10829         reference to check_cpuset_attr, determine_cpumask_size in comment.
10830         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10831         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10832         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10833         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10834         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10835         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10836         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10837         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10838         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10839         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10840         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10841         skeleton test file.
10842         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10843         tst-affinity-pid.
10845 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10847         * scripts/update-abilist.sh: New file.
10848         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10849         * Makerules (update-all-abi-%, update-all-abi)
10850         (subdir_update-all-abi): New targets.
10851         * elf/Makefile (update-all-abi): New target.
10853 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10855         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10856         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10857         (__libc_lock_define_initialized): Use it.
10858         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10859         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10860         * malloc/malloc.c (main_arena): Likewise.
10861         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10862         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10864 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10866         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10867         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10868         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10869         (PTRACE_O_MASK): Update value.
10870         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10871         New value in enum __ptrace_setoptions.
10872         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10873         (PTRACE_O_MASK): Update value.
10874         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10875         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10876         (PTRACE_O_MASK): Update value.
10877         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10878         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10879         (PTRACE_O_MASK): Update value.
10880         * sysdeps/unix/sysv/linux/sparc/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/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10884         New value in enum __ptrace_setoptions.
10885         (PTRACE_O_MASK): Update value.
10886         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10887         New value in enum __ptrace_setoptions.
10888         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10889         (PTRACE_O_MASK): Update value.
10891         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10892         New macro.
10893         (PACKET_AUXDATA): Likewise.
10894         (PACKET_ORIGDEV): Likewise.
10895         (PACKET_VERSION): Likewise.
10896         (PACKET_HDRLEN): Likewise.
10897         (PACKET_RESERVE): Likewise.
10898         (PACKET_TX_RING): Likewise.
10899         (PACKET_LOSS): Likewise.
10900         (PACKET_VNET_HDR): Likewise.
10901         (PACKET_TX_TIMESTAMP): Likewise.
10902         (PACKET_TIMESTAMP): Likewise.
10903         (PACKET_FANOUT): Likewise.
10904         (PACKET_TX_HAS_OFF): Likewise.
10905         (PACKET_QDISC_BYPASS): Likewise.
10906         (PACKET_ROLLOVER_STATS): Likewise.
10907         (PACKET_FANOUT_DATA): Likewise.
10908         (PACKET_MR_UNICAST): Likewise.
10910         [BZ #19242]
10911         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10912         (TOUPPER): Likewise.
10913         * stdlib/tst-strtol-locale-main.c: New file.
10914         * stdlib/tst-strtol-locale.c: Likewise.
10915         * stdlib/Makefile (tests): Add tst-strtol-locale.
10916         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10917         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10918         Depend on $(gen-locales).
10919         * wcsmbs/tst-wcstol-locale.c: New file.
10920         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10921         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10922         tr_TR.ISO-8859-9.
10923         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10924         Depend on $(gen-locales).
10926 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10928         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10929         __glibc_likely instead of __builtin_expect.  After falling back to
10930         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10931         system interface to register the code pages as occupied.
10933 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10935         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10936         [!ARM_MATH_PRIVATE_H].
10937         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10938         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10939         [!HPPA_MATH_PRIVATE_H].
10940         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10941         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10942         to [!I386_MATH_PRIVATE_H].
10943         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10944         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10945         Change guard to [!M68K_MATH_PRIVATE_H].
10946         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10947         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10948         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10949         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10950         macro.
10951         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10952         [!MIPS_MATH_PRIVATE_H].
10953         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10954         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10955         [!NIO2_MATH_PRIVATE_H].
10956         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10957         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10958         [!TILE_MATH_PRIVATE_H].
10959         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10961         [BZ #15421]
10962         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10963         initialize with 0 and define as weak alias of __signgam.
10964         * include/math.h [!_ISOMAC] (__signgam): Declare.
10965         * math/Makefile (libm-calls): Add w_lgamma_compat.
10966         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10967         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10968         test-signgam-ullong-init.
10969         (tests-static): Add test-signgam-uchar-static,
10970         test-signgam-uchar-init-static, test-signgam-uint-static,
10971         test-signgam-uint-init-static, test-signgam-ullong-static and
10972         test-signgam-ullong-init-static.
10973         (CFLAGS-test-signgam-uchar.c): New variable.
10974         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10975         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10976         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10977         (CFLAGS-test-signgam-uint.c): Likewise.
10978         (CFLAGS-test-signgam-uint-init.c): Likewise.
10979         (CFLAGS-test-signgam-uint-static.c): Likewise.
10980         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10981         (CFLAGS-test-signgam-ullong.c): Likewise.
10982         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10983         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10984         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10985         * math/Versions (libm): Add GLIBC_2.23.
10986         * math/lgamma-compat.h: New file.
10987         * math/test-signgam-main.c: Likewise.
10988         * math/test-signgam-uchar-init-static.c: Likewise.
10989         * math/test-signgam-uchar-init.c: Likewise.
10990         * math/test-signgam-uchar-static.c: Likewise.
10991         * math/test-signgam-uchar.c: Likewise.
10992         * math/test-signgam-uint-init-static.c: Likewise.
10993         * math/test-signgam-uint-init.c: Likewise.
10994         * math/test-signgam-uint-static.c: Likewise.
10995         * math/test-signgam-uint.c: Likewise.
10996         * math/test-signgam-ullong-init-static.c: Likewise.
10997         * math/test-signgam-ullong-init.c: Likewise.
10998         * math/test-signgam-ullong-static.c: Likewise.
10999         * math/test-signgam-ullong.c: Likewise.
11000         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11001         wrapper of w_lgamma_main.c.
11002         * math/w_lgamma_compat.c: New file.
11003         * math/w_lgamma_compatf.c: Likewise.
11004         * math/w_lgamma_compatl.c: Likewise.
11005         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11006         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11007         defining compatibility symbols.
11008         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11009         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11010         wrapper of w_lgammaf_main.c.
11011         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11012         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11013         defining compatibility symbols.
11014         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11015         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11016         wrapper of w_lgammal_main.c.
11017         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11018         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11019         defining compatibility symbols.
11020         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11021         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11022         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11023         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11024         <lgamma-compat.h>.
11025         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11026         (__ieee754_gamma): Define as alias.
11027         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11028         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11029         <lgamma-compat.h>.
11030         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11031         (__ieee754_gammaf): Define as alias.
11032         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11033         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11034         <lgamma-compat.h>.
11035         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11036         (__ieee754_gammal): Define as alias.
11037         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11038         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11039         <math/w_lgamma_compat.c>.
11040         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11041         Define as alias of __lgamma_compat and use in defining lgammal.
11042         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11043         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11044         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11045         (USE_AS_COMPAT): New macro.
11046         (LGAMMA_OLD_VER): Undefine and redefine.
11047         (lgammal): Do not define here.
11048         (gammal): Only define here if [GAMMA_ALIAS].
11049         * conform/linknamespace.pl (@whitelist): Remove signgam.
11050         * sysdeps/nacl/libm.abilist: Update.
11051         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11062         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11064         Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11068         Likewise.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11072         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11077         Likewise.
11078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11081         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11082         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11084 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11086         [BZ #16364]
11087         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11088         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11090 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11092         * sysdeps/s390/fpu/bits/mathinline.h:
11093         Use __asm__ [__volatile__] instead of asm [volatile].
11094         * sysdeps/s390/abort-instr.h: Likewise.
11095         * sysdeps/s390/atomic-machine.h: Likewise.
11096         * sysdeps/s390/bits/string.h: Likewise.
11097         * sysdeps/s390/dl-tls.h: Likewise.
11098         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11099         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11100         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11101         * sysdeps/s390/fpu/fesetround.c: Likewise.
11102         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11103         * sysdeps/s390/fpu/s_fma.c: Likewise.
11104         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11105         * sysdeps/s390/memusage.h: Likewise.
11106         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11107         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11108         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11109         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11110         * sysdeps/s390/nptl/tls.h: Likewise.
11111         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11112         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11113         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11114         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11115         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11116         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11117         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11118         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11119         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11120         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11121         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11122         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11123         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11124         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11125         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11126         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11127         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11128         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11129         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11131         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11133         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11135 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11136             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11138         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11139         Add lwarx hint, and use macro for acquire instruction.
11140         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11141         Likewise.
11142         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11143         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11144         update to use new atomic macros.
11146 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11148         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11149         (__lll_trylock_elision): Fix setting of adapt_count.
11150         * sysdeps/unix/sysv/linux/powerpc/htm.h
11151         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11152         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11153         (_ABORT_SYSCALL): Renumber, and clarify definition.
11154         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11156 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11158         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11159         after system headers to prevent MIN/MAX redefinition.  Define
11160         HAVE_ALLOCA to preserve builtin alloca usage.
11162 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11165         static and don't set or restore rounding.
11166         (__cos)[IN_SINCOS]: Likewise.
11167         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11168         (__sincos): Set and restore rounding mode.  Remove check for infinite
11169         or NaN input.
11171         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11173         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11174         as used.
11176 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11178         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11180 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11182         * config.make.in (have-glob-dat-reloc): New.
11183         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11184         target supports GLOB_DAT relocaton. AC_SUBST.
11185         * configure: Regenerated.
11186         * elf/Makefile (tests): Add tst-prelink.
11187         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11188         (tst-prelink-ENV): New.
11189         ($(objpfx)tst-prelink-conflict.out): Likewise.
11190         ($(objpfx)tst-prelink-cmp.out): Likewise.
11191         * sysdeps/x86/tst-prelink.c: Moved to ...
11192         * elf/tst-prelink.c: Here.
11193         * sysdeps/x86/tst-prelink.exp: Moved to ...
11194         * elf/tst-prelink.exp: Here.
11195         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11196         (tst-prelink-ENV): Removed.
11197         ($(objpfx)tst-prelink-conflict.out): Likewise.
11198         ($(objpfx)tst-prelink-cmp.out): Likewise.
11199         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11201 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11203         [BZ #14551]
11204         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11205         (__mpn_construct_long_double): If high part overflows to infinity,
11206         set errno and recompute overflowed result of the correct sign.
11207         * sysdeps/ieee754/ldbl-128ibm/Makefile
11208         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11209         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11210         $(libm).
11211         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11213 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11215         [BZ #15479]
11216         [BZ #19238]
11217         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11218         floating-point state after first operation on input.  Restore full
11219         state rather than just rounding mode.
11220         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11221         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11222         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11224         [BZ #19235]
11225         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11226         add 0.5 to integer arguments.
11227         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11228         Likewise.
11229         (.LC2): New object.
11231 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11233         * scripts/pylintrc (reports): Set to no.
11235 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11237         * elf/dl-load.c (open_verify): Take new argument FD.
11238         Skip __open call if passed FD is not -1.
11239         (_dl_map_object, open_path): Update callers.
11240         * elf/dl-sysdep-open.h: New file.
11241         * elf/dl-load.c: Include it.
11242         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11243         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11244         * sysdeps/nacl/dl-sysdep-open.h: New file.
11245         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11246         from libc to rtld.
11248 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11250         [BZ #19228]
11251         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11252         and restore full floating-point state.
11253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11254         Likewise.
11255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11256         Likewise.
11257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11258         Likewise.
11259         * math/test-nearbyint-except-2.c: New file.
11260         * math/Makefile (tests): Add test-nearbyint-except-2.
11262 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11264         [BZ #19178]
11265         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11266         (tst-prelink-ENV): New.
11267         ($(objpfx)tst-prelink-conflict.out): Likewise.
11268         ($(objpfx)tst-prelink-cmp.out): Likewise.
11269         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11270         * sysdeps/x86/tst-prelink.c: New file.
11271         * sysdeps/x86/tst-prelink.exp: Likewise.
11273 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11275         * math/auto-libm-test-in: Add another test of pow.
11276         * math/auto-libm-test-out: Regenerated.
11277         * math/libm-test.inc (pow_test_data): Add another test.
11279 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11281         [BZ #19219]
11282         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11283         weak_alias to nearbyintl.
11285 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11287         * sysdeps/aarch64/bits/string.h: New file.
11288         (_STRING_ARCH_unaligned): Define.
11290 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11292         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11293         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11294         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11295         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11298 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11300         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11301         for original name of the DSO.  Add it to the name list of the DSO
11302         if it is actually given.
11303         (_dl_map_object): Keep track of whether an audit module rewrote
11304         the file name.  If yes, pass the original name to
11305         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11306         debugging is enabled, log the change of the file name.
11307         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11308         _dl_map_object_from_fd.
11309         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11310         * elf/tst-audit11.c: New file
11311         * elf/tst-auditmod11.c: New file.
11312         * elf/tst-audit11mod1.c: New file.
11313         * elf/tst-audit11mod2.c: New file.
11314         * elf/tst-audit11mod2.map: New file.
11315         * elf/tst-audit12.c: New file
11316         * elf/tst-auditmod12.c: New file.
11317         * elf/tst-audit12mod1.c: New file.
11318         * elf/tst-audit12mod2.c: New file.
11319         * elf/tst-audit12mod2.map: New file.
11320         * elf/tst-audit12mod3.c: New file.
11322 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11324         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11325         Don't create weak aliases,
11326         because versioned symbols are created later.
11327         * sysdeps/s390/s390-32/setjmp.S
11328         (setjmp, _setjmp): Remove weak and rename to an unique name
11329         in SHARED case due to existing versioned symbols.
11330         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11331         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11332         (getcontext): Create weak alias only in non SHARED case.
11333         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11335 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11337         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11338         (__ASSUME_*_SYSCALL) Define new macros.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11340         Remove socketcall syscalls.
11341         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11342         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11343         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11344         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11345         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11346         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11348 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11350         [BZ #12926]
11351         Terminate process on invalid netlink response.
11352         * sysdeps/unix/sysv/linux/netlinkaccess.h
11353         (__netlink_assert_response): Declare.
11354         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11355         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11356         (sysdep_routines): Add netlink_assert_response.
11357         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11358         __netlink_assert_response.
11359         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11360         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11361         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11362         __netlink_assert_response.
11364 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11366         [BZ #19178]
11367         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11368         (RTYPE_CLASS_PLT): Likewise.
11369         (RTYPE_CLASS_COPY): Likewise.
11370         (RTYPE_CLASS_TLS): Likewise.
11371         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11372         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11373         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11374         DL_DEBUG_PRELINK.
11376 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11378         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11379         calls with argument -0.5.
11380         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11382         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11383         (libc_cv_z_nodlopen): Likewise.
11384         (libc_cv_z_initfirst): Likewise.
11385         * configure: Regenerated.
11387 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11389         Simplify abilist format to be line-based.
11390         * scripts/abilist.awk: Collect descriptors in the descs variable.
11391         (emit): Write descs variable and sort it
11392         externally, with sort.
11393         * sysdeps/**/*.abilist: Convert to new format.
11395 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11397         [BZ #11460]
11398         * io/Makefile (routines): Add fts64.
11399         (tests): Add tst-fts and tst-fts-lfs.
11400         (CFLAGS-fts64.c): New.
11401         * io/Versions (GLIBC_2.23): New.
11402         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11403         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11404         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11405         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11406         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11407         (FTSENT64): Likewise.
11408         (fts64_children): Likewise.
11409         (fts64_close): Likewise.
11410         (fts64_open): Likewise.
11411         (fts64_read): Likewise.
11412         (fts64_set): Likewise.
11413         * io/fts64.c: New file.
11414         * io/tst-fts.c: New test.
11415         * io/tst-fts-lfs.c: Likewise.
11416         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11417         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11418         fts64_set.
11419         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11420         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11421         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11422         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11423         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11424         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11425         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11426         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11427         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11428         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11429         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11430         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11431         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11433         Likewise.
11434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11435         Likewise.
11436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11438         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11439         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11440         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11441         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11442         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11445         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11446         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11447         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11448         * sysdeps/wordsize-64/fts.c: New file.
11449         * sysdeps/wordsize-64/fts64.c: Likewise.
11450         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11451         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11452         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11453         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11455 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11457         * math/libm-test.inc (NON_FINITE): New macro.
11458         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11459         * math/gen-libm-test.pl (show_exceptions): Add argument
11460         $non_finite.
11461         (parse_args): Update call to show_exceptions.
11462         * math/test-math-finite.h: New file.
11463         * math/test-math-no-finite.h: Likewise.
11464         * math/test-double-finite.c: Likewise.
11465         * math/test-float-finite.c: Likewise.
11466         * math/test-ldouble-finite.c: Likewise.
11467         * math/test-double.c: Include "test-math-no-finite.h".
11468         * math/test-float.c: Include "test-math-no-finite.h".
11469         * math/test-ldouble.c: Include "test-math-no-finite.h".
11470         * math/test-math-inline.h (TEST_FINITE): New macro.
11471         * math/test-math-vector.h (TEST_FINITE): Likewise.
11472         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11473         (libm-tests): Add test-float-finite and test-double-finite.
11474         ($(objpfx)test-float-finite.o): New dependency on
11475         $(objpfx)libm-test.stmp.
11476         ($(objpfx)test-double-finite.o): Likewise.
11477         ($(objpfx)test-ldouble-finite.o): Likewise.
11478         (libm-test-no-inline-cflags): New variable.
11479         (libm-test-finite-cflags): Likewise.
11480         (CFLAGS-test-float-finite.c): Likewise.
11481         (CFLAGS-test-double-finite.c): Likewise.
11482         (CFLAGS-test-ldouble-finite.c): Likewise.
11483         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11484         (CFLAGS-test-double.c): Likewise.
11485         (CFLAGS-test-ldouble.c): Likewise.
11487 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11489         * io/fcntl.c (__fcntl): Add ... to prototype.
11490         * misc/ioctl.c (__ioctl): Likewise.
11491         * misc/syscall.c (syscall): Likewise.
11493 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11495         * scripts/list-fixed-bugs.py: New file.
11497         [BZ #19213]
11498         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11499         returned for argument 1.
11500         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11501         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11502         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11503         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11504         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11505         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11507         [BZ #19211]
11508         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11509         __USE_XOPEN], not if [!__USE_ISOC99].
11510         (lgammaf): Likewise.
11511         (lgammal): Likewise.
11512         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11513         (gammaf): Likewise.
11514         (gammal): Likewise.
11515         * math/test-signgam-finite-c11.c: New file.
11516         * math/test-signgam-finite-c99.c: Likewise.
11517         * math/test-signgam-finite.c: Likewise.
11518         * math/Makefile (tests): Add test-signgam-finite,
11519         test-signgam-finite-c99 and test-signgam-finite-c11.
11520         (CFLAGS-test-signgam-finite.c): New variable.
11521         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11522         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11524         [BZ #19212]
11525         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11526         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11527         500].
11528         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11529         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11530         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11531         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11532         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11533         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11534         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11535         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11536         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11537         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11539         [BZ #19209]
11540         * math/bits/math-finite.h (ldexp): Remove declaration.
11541         (ldexpf): Likewise.
11542         (ldexpl): Likewise.
11544         [BZ #19205]
11545         * math/bits/math-finite.h (acosf): Condition declaration on
11546         [__USE_ISOC99].
11547         (acosl): Likewise.
11548         (acoshf): Likewise.
11549         (acoshl): Likewise.
11550         (asinf): Likewise.
11551         (asinl): Likewise.
11552         (atan2f): Likewise.
11553         (atan2l): Likewise.
11554         (atanhf): Likewise.
11555         (atanhl): Likewise.
11556         (coshf): Likewise.
11557         (coshl): Likewise.
11558         (expf): Likewise.
11559         (expl): Likewise.
11560         (fmodf): Likewise.
11561         (fmodl): Likewise.
11562         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11563         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11564         (j0l): Likewise.
11565         (y0f): Likewise.
11566         (y0l): Likewise.
11567         (j1f): Likewise.
11568         (j1l): Likewise.
11569         (y1f): Likewise.
11570         (y1l): Likewise.
11571         (jnf): Likewise.
11572         (jnl): Likewise.
11573         (ynf): Likewise.
11574         (ynl): Likewise.
11575         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11576         (lgammal_r): Likewise.
11577         (__lgamma_r_finite): New declaration.
11578         (__lgammaf_r_finite): Likewise.
11579         (__lgammal_r_finite): Likewise.
11580         (lgamma): Use __lgamma_r_finite.
11581         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11582         __lgammaf_r_finite.
11583         (lgammal): Condition definition on [__USE_ISOC99].  Use
11584         __lgammal_r_finite.
11585         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11586         __lgamma_r_finite.
11587         (gammaf): Condition definition on [__USE_ISOC99].  Use
11588         __lgammaf_r_finite.
11589         (gammal): Condition definition on [__USE_ISOC99].  Use
11590         __lgammal_r_finite.
11591         (logf): Condition declaration on [__USE_ISOC99].
11592         (logl): Likewise.
11593         (log10f): Likewise.
11594         (log10l): Likewise.
11595         (ldexpf): Likewise.
11596         (ldexpl): Likewise.
11597         (powf): Likewise.
11598         (powl): Likewise.
11599         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11600         __USE_ISOC99].
11601         (remainderf): Condition declaration on [__USE_ISOC99].
11602         (remainderl): Likewise.
11603         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11604         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11605         (scalbl): Likewise.
11606         (sinhf): Condition declaration on [__USE_ISOC99].
11607         (sinhl): Likewise.
11608         (sqrtf): Likewise.
11609         (sqrtl): Likewise.
11611 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11613         * sysdeps/arm/atomic-machine.h
11614         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11615         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11616         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11617         Remove conditional code.
11618         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11619         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11620         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11621         Change conditional to [__ASSEMBLER__].
11622         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11623         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11624         [!__ASSEMBLER__].
11625         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11626         code.
11627         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11628         conditional macro definitions.
11629         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11630         (__arch_compare_and_exchange_val_16_acq): Likewise.
11631         (__arch_compare_and_exchange_val_32_acq): Likewise.
11632         (atomic_exchange_and_add): Likewise.
11633         (atomic_add): Likewise.
11634         (atomic_add_negative): Likewise.
11635         (atomic_add_zero): Likewise.
11636         (atomic_bit_set): Likewise.
11637         (atomic_bit_test_set): Likewise.
11638         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11639         code unconditional.
11640         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11642         * math/test-math-errno.h: New file.
11643         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11644         empty.
11645         (TEST_ERRNO): New macro.
11646         (TEST_EXCEPTIONS): Likewise.
11647         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11648         (TEST_EXCEPTIONS): Likewise.
11649         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11650         * math/test-double.c: Include "test-math-errno.h".
11651         * math/test-float.c: Likewise.
11652         * math/test-ldouble.c: Likewise.
11653         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11654         code unconditional.
11655         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11656         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11657         unconditional.
11658         (test_errno): Only run code if TEST_ERRNO.
11659         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11661 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11663         * nptl/tst-once5.cc: Remove attribution.
11665 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11667         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11668         sqrt, tan, tanh, y0, y1 and yn.
11669         * math/auto-libm-test-out: Regenerated.
11670         * math/libm-test.inc (scalb_test_data): Add more tests.
11671         (scalbn_test_data): Likewise.
11672         (scalbln_test_data): Likewise.
11673         (signbit_test_data): Likewise.
11674         (sin_test_data): Likewise.
11675         (sincos_test_data): Likewise.
11676         (sinh_test_data): Likewise.
11677         (sqrt_test_data): Likewise.
11678         (tan_test_data): Likewise.
11679         (tanh_test_data): Likewise.
11680         (tgamma_test_data): Likewise.
11681         (y0_test_data): Likewise.
11682         (y1_test_data): Likewise.
11683         (yn_test_data): Likewise.
11684         (significand_test_data): Likewise.
11685         * sysdeps/i386/fpu/libm-test-ulps: Update.
11687 2015-11-03  David Kastrup  <dak@gnu.org>
11689         [BZ #18604]
11690         * assert/assert.h (assert): Don't macro-expand failed assertion
11691         expression in error message.
11692         * malloc/malloc.c (assert): Likewise.
11694 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11696         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11697         test.
11698         * configure: Regenerated.
11700 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11702         * math/libm-test.inc (modf_test_data): Add more tests.
11703         (nearbyint_test_data): Likewise.
11704         (nextafter_test_data): Likewise.
11705         (nexttoward_test_data): Likewise.
11706         (pow_test_data): Likewise.
11707         (remainder_test_data): Likewise.
11708         (remquo_test_data): Likewise.
11709         (rint_test_data): Likewise.
11711         [BZ #19201]
11712         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11713         Check for zero remainder in case of large exponents and ensure
11714         correct sign of result in that case.
11715         * math/libm-test.inc (remainder_test_data): Add more tests.
11717         [BZ #6799]
11718         * math/s_nextafter.c: Include <errno.h>.
11719         (__nextafter): Set errno on overflow and underflow.
11720         * math/s_nexttowardf.c: Include <errno.h>.
11721         (__nexttowardf): Set errno on overflow and underflow.
11722         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11723         (__nextafterl): Set errno on overflow and underflow.
11724         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11725         (__nexttoward): Set errno on overflow and underflow.
11726         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11727         (__nexttowardf): Set errno on overflow and underflow.
11728         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11729         (__nextafterf): Set errno on overflow and underflow.
11730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11731         (__nextafterl): Set errno on overflow and underflow.
11732         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11733         (__nexttoward): Set errno on overflow and underflow.
11734         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11735         (__nexttowardf): Set errno on overflow and underflow.
11736         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11737         (__nextafterl): Set errno on overflow and underflow.
11738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11739         (__nexttoward): Set errno on overflow and underflow.
11740         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11741         (__nexttowardf): Set errno on overflow and underflow.
11742         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11743         (__nexttoward): Set errno on overflow and underflow.
11744         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11745         (__nexttowardf): Set errno on overflow and underflow.
11746         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11747         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11748         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11749         (__nextafterl): Set errno on overflow and underflow.
11750         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11751         setting to be missing on overflow.  Add more tests.
11752         (nexttoward_test_data): Likewise.
11754         * configure.ac (libc_cv_initfini_array): Remove configure test.
11755         * configure: Regenerated.
11757 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11759         [BZ #19189]
11760         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11761         non-finite argument handle arguments with negative sign.
11763         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11764         result from infinite argument.
11765         (j1_test_data): Likewise.
11766         (jn_test_data): Likewise.
11767         (y0_test_data): Likewise.
11768         (y1_test_data): Likewise.
11769         (yn_test_data): Likewise.
11771         [BZ #16171]
11772         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11773         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11774         * math/w_remainderf.c (dremf): Define as weak alias of
11775         __remainderf.
11776         * math/w_remainderl.c (dreml): Define as weak alias of
11777         __remainderl.
11778         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11779         __remainder.
11780         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11781         __remainderf.
11782         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11783         __remainderl.
11784         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11785         weak alias of remainderl.
11786         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11787         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11788         alias of __remainder.
11789         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11790         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11791         strong alias of __remainderl.
11792         (dreml): Use long_double_symbol.
11793         * math/Makefile (libm-calls): Remove w_drem.
11794         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11795         (CFLAGS-nldbl-drem.c): Remove variable.
11796         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11797         * math/w_drem.c: Remove file.
11798         * math/w_dremf.c: Likewise.
11799         * math/w_dreml.c: Likewise.
11800         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11801         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11802         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11804         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11805         * sysdeps/i386/configure: Regenerated.
11806         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11807         * sysdeps/x86_64/configure: Regenerated.
11809         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11810         test.
11811         (libc_cv_visibility_attribute): Likewise.
11812         (libc_cv_protected_data): Test unconditionally.
11813         (libc_cv_broken_visibility_attribute): Remove configure test.
11814         (libc_cv_have_sdata_section): Test unconditionally.
11815         * configure: Regenerated.
11817         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11818         * include/scratch_buffer.h: Include <stddef.h> instead of
11819         <libc-internal.h>.
11820         (struct scratch_buffer): Use max_align_t instead of
11821         libc_max_align_t.
11823 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11825         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11826         instead of extend_alloca.  Change control flow to avoid a goto.
11827         Remove assert which is trivially always true.
11829 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11831         [BZ #16068]
11832         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11833         (FE_ALL_EXCEPT_X86): New macro.
11834         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11835         FE_ALL_EXCEPT.  Ensure precision control is included in
11836         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11837         handle "denormal operand exception" and clear FZ and DAZ bits.
11838         * sysdeps/x86_64/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/fpu/test-fenv-sse-2.c: New file.
11845         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11846         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11847         test-fenv-x87 and test-fenv-sse-2.
11848         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11850         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11851         * math/test-double.h (BUILD_COMPLEX): New macro.
11852         * math/test-float.h (BUILD_COMPLEX): Likewise.
11853         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11855         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11856         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11857         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11859         instead of DBL_DENORM_MIN in comment.
11860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11861         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11862         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11863         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11865         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11867 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11869         [BZ# 19048]
11870         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11871         attached_threads member.
11872         (main_arena): Initialize attached_threads.
11873         * malloc/arena.c (list_lock): Update comment.
11874         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11875         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11876         (deattach_arena): New function.
11877         (_int_new_arena): Initialize arena reference count and deattach
11878         replaced arena.
11879         (get_free_list, reused_arena): Update reference count and deattach
11880         replaced arena.
11881         (arena_thread_freeres): Update arena reference count and only put
11882         unreferenced arenas on the free list.
11884 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11886         [BZ #19181]
11887         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11888         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11889         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11890         * math/test-fenv-clear-main.c: New file.
11891         * math/test-fenv-clear.c: Likewise.
11892         * math/Makefile (tests): Add test-fenv-clear.
11893         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11894         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11895         test-fenv-clear-sse.
11896         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11898         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11899         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11900         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11902 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11904         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11905         static libc.
11907 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11909         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11910         test.
11911         * sysdeps/i386/configure: Regenerated.
11912         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11913         test.
11914         * sysdeps/x86_64/configure: Regenerated.
11915         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11917         memset-avx2 unconditionally instead of conditionally on
11918         [$(config-cflags-avx2) = yes].
11919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11920         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11921         unconditional.
11922         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11923         * sysdeps/x86_64/multiarch/memset_chk.S
11924         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11925         to [IS_IN (libc) && SHARED].
11927 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11929         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11930         configure test.
11931         * sysdeps/arm/configure: Regenerated.
11932         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11933         Define variable if not already defined.
11935         [BZ #17404]
11936         * sysdeps/mips/atomic-machine.h
11937         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11938         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11939         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11941         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11942         unconditional.
11943         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11944         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11945         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11946         unconditional.
11947         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11948         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11949         unconditional.
11950         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11951         * stdlib/setenv.c
11952         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11953         code unconditional.
11954         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11955         Remove conditional code.
11956         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11957         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11958         unconditional.
11959         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11960         code.
11961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11962         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11963         unconditional.
11964         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11965         code.
11966         * sysdeps/ieee754/ldbl-128/k_tanl.c
11967         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11968         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11969         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11970         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11971         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11973         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11974         unconditional.
11975         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11976         code.
11977         * sysdeps/ieee754/ldbl-96/k_tanl.c
11978         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11979         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11981         * nptl/tst-initializers1-c11.c: New file.
11982         * nptl/tst-initializers1-gnu11.c: Likewise.
11983         * nptl/Makefile (tests): Add these new tests.
11984         (CFLAGS-tst-initializers1-c11.c): New variable.
11985         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11987         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11988         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11989         instead of -std=gnu99.
11990         * configure.ac (systemtap): Test with -std=gnu11 instead of
11991         -std=gnu99.
11992         * configure: Regenerated.
11993         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11994         in compilation command in comment.
11996         * sysdeps/nptl/configure.ac: Remove file.
11997         * sysdeps/nptl/configure: Remove generated file.
11998         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11999         * configure: Regenerated.
12000         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12001         * config.make.in (have-forced-unwind): Remove variable.
12002         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12003         unconditional.
12004         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12005         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12006         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12007         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12008         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12009         unconditional.
12011 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12013         [BZ #19174]
12014         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12015         .skip_lock_out_of_tbegin_retries.
12016         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12017         (__lll_lock_elision): Likewise, and respect a value of
12018         try_tbegin <= 0.
12020 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12022         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12023         statement.
12025 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12027         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12028         variable.
12029         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12030         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12032         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12033         of -std=c1x -D_ISOC11_SOURCE.
12035         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12036         * configure: Regenerated.
12037         * manual/install.texi (Tools for Compilation): Document
12038         requirement for GCC 4.7 or later.
12039         * INSTALL: Regenerated.
12041 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12043         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12044         on CNT to a conditional jump to 'puntdata'.
12046 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12048         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12049         (libc_cv_gcc_tls_model_attr): Likewise.
12050         * configure: Regenerated.
12052         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12053         * configure: Regenerated.
12054         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12056 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12058         * configure.ac (old_glibc_headers): Remove configure test.
12059         * configure: Regenerated.
12060         * config.make.in (old-glibc-headers): Remove variable.
12061         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12062         (install): Remove dependency on remove-old-headers.
12063         (headers2_0): Remove variable.
12064         (remove-old-headers): Remove rule.
12066         * configure.ac (libc_cv_dot_text): Remove configure test.
12067         (libc_cv_asm_set_directive): Use .text instead of
12068         ${libc_cv_dot_text} in configure test.
12069         * configure: Regenerated.
12071 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12073         [BZ #19168]
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12076 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12078         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12079         not support static linking.
12080         * configure: Regenerate.
12082 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12084         * math/libm-test.inc (check_float_internal): Do not special-case
12085         errors up to 0.5 ulp.
12087         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12088         log2.
12089         * math/auto-libm-test-out: Regenerated.
12090         * math/libm-test.inc (MAX_EXP): New macro.
12091         (ilogb_test_data): Add more tests.
12092         (isfinite_test_data): Likewise.
12093         (isgreater_test_data): Likewise.
12094         (isgreaterequal_test_data): Likewise.
12095         (isinf_test_data): Likewise.
12096         (isless_test_data): Likewise.
12097         (islessequal_test_data): Likewise.
12098         (islessgreater_test_data): Likewise.
12099         (isnan_test_data): Likewise.
12100         (isnormal_test_data): Likewise.
12101         (issignaling_test_data): Likewise.
12102         (isunordered_test_data): Likewise.
12103         (j0_test_data): Likewise.
12104         (j1_test_data): Likewise.
12105         (jn_test_data): Likewise.
12106         (lgamma_test_data): Likewise.
12107         (log_test_data): Likewise.
12108         (log10_test_data): Likewise.
12109         (log1p_test_data): Likewise.
12110         (log2_test_data): Likewise.
12111         (logb_test_data): Likewise.
12112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12114         [BZ #18611]
12115         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12116         avoid excess range and precision on underflow.
12117         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12118         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12119         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12120         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12121         underflow.
12122         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12124         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12126         * math/auto-libm-test-in: Do not allow missing errno setting for
12127         tests of j1 and jn.
12128         * math/auto-libm-test-out: Regenerated.
12130 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #15491]
12133         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12134         floating-point environment instead of clearing all exceptions.
12135         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12136         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12137         merging in "invalid" exceptions from frndint.
12138         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12139         * math/test-nearbyint-except.c: New file.
12140         * math/Makefile (tests): Add test-nearbyint-except.
12142 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12144         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12146         * sysdeps/tile/libm-test-ulps: Regenerated.
12148 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12151         (__NR_sync_file_range2): Assume it is always defined.
12152         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12153         (__NR_sync_file_range): Assume it is always defined.
12155 2015-10-22  Andreas Schwab  <schwab@suse.de>
12157         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12158         INTERNAL_SYSCALL_ERRNO.
12159         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12160         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12161         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12162         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12166 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12168         * io/tst-fcntl.c (fd): New static variable.
12169         (do_prepare): Open temporary file here....
12170         (do_test): ...not here.
12172         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12174 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12176         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12177         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12178         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12179         Moved before "#ifdef __ASSEMBLER__".
12181 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12183         [BZ #19156]
12184         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12185         arguments very close to 0.
12187 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12189         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12190         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12192 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12194         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12195         New.  Defined for GCC 5 and above when not compiling for
12196         profiling.
12197         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12199         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12200         Renamed to ...
12201         (CFLAGS-epoll_pwait.o): This.
12202         (CFLAGS-mmap.c): Renamed to ...
12203         (CFLAGS-mmap.o): This.
12204         (CFLAGS-mmap64.c): Renamed to ...
12205         (CFLAGS-mmap64.o): This.
12206         (CFLAGS-epoll_pwait.os): New.
12207         (CFLAGS-mmap.os): Likewise.
12208         (CFLAGS-mmap64.os): Likewise.
12209         (CFLAGS-semtimedop.os): Likewise.
12210         (CFLAGS-semtimedop.c): Renamed to ...
12211         (CFLAGS-semtimedop.o): This.
12213 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12215         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12216         warning message.
12218 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12220         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12221         * Makefile ($(objpfx)c++-types-check.out): Filter out
12222         $(+gccwarn-c) instead of -Wstrict-prototypes.
12224         * io/fts.c (fts_open): Convert to prototype-style function
12225         definition.
12226         * malloc/mcheck.c (mcheck): Likewise.
12227         (mcheck_pedantic): Likewise.
12228         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12229         internal_function.
12230         (re_search_internal): Likewise.
12231         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12232         prototype-style function definition.
12233         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12234         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12235         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12236         (xdr_utmpptr): Likewise.
12237         (xdr_utmparr): Likewise.
12238         (xdr_utmpidle): Likewise.
12239         (xdr_utmpidleptr): Likewise.
12240         (xdr_utmpidlearr): Likewise.
12242         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12243         log, log10 and log2.
12244         * math/auto-libm-test-out: Regenerated.
12245         * math/libm-test.inc (fmod_test_data): Add more tests.
12246         (fpclassify_test_data): Likewise.
12247         (frexp_test_data): Likewise.
12248         (hypot_test_data): Likewise.
12249         (ilogb_test_data): Likewise.
12251 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12253         * debug/fortify_fail.c (__fortify_fail): Convert to
12254         prototype-style function definition.  Use internal_function.
12255         * libio/genops.c (save_for_backup): Convert to prototype-style
12256         function definition.
12257         * libio/wgenops.c (save_for_wbackup): Likewise.
12258         * login/grantpt.c (grantpt): Likewise.
12259         * login/ptsname.c (ptsname): Likewise.
12260         (__ptsname_r): Likewise.
12261         * login/unlockpt.c (unlockpt): Likewise.
12262         * mach/msgserver.c (__mach_msg_server): Likewise.
12263         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12264         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12265         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12266         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12267         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12268         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12269         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12270         Likewise.
12271         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12272         internal_function.
12273         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12274         prototype-style function definition.
12275         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12276         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12277         (__pthread_create_2_0): Likewise.
12278         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12279         * nptl/register-atfork.c (__register_atfork): Likewise.
12280         * posix/glob.c (glob): Likewise.
12281         * posix/regcomp.c (re_comp): Likewise.
12282         * posix/regexec.c (re_exec): Likewise.
12283         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12284         [!__STDC__]: Remove conditional code.
12285         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12286         [!__STDC__]: Remove conditional code.
12287         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12288         [!__STDC__]: Remove conditional code.
12289         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12290         [!__STDC__]: Remove conditional code.
12291         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12292         [!__STDC__]: Remove conditional code.
12293         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12294         [!__STDC__]: Remove conditional code.
12295         * stdlib/mul.c [__STDC__]: Make code unconditional.
12296         [!__STDC__]: Remove conditional code.
12297         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12298         [!__STDC__]: Remove conditional code.
12299         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12300         [!__STDC__]: Remove conditional code.
12301         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12302         function definition.
12303         (STRTOF): Likewise.
12304         * stdlib/strtod_l.c (__STRTOF): Likewise.
12305         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12306         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12307         (__strtol_l): Likewise.
12308         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12309         [!__STDC__]: Remove conditional code.
12310         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12311         definition.
12312         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12313         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12314         type.
12315         (__strcasecmp): Convert to prototype-style function definition.
12316         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12317         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12318         type.
12319         (__strncasecmp): Convert to prototype-style function definition.
12320         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12321         * sunrpc/xdr.c (xdr_union): Likewise.
12322         * sunrpc/xdr_array.c (xdr_array): Likewise.
12323         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12324         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12325         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12326         Likewise.
12327         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12328         Likewise.
12329         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12330         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12331         Likewise.
12332         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12333         (LOCALE_PARAM_PROTO): Likewise.
12334         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12335         argument type.
12336         (ut_argument_spec): Remove macro.
12337         (ut_argument_spec_iso): Rename to ut_argument_spec.
12338         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12339         prototype-style function definition.
12340         (memcpy_uppcase): Likewise.
12341         (__strftime_internal): Likewise.
12342         (my_strftime): Likewise.
12343         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12344         (LOCALE_PARAM_DECL): Likewise.
12345         [_LIBC] (LOCALE_PARAM): Include argument type.
12346         (__strptime_internal): Convert to prototype-style function
12347         definition.
12348         (strptime): Likewise.
12349         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12350         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12351         type.
12352         (__wcscasecmp): Convert to prototype-style function definition.
12353         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12354         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12355         type.
12356         (__wcsncasecmp): Convert to prototype-style function definition.
12358         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12359         function definition.
12360         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12361         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12362         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12363         * elf/dl-minimal.c (_itoa): Likewise.
12364         * hurd/hurdmalloc.c (malloc): Likewise.
12365         (free): Likewise.
12366         (realloc): Likewise.
12367         * inet/inet6_option.c (inet6_option_space): Likewise.
12368         (inet6_option_init): Likewise.
12369         (inet6_option_append): Likewise.
12370         (inet6_option_alloc): Likewise.
12371         (inet6_option_next): Likewise.
12372         (inet6_option_find): Likewise.
12373         * io/ftw.c (FTW_NAME): Likewise.
12374         (NFTW_NAME): Likewise.
12375         (NFTW_NEW_NAME): Likewise.
12376         (NFTW_OLD_NAME): Likewise.
12377         * libio/iofwide.c (_IO_fwide): Likewise.
12378         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12379         (_IO_str_init_static): Likewise.
12380         (_IO_str_init_readonly): Likewise.
12381         (_IO_str_overflow): Likewise.
12382         (_IO_str_underflow): Likewise.
12383         (_IO_str_count): Likewise.
12384         (_IO_str_seekoff): Likewise.
12385         (_IO_str_pbackfail): Likewise.
12386         (_IO_str_finish): Likewise.
12387         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12388         (_IO_wstr_overflow): Likewise.
12389         (_IO_wstr_underflow): Likewise.
12390         (_IO_wstr_count): Likewise.
12391         (_IO_wstr_seekoff): Likewise.
12392         (_IO_wstr_pbackfail): Likewise.
12393         (_IO_wstr_finish): Likewise.
12394         * locale/programs/localedef.c (normalize_codeset): Likewise.
12395         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12396         (add_locales_to_archive): Likewise.
12397         (delete_locales_from_archive): Likewise.
12398         * malloc/malloc.c (__libc_mallinfo): Likewise.
12399         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12400         * misc/tsearch.c (__tfind): Likewise.
12401         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12402         * nptl/pthread_attr_getdetachstate.c
12403         (__pthread_attr_getdetachstate): Likewise.
12404         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12405         Likewise.
12406         * nptl/pthread_attr_getinheritsched.c
12407         (__pthread_attr_getinheritsched): Likewise.
12408         * nptl/pthread_attr_getschedparam.c
12409         (__pthread_attr_getschedparam): Likewise.
12410         * nptl/pthread_attr_getschedpolicy.c
12411         (__pthread_attr_getschedpolicy): Likewise.
12412         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12413         Likewise.
12414         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12415         Likewise.
12416         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12417         Likewise.
12418         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12419         Likewise.
12420         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12421         (__pthread_attr_init_2_0): Likewise.
12422         * nptl/pthread_attr_setdetachstate.c
12423         (__pthread_attr_setdetachstate): Likewise.
12424         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12425         Likewise.
12426         * nptl/pthread_attr_setinheritsched.c
12427         (__pthread_attr_setinheritsched): Likewise.
12428         * nptl/pthread_attr_setschedparam.c
12429         (__pthread_attr_setschedparam): Likewise.
12430         * nptl/pthread_attr_setschedpolicy.c
12431         (__pthread_attr_setschedpolicy): Likewise.
12432         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12433         Likewise.
12434         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12435         Likewise.
12436         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12437         Likewise.
12438         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12439         Likewise.
12440         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12441         Likewise.
12442         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12443         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12444         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12445         use internal_function.
12446         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12447         prototype-style function definition.
12448         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12449         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12450         internal_function.
12451         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12452         Convert to prototype-style function definition.
12453         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12454         Likewise.
12455         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12456         Likewise.
12457         (__pthread_mutex_unlock): Likewise.
12458         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12459         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12460         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12461         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12462         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12463         * nss/makedb.c (process_input): Likewise.
12464         * posix/fnmatch.c (__strchrnul): Likewise.
12465         (__wcschrnul): Likewise.
12466         (fnmatch): Likewise.
12467         * posix/fnmatch_loop.c (FCT): Likewise.
12468         * posix/glob.c (globfree): Likewise.
12469         (__glob_pattern_type): Likewise.
12470         (__glob_pattern_p): Likewise.
12471         * posix/regcomp.c (re_compile_pattern): Likewise.
12472         (re_set_syntax): Likewise.
12473         (re_compile_fastmap): Likewise.
12474         (regcomp): Likewise.
12475         (regerror): Likewise.
12476         (regfree): Likewise.
12477         * posix/regexec.c (regexec): Likewise.
12478         (re_match): Likewise.
12479         (re_search): Likewise.
12480         (re_match_2): Likewise.
12481         (re_search_2): Likewise.
12482         (re_search_stub): Likewise.  Use internal_function
12483         (re_copy_regs): Likewise.
12484         (re_set_registers): Convert to prototype-style function
12485         definition.
12486         (prune_impossible_nodes): Likewise.  Use internal_function.
12487         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12488         prototype-style function definition.
12489         (inet_net_pton_ipv4): Likewise.
12490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12491         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12492         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12493         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12494         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12495         Make variadic.
12496         * time/strptime_l.c (localtime_r): Convert to prototype-style
12497         function definition.
12498         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12499         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12500         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12501         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12503         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12504         definition.
12505         (_ufc_doit_r): Likewise.
12506         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12507         (_ufc_output_conversion_r): Likewise.
12508         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12509         * inet/rcmd.c (rcmd_af): Likewise.
12510         (rcmd): Likewise.
12511         (ruserok_af): Likewise.
12512         (ruserok): Likewise.
12513         (ruserok2_sa): Likewise.
12514         (ruserok_sa): Likewise.
12515         (iruserok_af): Likewise.
12516         (iruserok): Likewise.
12517         (__ivaliduser): Likewise.
12518         (__validuser2_sa): Likewise.
12519         * inet/rexec.c (rexec_af): Likewise.
12520         (rexec): Likewise.
12521         * inet/ruserpass.c (ruserpass): Likewise.
12522         * locale/programs/xmalloc.c (xcalloc): Likewise.
12523         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12524         * math/w_drem.c (__drem): Likewise.
12525         * math/w_dremf.c (__dremf): Likewise.
12526         * math/w_dreml.c (__dreml): Likewise.
12527         * misc/daemon.c (daemon): Likewise.
12528         * resolv/res_debug.c (p_fqnname): Likewise.
12529         * stdlib/div.c (div): Likewise.
12530         * string/memcmp.c (memcmp_bytes): Likewise.
12531         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12532         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12534         * crypt/cert.c (main): Convert to prototype-style function
12535         definition.
12536         * io/pipe.c (__pipe): Likewise.
12537         * io/pipe2.c (__pipe2): Likewise.
12538         * misc/futimesat.c (futimesat): Likewise.
12539         * misc/utimes.c (__utimes): Likewise.
12540         * posix/execve.c (__execve): Likewise.
12541         * posix/execvp.c (execvp): Likewise.
12542         * posix/execvpe.c (__execvpe): Likewise.
12543         * posix/fexecve.c (fexecve): Likewise.
12544         * socket/socketpair.c (socketpair): Likewise.
12545         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12546         * stdlib/erand48.c (erand48): Likewise.
12547         * stdlib/erand48_r.c (__erand48_r): Likewise.
12548         * stdlib/jrand48.c (jrand48): Likewise.
12549         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12550         * stdlib/lcong48.c (lcong48): Likewise.
12551         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12552         * stdlib/nrand48.c (nrand48): Likewise.
12553         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12554         * stdlib/seed48.c (seed48): Likewise.
12555         * stdlib/seed48_r.c (__seed48_r): Likewise.
12556         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12557         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12558         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12560 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12562         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12563         * configure: Regenerated.
12564         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12565         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12566         unconditional.
12567         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12568         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12569         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12570         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12571         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12572         unconditional.
12573         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12575         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12576         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12578         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12579         function definition.
12580         * crypt/crypt_util.c (__encrypt_r): Likewise.
12581         * libio/genops.c (_IO_no_init): Likewise.
12582         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12583         (_IO_old_fopencookie): Likewise.
12584         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12585         * libio/iogetline.c (_IO_getline): Likewise.
12586         (_IO_getline_info): Likewise.
12587         * libio/iogetwline.c (_IO_getwline): Likewise.
12588         (_IO_getwline_info): Likewise.
12589         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12590         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12591         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12592         (find_entry): Likewise.
12593         (iterate_table): Likewise.
12594         (lookup): Likewise.
12595         * login/forkpty.c (forkpty): Likewise.
12596         * misc/hsearch_r.c (__hsearch_r): Likewise.
12597         * misc/select.c (__select): Likewise.
12598         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12599         Likewise.
12600         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12601         Likewise.
12602         * nptl/old_pthread_cond_timedwait.c
12603         (__pthread_cond_timedwait_2_0): Likewise.
12604         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12605         * nptl/pthread_barrierattr_getpshared.c
12606         (pthread_barrierattr_getpshared): Likewise.
12607         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12608         Likewise.
12609         * nptl/pthread_mutex_setprioceiling.c
12610         (pthread_mutex_setprioceiling): Likewise.
12611         * nptl/pthread_mutexattr_getprioceiling.c
12612         (pthread_mutexattr_getprioceiling): Likewise.
12613         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12614         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12615         Likewise.
12616         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12617         Likewise.
12618         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12619         Likewise.
12620         * socket/recvfrom.c (__recvfrom): Likewise.
12621         * socket/sendto.c (__sendto): Likewise.
12622         * socket/setsockopt.c (__setsockopt): Likewise.
12623         * stdio-common/_itoa.c (_itoa): Likewise.
12624         * stdio-common/_itowa.c (_itowa): Likewise.
12625         * stdio-common/reg-printf.c (__register_printf_specifier):
12626         Likewise.
12627         (__register_printf_function): Likewise.
12628         * stdio-common/tempname.c (__path_search): Likewise.
12629         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12630         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12631         * stdlib/random_r.c (__initstate_r): Likewise.
12632         * stdlib/setenv.c (__add_to_environ): Likewise.
12633         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12634         * streams/getpmsg.c (getpmsg): Likewise.
12635         * streams/putmsg.c (putmsg): Likewise.
12636         * streams/putpmsg.c (putpmsg): Likewise.
12637         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12638         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12639         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12640         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12641         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12642         * sunrpc/svc_udp.c (cache_get): Likewise.
12643         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12644         * sysdeps/mach/hurd/getcwd.c
12645         (__canonicalize_directory_name_internal): Likewise.
12646         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12647         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12648         * sysdeps/mach/hurd/select.c (__select): Likewise.
12649         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12650         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12651         * sysdeps/sparc/nptl/pthread_barrier_init.c
12652         (__pthread_barrier_init): Likewise.
12653         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12654         (__pthread_cond_timedwait): Likewise.
12655         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12656         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12659         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12660         Likewise.
12661         * sysvipc/semtimedop.c (semtimedop): Likewise.
12662         * time/setitimer.c (__setitimer): Likewise.
12663         * time/strftime_l.c (emacs_strftime): Likewise.
12665 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12667         * config.make.in (have-ssp): Delete.
12668         (stack-protector): New variable.
12669         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12670         cache test for -fstack-protector-strong.  Export stack_protector to
12671         the best ssp flag.
12672         * configure: Regenerated.
12673         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12674         * nscd/Makefile (CFLAGS-nscd): Likewise.
12675         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12677 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12679         [BZ #19122]
12680         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12681         attribute_hidden.
12683 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12685         [BZ #18743]
12686         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12687         code to...
12688         (ELIDE_LOCK): ...here.
12689         (__get_new_count): New function with part of the code from
12690         __elide_lock that updates the value of adapt_count after a
12691         transaction abort.
12692         (__elided_trylock): Moved this code to...
12693         (ELIDE_TRYLOCK): ...here.
12695 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12697         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12698         * configure: Regenerate.
12699         * INSTALL: Regenerate.
12700         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12701         and tweak grammar.
12703 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12705         * login/programs/pt_chown.c: Include signal.h
12706         (main): Clear any signal mask from the parent process.
12708 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12710         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12711         * configure: Regenerated.
12712         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12713         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12714         $(gnu89-inline-CFLAGS).
12716         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12717         test.
12718         (libc_cv_asm_weakext_directive): Likewise.
12719         * configure: Regenerated.
12720         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12721         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12722         * include/libc-symbols.h
12723         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12724         #error.
12725         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12726         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12728         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12729         prototype-style function definition.
12730         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12731         * sysdeps/i386/ffs.c (__ffs): Likewise.
12732         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12733         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12734         Likewise.
12735         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12736         Likewise.
12737         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12738         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12739         Likewise.
12740         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12741         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12742         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12743         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12744         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12745         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12746         * sysdeps/mach/hurd/access.c (__access): Likewise.
12747         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12748         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12749         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12750         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12751         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12752         (cthread_getspecific): Likewise.
12753         (cthread_setspecific): Likewise.
12754         (__libc_getspecific): Likewise.
12755         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12756         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12757         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12758         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12759         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12760         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12761         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12762         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12763         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12764         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12765         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12766         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12767         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12768         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12769         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12770         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12771         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12772         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12773         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12774         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12775         * sysdeps/mach/hurd/link.c (__link): Likewise.
12776         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12777         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12778         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12779         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12780         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12781         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12782         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12783         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12784         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12785         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12786         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12787         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12788         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12789         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12790         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12791         * sysdeps/mach/hurd/send.c (__send): Likewise.
12792         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12793         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12794         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12795         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12796         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12797         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12798         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12799         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12800         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12801         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12802         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12803         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12804         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12805         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12806         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12807         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12808         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12809         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12810         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12811         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12812         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12813         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12814         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12815         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12816         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12817         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12818         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12819         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12820         * sysdeps/posix/alarm.c (alarm): Likewise.
12821         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12822         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12823         * sysdeps/posix/dup.c (__dup): Likewise.
12824         * sysdeps/posix/dup2.c (__dup2): Likewise.
12825         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12826         (main): Likewise.
12827         * sysdeps/posix/flock.c (__flock): Likewise.
12828         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12829         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12830         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12831         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12832         * sysdeps/posix/isatty.c (__isatty): Likewise.
12833         * sysdeps/posix/killpg.c (killpg): Likewise.
12834         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12835         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12836         * sysdeps/posix/raise.c (raise): Likewise.
12837         * sysdeps/posix/remove.c (remove): Likewise.
12838         * sysdeps/posix/rename.c (rename): Likewise.
12839         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12840         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12841         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12842         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12843         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12844         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12845         * sysdeps/posix/sigset.c (sigset): Likewise.
12846         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12847         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12848         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12849         * sysdeps/posix/time.c (time): Likewise.
12850         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12851         (ttyname): Likewise.
12852         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12853         * sysdeps/posix/utime.c (utime): Likewise.
12854         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12855         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12856         Likewise.
12857         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12858         (pthread_spin_trylock): Likewise.
12859         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12860         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12861         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12862         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12863         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12864         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12865         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12866         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12867         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12868         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12869         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12870         * sysdeps/s390/ffs.c (__ffs): Likewise.
12871         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12872         Likewise.
12873         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12874         Likewise.
12875         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12876         Likewise.
12877         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12878         (pthread_barrier_destroy): Likewise.
12879         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12880         (__pthread_barrier_wait): Likewise.
12881         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12882         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12883         (__pthread_barrier_wait): Likewise.
12884         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12885         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12886         (memcmp_not_common_alignment): Likewise.
12887         (MEMCMP): Likewise.
12888         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12889         (_wordcopy_fwd_dest_aligned): Likewise.
12890         (_wordcopy_bwd_aligned): Likewise.
12891         (_wordcopy_bwd_dest_aligned): Likewise.
12892         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12893         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12894         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12895         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12896         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12897         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12898         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12899         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12900         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12901         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12902         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12903         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12904         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12905         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12906         * sysdeps/unix/stime.c (stime): Likewise.
12907         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12908         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12909         Likewise.  Use internal_function.
12910         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12911         Convert to prototype-style function definition.
12912         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12913         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12915         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12916         Likewise.  Use internal_function.
12917         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12918         prototype-style function definition
12919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12920         Likewise.
12921         (__getlogin_r): Likewise.
12922         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12924         (__pthread_cond_broadcast): Likewise.
12925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12926         (__pthread_cond_destroy): Likewise.
12927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12928         (__pthread_cond_init): Likewise.
12929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12930         (__pthread_cond_signal): Likewise.
12931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12932         (__pthread_cond_wait): Likewise.
12933         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12934         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12935         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12936         Likewise.
12937         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12938         Likewise.
12939         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12940         Likewise.
12941         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12942         Likewise.
12943         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12945         (__ftruncate64): Likewise.
12946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12947         (truncate64): Likewise.
12948         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12949         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12950         (pthread_getcpuclockid): Likewise.
12951         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12952         Likewise.
12953         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12954         Likewise.
12955         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12956         Likewise.
12957         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12958         Likewise.
12959         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12960         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12961         (__libc_sigaction): Likewise.
12962         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12963         Likewise.
12964         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12965         (__sigprocmask): Likewise.
12966         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12967         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12968         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12969         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12970         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12971         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12972         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12973         Likewise.
12974         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12975         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12976         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12977         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12978         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12979         Likewise.
12980         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12981         (__sigprocmask): Likewise.
12982         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12983         (cfgetispeed): Likewise.
12984         (cfsetospeed): Likewise.
12985         (cfsetispeed): Likewise.
12986         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12987         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12988         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12989         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12990         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12991         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12992         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12993         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12996         Likewise.
12997         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12998         Likewise.
12999         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13000         Likewise.
13001         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13003 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13005         sunrpc: Rewrite with explicit TLS access using __thread.
13006         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13007         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13008         directly.
13009         (__rpc_thread_variables): Access thread_rpc_vars directly.
13010         Eliminate redundant assignment of the tvp variable.
13012 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13014         malloc: Rewrite with explicit TLS access using __thread.
13015         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13016         (tsd_setspecific, tsd_getspecific): Remove.
13017         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13018         (tsd_setspecific, tsd_getspecific): Likewise.
13019         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13020         (tsd_setspecific, tsd_getspecific): Likewise.
13021         * malloc/arena.c (thread_arena): New TLS variable.
13022         (arena_key): Remove variable.
13023         (arena_get): Use thread_arena.
13024         (arena_lookup): Remove macro.
13025         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13026         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13027         (_int_new_arena, get_free_list, reused_arena)
13028         (arena_thread_freeres): Use thread_arena.
13029         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13030         tsd_getspecific, tsd_setspecific from safety annotations.
13031         (Allocating Cleared Space): Remove arena_lookup from safety
13032         annotations.
13034 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13036         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13037         struct scratch_buffer instead of extend_alloca.
13039 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13041         * sysdeps/unix/sysv/linux/kernel-features.h
13042         (__ASSUME_SOCK_CLOEXEC): Remove.
13043         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13044         (__have_paccept): Remove unused macro.
13045         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13046         * misc/syslog.c (openlog_internal): Remove fallback code for
13047         !__ASSUME_SOCK_CLOEXEC.
13048         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13049         missing SOCK_CLOEXEC.
13050         * nscd/connections.c (have_sock_cloexec): Remove definition.
13051         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13052         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13053         !__ASSUME_SOCK_CLOEXEC.
13054         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13055         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13056         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13057         definition.
13058         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13059         code for !__ASSUME_SOCK_CLOEXEC.
13061 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13063         [BZ #18982]
13064         * manual/stdio.texi (Variable Arguments Output): Add portability
13065         note, explaining that vfprintf clobbers the va_list pointer.
13067 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13069         * math/libm-test.inc (fabs_test_data): Add more tests.
13070         (fdim_test_data): Likewise.
13071         (fma_test_data): Likewise.
13072         (fmax_test_data): Likewise.
13073         (fmin_test_data): Likewise.
13074         (fmod_test_data): Likewise.
13076 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13078         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13079         data.
13081 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13083         * math/libm-test.inc (ceil_test_data): Add more tests and more
13084         expectations for "inexact".
13085         (floor_test_data): Add more tests.
13086         (round_test_data): Likewise.
13087         (trunc_test_data): Likewise.
13089         * crypt/cert.c (good_bye): Convert to prototype-style function
13090         definition.
13091         (get8): Likewise.
13092         (put8): Likewise.
13093         * crypt/crypt-entry.c (crypt): Likewise.
13094         (__fcrypt): Likewise.
13095         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13096         (_ufc_set_bits): Likewise.
13097         (_ufc_clearmem): Likewise.
13098         (__init_des_r): Likewise.
13099         (shuffle_sb): Likewise.
13100         (shuffle_sb): Likewise.
13101         (_ufc_setup_salt_r): Likewise.
13102         (_ufc_mk_keytab_r): Likewise.
13103         (_ufc_dofinalperm_r): Likewise.
13104         (encrypt): Likewise.
13105         (__setkey_r): Likewise.
13106         (setkey): Likewise.
13107         * crypt/md5.c (md5_init_ctx): Likewise.
13108         (md5_read_ctx): Likewise.
13109         (md5_finish_ctx): Likewise.
13110         (md5_stream): Likewise.
13111         (md5_buffer): Likewise.
13112         (md5_process_bytes): Likewise.
13113         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13114         (__sha256_finish_ctx): Likewise.
13115         (__sha256_process_bytes): Likewise.
13116         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13117         (__sha512_finish_ctx): Likewise.
13118         (__sha512_process_bytes): Likewise.
13119         * ctype/isctype.c (__isctype): Likewise.
13120         * debug/backtrace.c (__backtrace): Likewise.
13121         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13122         * debug/fgets_chk.c (__fgets_chk): Likewise.
13123         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13124         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13125         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13126         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13127         * debug/memset_chk.c (__memset_chk): Likewise.
13128         * debug/strcat_chk.c (__strcat_chk): Likewise.
13129         * debug/strncat_chk.c (__strncat_chk): Likewise.
13130         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13131         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13132         * dirent/dirfd.c (dirfd): Likewise.
13133         * dirent/getdents.c (__getdirentries): Likewise.
13134         * dirent/getdents64.c (getdirentries64): Likewise.
13135         * dirent/rewinddir.c (__rewinddir): Likewise.
13136         * dirent/seekdir.c (seekdir): Likewise.
13137         * dirent/telldir.c (telldir): Likewise.
13138         * elf/sln.c (makesymlinks): Likewise.
13139         (makesymlink): Likewise.
13140         * gmon/gmon.c (__moncontrol): Likewise.
13141         (__monstartup): Likewise.
13142         (write_hist): Likewise.
13143         (write_call_graph): Likewise.
13144         (write_bb_counts): Likewise.
13145         * grp/setgroups.c (setgroups): Likewise.
13146         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13147         * inet/inet_net.c (inet_network): Likewise.
13148         * inet/inet_netof.c (inet_netof): Likewise.
13149         * inet/rcmd.c (rresvport_af): Likewise.
13150         (rresvport): Likewise.
13151         * io/access.c (__access): Likewise.
13152         * io/chdir.c (__chdir): Likewise.
13153         * io/chmod.c (__chmod): Likewise.
13154         * io/chown.c (__chown): Likewise.
13155         * io/close.c (__close): Likewise.
13156         * io/creat.c (creat): Likewise.
13157         * io/creat64.c (creat64): Likewise.
13158         * io/dup.c (__dup): Likewise.
13159         * io/dup2.c (__dup2): Likewise.
13160         * io/dup3.c (__dup3): Likewise.
13161         * io/euidaccess.c (__euidaccess): Likewise.
13162         * io/faccessat.c (faccessat): Likewise.
13163         * io/fchmod.c (__fchmod): Likewise.
13164         * io/fchmodat.c (fchmodat): Likewise.
13165         * io/fchown.c (__fchown): Likewise.
13166         * io/fchownat.c (fchownat): Likewise.
13167         * io/fcntl.c (__fcntl): Likewise.
13168         * io/flock.c (__flock): Likewise.
13169         * io/fts.c (fts_load): Likewise.
13170         (fts_close): Likewise.
13171         (fts_read): Likewise.
13172         (fts_set): Likewise.
13173         (fts_children): Likewise.
13174         (fts_build): Likewise.
13175         (fts_stat): Likewise.
13176         (fts_sort): Likewise.
13177         (fts_alloc): Likewise.
13178         (fts_lfree): Likewise.
13179         (fts_palloc): Likewise.
13180         (fts_padjust): Likewise.
13181         (fts_maxarglen): Likewise.
13182         (fts_safe_changedir): Likewise.
13183         * io/getwd.c (getwd): Likewise.
13184         * io/isatty.c (__isatty): Likewise.
13185         * io/lchown.c (__lchown): Likewise.
13186         * io/link.c (__link): Likewise.
13187         * io/linkat.c (linkat): Likewise.
13188         * io/lseek.c (__libc_lseek): Likewise.
13189         * io/mkdir.c (__mkdir): Likewise.
13190         * io/mkdirat.c (mkdirat): Likewise.
13191         * io/mkfifo.c (mkfifo): Likewise.
13192         * io/mkfifoat.c (mkfifoat): Likewise.
13193         * io/open.c (__libc_open): Likewise.
13194         * io/open64.c (__libc_open64): Likewise.
13195         * io/readlink.c (__readlink): Likewise.
13196         * io/readlinkat.c (readlinkat): Likewise.
13197         * io/rmdir.c (__rmdir): Likewise.
13198         * io/symlink.c (__symlink): Likewise.
13199         * io/symlinkat.c (symlinkat): Likewise.
13200         * io/ttyname.c (ttyname): Likewise.
13201         * io/ttyname_r.c (__ttyname_r): Likewise.
13202         * io/umask.c (__umask): Likewise.
13203         * io/unlink.c (__unlink): Likewise.
13204         * io/unlinkat.c (unlinkat): Likewise.
13205         * io/utime.c (utime): Likewise.
13206         * libio/clearerr.c (clearerr): Likewise.
13207         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13208         * libio/feof.c (_IO_feof): Likewise.
13209         * libio/feof_u.c (feof_unlocked): Likewise.
13210         * libio/ferror.c (_IO_ferror): Likewise.
13211         * libio/ferror_u.c (ferror_unlocked): Likewise.
13212         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13213         * libio/fileno.c (__fileno): Likewise.
13214         * libio/fputc.c (fputc): Likewise.
13215         * libio/fputc_u.c (fputc_unlocked): Likewise.
13216         * libio/fputwc.c (fputwc): Likewise.
13217         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13218         * libio/freopen.c (freopen): Likewise.
13219         * libio/freopen64.c (freopen64): Likewise.
13220         * libio/fseek.c (fseek): Likewise.
13221         * libio/fseeko.c (fseeko): Likewise.
13222         * libio/fseeko64.c (fseeko64): Likewise.
13223         * libio/ftello.c (__ftello): Likewise.
13224         * libio/ftello64.c (ftello64): Likewise.
13225         * libio/fwide.c (fwide): Likewise.
13226         * libio/genops.c (_IO_un_link): Likewise.
13227         (_IO_link_in): Likewise.
13228         (_IO_least_marker): Likewise.
13229         (_IO_switch_to_main_get_area): Likewise.
13230         (_IO_switch_to_backup_area): Likewise.
13231         (_IO_switch_to_get_mode): Likewise.
13232         (_IO_free_backup_area): Likewise.
13233         (_IO_switch_to_put_mode): Likewise.
13234         (__overflow): Likewise.
13235         (__underflow): Likewise.
13236         (__uflow): Likewise.
13237         (_IO_setb): Likewise.
13238         (_IO_doallocbuf): Likewise.
13239         (_IO_default_underflow): Likewise.
13240         (_IO_default_uflow): Likewise.
13241         (_IO_default_xsputn): Likewise.
13242         (_IO_sgetn): Likewise.
13243         (_IO_default_xsgetn): Likewise.
13244         (_IO_sync): Likewise.
13245         (_IO_default_setbuf): Likewise.
13246         (_IO_default_seekpos): Likewise.
13247         (_IO_default_doallocate): Likewise.
13248         (_IO_init): Likewise.
13249         (_IO_old_init): Likewise.
13250         (_IO_default_sync): Likewise.
13251         (_IO_default_finish): Likewise.
13252         (_IO_default_seekoff): Likewise.
13253         (_IO_sputbackc): Likewise.
13254         (_IO_sungetc): Likewise.
13255         (_IO_set_column): Likewise.
13256         (_IO_set_column): Likewise.
13257         (_IO_adjust_column): Likewise.
13258         (_IO_get_column): Likewise.
13259         (_IO_init_marker): Likewise.
13260         (_IO_remove_marker): Likewise.
13261         (_IO_marker_difference): Likewise.
13262         (_IO_marker_delta): Likewise.
13263         (_IO_seekmark): Likewise.
13264         (_IO_unsave_markers): Likewise.
13265         (_IO_nobackup_pbackfail): Likewise.
13266         (_IO_default_pbackfail): Likewise.
13267         (_IO_default_seek): Likewise.
13268         (_IO_default_stat): Likewise.
13269         (_IO_default_read): Likewise.
13270         (_IO_default_write): Likewise.
13271         (_IO_default_showmanyc): Likewise.
13272         (_IO_default_imbue): Likewise.
13273         (_IO_iter_next): Likewise.
13274         (_IO_iter_file): Likewise.
13275         * libio/getc.c (_IO_getc): Likewise.
13276         * libio/getwc.c (_IO_getwc): Likewise.
13277         * libio/iofclose.c (_IO_new_fclose): Likewise.
13278         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13279         * libio/iofflush.c (_IO_fflush): Likewise.
13280         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13281         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13282         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13283         * libio/iofgets.c (_IO_fgets): Likewise.
13284         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13285         * libio/iofgetws.c (fgetws): Likewise.
13286         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13287         * libio/iofopen64.c (_IO_fopen64): Likewise.
13288         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13289         (_IO_cookie_write): Likewise.
13290         (_IO_cookie_seek): Likewise.
13291         (_IO_cookie_close): Likewise.
13292         (_IO_cookie_seekoff): Likewise.
13293         (_IO_old_cookie_seek): Likewise.
13294         * libio/iofputs.c (_IO_fputs): Likewise.
13295         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13296         * libio/iofputws.c (fputws): Likewise.
13297         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13298         * libio/iofread.c (_IO_fread): Likewise.
13299         * libio/iofread_u.c (__fread_unlocked): Likewise.
13300         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13301         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13302         * libio/ioftell.c (_IO_ftell): Likewise.
13303         * libio/iofwrite.c (_IO_fwrite): Likewise.
13304         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13305         * libio/iogets.c (_IO_gets): Likewise.
13306         * libio/iopadn.c (_IO_padn): Likewise.
13307         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13308         (_IO_new_popen): Likewise.
13309         (_IO_new_proc_close): Likewise.
13310         * libio/ioputs.c (_IO_puts): Likewise.
13311         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13312         (_IO_seekoff): Likewise.
13313         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13314         (_IO_seekpos): Likewise.
13315         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13316         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13317         * libio/ioungetc.c (_IO_ungetc): Likewise.
13318         * libio/ioungetwc.c (ungetwc): Likewise.
13319         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13320         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13321         * libio/iowpadn.c (_IO_wpadn): Likewise.
13322         * libio/libc_fatal.c (__libc_fatal): Likewise.
13323         * libio/memstream.c (__open_memstream): Likewise.
13324         (_IO_mem_sync): Likewise.
13325         (_IO_mem_finish): Likewise.
13326         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13327         (_IO_old_file_close_it): Likewise.
13328         (_IO_old_file_finish): Likewise.
13329         (_IO_old_file_fopen): Likewise.
13330         (_IO_old_file_attach): Likewise.
13331         (_IO_old_file_setbuf): Likewise.
13332         (_IO_old_do_write): Likewise.
13333         (old_do_write): Likewise.
13334         (_IO_old_file_underflow): Likewise.
13335         (_IO_old_file_overflow): Likewise.
13336         (_IO_old_file_sync): Likewise.
13337         (_IO_old_file_seekoff): Likewise.
13338         (_IO_old_file_write): Likewise.
13339         (_IO_old_file_xsputn): Likewise.
13340         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13341         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13342         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13343         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13344         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13345         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13346         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13347         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13348         (_IO_old_popen): Likewise.
13349         (_IO_old_proc_close): Likewise.
13350         * libio/oldpclose.c (__old_pclose): Likewise.
13351         * libio/pclose.c (__new_pclose): Likewise.
13352         * libio/peekc.c (_IO_peekc_locked): Likewise.
13353         * libio/putc.c (_IO_putc): Likewise.
13354         * libio/putc_u.c (putc_unlocked): Likewise.
13355         * libio/putchar.c (putchar): Likewise.
13356         * libio/putchar_u.c (putchar_unlocked): Likewise.
13357         * libio/putwc.c (putwc): Likewise.
13358         * libio/putwc_u.c (putwc_unlocked): Likewise.
13359         * libio/putwchar.c (putwchar): Likewise.
13360         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13361         * libio/rewind.c (rewind): Likewise.
13362         * libio/setbuf.c (setbuf): Likewise.
13363         * libio/setlinebuf.c (setlinebuf): Likewise.
13364         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13365         * libio/vscanf.c (_IO_vscanf): Likewise.
13366         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13367         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13368         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13369         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13370         (_IO_switch_to_main_wget_area): Likewise.
13371         (_IO_switch_to_wbackup_area): Likewise.
13372         (_IO_wsetb): Likewise.
13373         (_IO_wdefault_pbackfail): Likewise.
13374         (_IO_wdefault_finish): Likewise.
13375         (_IO_wdefault_uflow): Likewise.
13376         (__woverflow): Likewise.
13377         (__wuflow): Likewise.
13378         (__wunderflow): Likewise.
13379         (_IO_wdefault_xsputn): Likewise.
13380         (_IO_wdefault_xsgetn): Likewise.
13381         (_IO_wdoallocbuf): Likewise.
13382         (_IO_wdefault_doallocate): Likewise.
13383         (_IO_switch_to_wget_mode): Likewise.
13384         (_IO_free_wbackup_area): Likewise.
13385         (_IO_switch_to_wput_mode): Likewise.
13386         (_IO_sputbackwc): Likewise.
13387         (_IO_sungetwc): Likewise.
13388         (_IO_adjust_wcolumn): Likewise.
13389         (_IO_init_wmarker): Likewise.
13390         (_IO_wmarker_delta): Likewise.
13391         (_IO_seekwmark): Likewise.
13392         (_IO_unsave_wmarkers): Likewise.
13393         * libio/wmemstream.c (open_wmemstream): Likewise.
13394         (_IO_wmem_sync): Likewise.
13395         (_IO_wmem_finish): Likewise.
13396         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13397         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13398         * locale/programs/simple-hash.c (init_hash): Likewise.
13399         (delete_hash): Likewise.
13400         (insert_entry): Likewise.
13401         (set_entry): Likewise.
13402         (next_prime): Likewise.
13403         (is_prime): Likewise.
13404         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13405         (xmalloc): Likewise.
13406         (xrealloc): Likewise.
13407         * locale/programs/xstrdup.c (xstrdup): Likewise.
13408         * localedata/collate-test.c (xstrcoll): Likewise.
13409         * localedata/xfrm-test.c (xstrcmp): Likewise.
13410         * login/getlogin_r.c (__getlogin_r): Likewise.
13411         * login/getpt.c (__posix_openpt): Likewise.
13412         * login/login_tty.c (login_tty): Likewise.
13413         * login/setlogin.c (setlogin): Likewise.
13414         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13415         (mach_msg_destroy_port): Likewise.
13416         (mach_msg_destroy_memory): Likewise.
13417         * malloc/mcheck.c (flood): Likewise.
13418         * misc/acct.c (acct): Likewise.
13419         * misc/brk.c (__brk): Likewise.
13420         * misc/chflags.c (chflags): Likewise.
13421         * misc/chroot.c (chroot): Likewise.
13422         * misc/fchflags.c (fchflags): Likewise.
13423         * misc/fstab.c (getfsspec): Likewise.
13424         (getfsfile): Likewise.
13425         * misc/fsync.c (fsync): Likewise.
13426         * misc/ftruncate.c (__ftruncate): Likewise.
13427         * misc/ftruncate64.c (__ftruncate64): Likewise.
13428         * misc/getdomain.c (getdomainname): Likewise.
13429         (getdomainname): Likewise.
13430         * misc/gethostname.c (__gethostname): Likewise.
13431         * misc/getpass.c (getpass): Likewise.
13432         * misc/getttyent.c (skip): Likewise.
13433         (value): Likewise.
13434         * misc/gtty.c (gtty): Likewise.
13435         * misc/hsearch.c (hsearch): Likewise.
13436         (hcreate): Likewise.
13437         * misc/hsearch_r.c (__hcreate_r): Likewise.
13438         (__hdestroy_r): Likewise.
13439         * misc/ioctl.c (__ioctl): Likewise.
13440         * misc/mkdtemp.c (mkdtemp): Likewise.
13441         * misc/mkostemp.c (mkostemp): Likewise.
13442         * misc/mkostemp64.c (mkostemp64): Likewise.
13443         * misc/mkostemps.c (mkostemps): Likewise.
13444         * misc/mkostemps64.c (mkostemps64): Likewise.
13445         * misc/mkstemp.c (mkstemp): Likewise.
13446         * misc/mkstemp64.c (mkstemp64): Likewise.
13447         * misc/mkstemps.c (mkstemps): Likewise.
13448         * misc/mkstemps64.c (mkstemps64): Likewise.
13449         * misc/mktemp.c (__mktemp): Likewise.
13450         * misc/preadv.c (preadv): Likewise.
13451         * misc/preadv64.c (preadv64): Likewise.
13452         * misc/pwritev.c (pwritev): Likewise.
13453         * misc/pwritev64.c (pwritev64): Likewise.
13454         * misc/readv.c (__readv): Likewise.
13455         * misc/revoke.c (revoke): Likewise.
13456         * misc/setdomain.c (setdomainname): Likewise.
13457         * misc/setegid.c (setegid): Likewise.
13458         * misc/seteuid.c (seteuid): Likewise.
13459         * misc/sethostid.c (sethostid): Likewise.
13460         * misc/sethostname.c (sethostname): Likewise.
13461         * misc/setregid.c (__setregid): Likewise.
13462         * misc/setreuid.c (__setreuid): Likewise.
13463         * misc/sstk.c (sstk): Likewise.
13464         * misc/stty.c (stty): Likewise.
13465         * misc/syscall.c (syscall): Likewise.
13466         * misc/syslog.c (setlogmask): Likewise.
13467         * misc/truncate.c (__truncate): Likewise.
13468         * misc/truncate64.c (truncate64): Likewise.
13469         * misc/ualarm.c (ualarm): Likewise.
13470         * misc/usleep.c (usleep): Likewise.
13471         * misc/ustat.c (ustat): Likewise.
13472         * misc/writev.c (__writev): Likewise.
13473         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13474         * nptl/old_pthread_cond_broadcast.c
13475         (__pthread_cond_broadcast_2_0): Likewise.
13476         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13477         Likewise.
13478         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13479         Likewise.
13480         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13481         Likewise.
13482         * nptl/pt-raise.c (raise): Likewise.
13483         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13484         Likewise.
13485         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13486         * nptl/pthread_barrierattr_destroy.c
13487         (pthread_barrierattr_destroy): Likewise.
13488         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13489         Likewise.
13490         * nptl/pthread_barrierattr_setpshared.c
13491         (pthread_barrierattr_setpshared): Likewise.
13492         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13493         Likewise.
13494         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13495         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13496         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13497         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13498         Likewise.
13499         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13500         Likewise.
13501         * nptl/pthread_condattr_getpshared.c
13502         (pthread_condattr_getpshared): Likewise.
13503         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13504         Likewise.
13505         * nptl/pthread_condattr_setpshared.c
13506         (pthread_condattr_setpshared): Likewise.
13507         * nptl/pthread_detach.c (pthread_detach): Likewise.
13508         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13509         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13510         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13511         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13512         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13513         Likewise.
13514         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13515         Likewise.
13516         * nptl/pthread_mutex_getprioceiling.c
13517         (pthread_mutex_getprioceiling): Likewise.
13518         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13519         Likewise.
13520         * nptl/pthread_mutexattr_getprotocol.c
13521         (pthread_mutexattr_getprotocol): Likewise.
13522         * nptl/pthread_mutexattr_getpshared.c
13523         (pthread_mutexattr_getpshared): Likewise.
13524         * nptl/pthread_mutexattr_getrobust.c
13525         (pthread_mutexattr_getrobust): Likewise.
13526         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13527         Likewise.
13528         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13529         Likewise.
13530         * nptl/pthread_mutexattr_setprioceiling.c
13531         (pthread_mutexattr_setprioceiling): Likewise.
13532         * nptl/pthread_mutexattr_setprotocol.c
13533         (pthread_mutexattr_setprotocol): Likewise.
13534         * nptl/pthread_mutexattr_setpshared.c
13535         (pthread_mutexattr_setpshared): Likewise.
13536         * nptl/pthread_mutexattr_setrobust.c
13537         (pthread_mutexattr_setrobust): Likewise.
13538         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13539         Likewise.
13540         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13541         Likewise.
13542         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13543         Likewise.
13544         * nptl/pthread_rwlockattr_getkind_np.c
13545         (pthread_rwlockattr_getkind_np): Likewise.
13546         * nptl/pthread_rwlockattr_getpshared.c
13547         (pthread_rwlockattr_getpshared): Likewise.
13548         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13549         Likewise.
13550         * nptl/pthread_rwlockattr_setkind_np.c
13551         (pthread_rwlockattr_setkind_np): Likewise.
13552         * nptl/pthread_rwlockattr_setpshared.c
13553         (pthread_rwlockattr_setpshared): Likewise.
13554         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13555         Likewise.
13556         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13557         Likewise.
13558         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13559         Likewise.
13560         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13561         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13562         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13563         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13564         * nptl/sem_close.c (sem_close): Likewise.
13565         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13566         * nptl/sem_init.c (__old_sem_init): Likewise.
13567         * nptl/sigaction.c (__sigaction): Likewise.
13568         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13569         * posix/_exit.c (_exit): Likewise.
13570         * posix/alarm.c (alarm): Likewise.
13571         * posix/confstr.c (confstr): Likewise.
13572         * posix/fpathconf.c (__fpathconf): Likewise.
13573         * posix/getgroups.c (__getgroups): Likewise.
13574         * posix/getpgid.c (__getpgid): Likewise.
13575         * posix/group_member.c (__group_member): Likewise.
13576         * posix/pathconf.c (__pathconf): Likewise.
13577         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13578         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13579         * posix/setgid.c (__setgid): Likewise.
13580         * posix/setpgid.c (__setpgid): Likewise.
13581         * posix/setuid.c (__setuid): Likewise.
13582         * posix/sleep.c (__sleep): Likewise.
13583         * posix/sysconf.c (__sysconf): Likewise.
13584         * posix/times.c (__times): Likewise.
13585         * posix/uname.c (__uname): Likewise.
13586         * posix/waitid.c (__waitid): Likewise.
13587         * pwd/getpw.c (__getpw): Likewise.
13588         * resolv/base64.c (b64_pton): Likewise.
13589         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13590         * resolv/gethnamaddr.c (Dprintf): Likewise.
13591         (gethostbyname): Likewise.
13592         (gethostbyname2): Likewise.
13593         (gethostbyaddr): Likewise.
13594         (_sethtent): Likewise.
13595         (_gethtbyname): Likewise.
13596         (_gethtbyname2): Likewise.
13597         (_gethtbyaddr): Likewise.
13598         (map_v4v6_address): Likewise.
13599         (map_v4v6_hostent): Likewise.
13600         (addrsort): Likewise.
13601         (ht_sethostent): Likewise.
13602         (ht_gethostbyname): Likewise.
13603         (ht_gethostbyaddr): Likewise.
13604         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13605         (inet_net_ntop_ipv4): Likewise.
13606         * resolv/inet_neta.c (inet_neta): Likewise.
13607         * resolv/inet_ntop.c (inet_ntop): Likewise.
13608         (inet_ntop4): Likewise.
13609         (inet_ntop6): Likewise.
13610         * resolv/inet_pton.c (__inet_pton): Likewise.
13611         (inet_pton4): Likewise.
13612         (inet_pton6): Likewise.
13613         * resolv/res_debug.c (loc_aton): Likewise.
13614         (loc_ntoa): Likewise.
13615         * resource/getpriority.c (__getpriority): Likewise.
13616         * resource/getrusage.c (__getrusage): Likewise.
13617         * resource/nice.c (nice): Likewise.
13618         * resource/setpriority.c (__setpriority): Likewise.
13619         * resource/setrlimit64.c (setrlimit64): Likewise.
13620         * resource/vlimit.c (vlimit): Likewise.
13621         * resource/vtimes.c (vtimes): Likewise.
13622         * rt/aio_error.c (aio_error): Likewise.
13623         * rt/aio_return.c (aio_return): Likewise.
13624         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13625         * signal/kill.c (__kill): Likewise.
13626         * signal/killpg.c (killpg): Likewise.
13627         * signal/raise.c (raise): Likewise.
13628         * signal/sigaction.c (__sigaction): Likewise.
13629         * signal/sigaddset.c (sigaddset): Likewise.
13630         * signal/sigaltstack.c (sigaltstack): Likewise.
13631         * signal/sigandset.c (sigandset): Likewise.
13632         * signal/sigblock.c (__sigblock): Likewise.
13633         * signal/sigdelset.c (sigdelset): Likewise.
13634         * signal/sigempty.c (sigemptyset): Likewise.
13635         * signal/sigfillset.c (sigfillset): Likewise.
13636         * signal/sighold.c (sighold): Likewise.
13637         * signal/sigignore.c (sigignore): Likewise.
13638         * signal/sigintr.c (siginterrupt): Likewise.
13639         * signal/sigisempty.c (sigisemptyset): Likewise.
13640         * signal/sigismem.c (sigismember): Likewise.
13641         * signal/signal.c (signal): Likewise.
13642         * signal/sigorset.c (sigorset): Likewise.
13643         * signal/sigpause.c (__sigpause): Likewise.
13644         * signal/sigpending.c (sigpending): Likewise.
13645         * signal/sigprocmask.c (__sigprocmask): Likewise.
13646         * signal/sigrelse.c (sigrelse): Likewise.
13647         * signal/sigreturn.c (__sigreturn): Likewise.
13648         * signal/sigset.c (sigset): Likewise.
13649         * signal/sigsetmask.c (__sigsetmask): Likewise.
13650         * signal/sigstack.c (sigstack): Likewise.
13651         * signal/sigsuspend.c (__sigsuspend): Likewise.
13652         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13653         * signal/sysv_signal.c (__sysv_signal): Likewise.
13654         * socket/accept.c (accept): Likewise.
13655         * socket/accept4.c (__libc_accept4): Likewise.
13656         * socket/bind.c (__bind): Likewise.
13657         * socket/connect.c (__connect): Likewise.
13658         * socket/getpeername.c (getpeername): Likewise.
13659         * socket/getsockname.c (__getsockname): Likewise.
13660         * socket/getsockopt.c (getsockopt): Likewise.
13661         * socket/listen.c (__listen): Likewise.
13662         * socket/recv.c (__recv): Likewise.
13663         * socket/recvmsg.c (__recvmsg): Likewise.
13664         * socket/send.c (__send): Likewise.
13665         * socket/sendmsg.c (__sendmsg): Likewise.
13666         * socket/shutdown.c (shutdown): Likewise.
13667         * socket/sockatmark.c (sockatmark): Likewise.
13668         * socket/socket.c (__socket): Likewise.
13669         * stdio-common/ctermid.c (ctermid): Likewise.
13670         * stdio-common/cuserid.c (cuserid): Likewise.
13671         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13672         * stdio-common/remove.c (remove): Likewise.
13673         * stdio-common/rename.c (rename): Likewise.
13674         * stdio-common/renameat.c (renameat): Likewise.
13675         * stdio-common/tempname.c (__gen_tempname): Likewise.
13676         * stdio-common/xbug.c (InitBuffer): Likewise.
13677         (AppendToBuffer): Likewise.
13678         (ReadFile): Likewise.
13679         * stdlib/a64l.c (a64l): Likewise.
13680         * stdlib/drand48_r.c (drand48_r): Likewise.
13681         * stdlib/getcontext.c (getcontext): Likewise.
13682         * stdlib/getenv.c (getenv): Likewise.
13683         * stdlib/l64a.c (l64a): Likewise.
13684         * stdlib/llabs.c (llabs): Likewise.
13685         * stdlib/lldiv.c (lldiv): Likewise.
13686         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13687         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13688         * stdlib/putenv.c (putenv): Likewise.
13689         * stdlib/random.c (__srandom): Likewise.
13690         (__initstate): Likewise.
13691         (__setstate): Likewise.
13692         * stdlib/random_r.c (__srandom_r): Likewise.
13693         (__setstate_r): Likewise.
13694         (__random_r): Likewise.
13695         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13696         * stdlib/setcontext.c (setcontext): Likewise.
13697         * stdlib/setenv.c (setenv): Likewise.
13698         (unsetenv): Likewise.
13699         * stdlib/srand48.c (srand48): Likewise.
13700         * stdlib/srand48_r.c (__srand48_r): Likewise.
13701         * stdlib/swapcontext.c (swapcontext): Likewise.
13702         * stdlib/system.c (__libc_system): Likewise.
13703         * stdlib/tst-strtod.c (expand): Likewise.
13704         * stdlib/tst-strtol.c (expand): Likewise.
13705         * stdlib/tst-strtoll.c (expand): Likewise.
13706         * streams/fattach.c (fattach): Likewise.
13707         * streams/fdetach.c (fdetach): Likewise.
13708         * streams/getmsg.c (getmsg): Likewise.
13709         * streams/isastream.c (isastream): Likewise.
13710         * string/ffs.c (__ffs): Likewise.
13711         * string/ffsll.c (ffsll): Likewise.
13712         * string/memcmp.c (memcmp_common_alignment): Likewise.
13713         (memcmp_not_common_alignment): Likewise.
13714         (MEMCMP): Likewise.
13715         * string/memcpy.c (memcpy): Likewise.
13716         * string/memmove.c (MEMMOVE): Likewise.
13717         * string/memset.c (memset): Likewise.
13718         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13719         * string/strchrnul.c (STRCHRNUL): Likewise.
13720         * string/strerror.c (strerror): Likewise.
13721         * string/strndup.c (__strndup): Likewise.
13722         * string/strverscmp.c (__strverscmp): Likewise.
13723         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13724         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13725         (clnttcp_freeres): Likewise.
13726         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13727         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13728         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13729         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13730         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13731         (xdr_callhdr): Likewise.
13732         * sunrpc/rpcinfo.c (udpping): Likewise.
13733         (tcpping): Likewise.
13734         (pstatus): Likewise.
13735         (pmapdump): Likewise.
13736         (brdcst): Likewise.
13737         (deletereg): Likewise.
13738         (getprognum): Likewise.
13739         (getvers): Likewise.
13740         (get_inet_address): Likewise.
13741         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13742         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13743         (svcudp_stat): Likewise.
13744         (svcudp_recv): Likewise.
13745         (svcudp_reply): Likewise.
13746         (svcudp_getargs): Likewise.
13747         (svcudp_freeargs): Likewise.
13748         (svcudp_destroy): Likewise.
13749         * sunrpc/xdr.c (xdr_bytes): Likewise.
13750         (xdr_netobj): Likewise.
13751         (xdr_string): Likewise.
13752         (xdr_wrapstring): Likewise.
13753         * sunrpc/xdr_float.c (xdr_float): Likewise.
13754         (xdr_double): Likewise.
13755         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13756         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13757         * sysvipc/ftok.c (ftok): Likewise.
13758         * sysvipc/msgctl.c (msgctl): Likewise.
13759         * sysvipc/msgget.c (msgget): Likewise.
13760         * sysvipc/msgrcv.c (msgrcv): Likewise.
13761         * sysvipc/msgsnd.c (msgsnd): Likewise.
13762         * sysvipc/semget.c (semget): Likewise.
13763         * sysvipc/semop.c (semop): Likewise.
13764         * sysvipc/shmat.c (shmat): Likewise.
13765         * sysvipc/shmctl.c (shmctl): Likewise.
13766         * sysvipc/shmdt.c (shmdt): Likewise.
13767         * sysvipc/shmget.c (shmget): Likewise.
13768         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13769         * termios/speed.c (cfgetospeed): Likewise.
13770         (cfgetispeed): Likewise.
13771         (cfsetospeed): Likewise.
13772         (cfsetispeed): Likewise.
13773         * termios/tcflow.c (tcflow): Likewise.
13774         * termios/tcflush.c (tcflush): Likewise.
13775         * termios/tcgetattr.c (__tcgetattr): Likewise.
13776         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13777         * termios/tcgetsid.c (tcgetsid): Likewise.
13778         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13779         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13780         * time/adjtime.c (__adjtime): Likewise.
13781         * time/dysize.c (dysize): Likewise.
13782         * time/ftime.c (ftime): Likewise.
13783         * time/getitimer.c (__getitimer): Likewise.
13784         * time/gettimeofday.c (__gettimeofday): Likewise.
13785         * time/gmtime.c (__gmtime_r): Likewise.
13786         (gmtime): Likewise.
13787         * time/localtime.c (__localtime_r): Likewise.
13788         (localtime): Likewise.
13789         * time/offtime.c (__offtime): Likewise.
13790         * time/settimeofday.c (__settimeofday): Likewise.
13791         * time/stime.c (stime): Likewise.
13792         * time/strftime_l.c (tm_diff): Likewise.
13793         (iso_week_days): Likewise.
13794         * time/strptime.c (strptime): Likewise.
13795         * time/time.c (time): Likewise.
13796         * time/timespec_get.c (timespec_get): Likewise.
13797         * time/tzset.c (tzset_internal): Likewise.
13798         (compute_change): Likewise.
13799         (__tz_compute): Likewise.
13800         * wcsmbs/btowc.c (__btowc): Likewise.
13801         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13802         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13803         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13804         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13805         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13806         * wcsmbs/wcscat.c (__wcscat): Likewise.
13807         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13808         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13809         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13810         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13811         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13812         * wcsmbs/wcslen.c (__wcslen): Likewise.
13813         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13814         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13815         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13816         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13817         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13818         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13819         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13820         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13821         * wcsmbs/wcstok.c (wcstok): Likewise.
13822         * wcsmbs/wctob.c (wctob): Likewise.
13823         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13824         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13825         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13826         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13827         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13828         * wcsmbs/wmemset.c (__wmemset): Likewise.
13829         * wctype/wcfuncs.c (__towlower): Likewise.
13830         (__towupper): Likewise.
13832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13833         (lll_unlock_elision): Add adapt_count parameter.
13835 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13837         * sysdeps/nptl/configure.ac: Do not give errors based on the
13838         results of top-level configure tests.
13839         * sysdeps/nptl/configure: Regenerated.
13841         * configure.ac (libc_cv_Bgroup): Remove configure test.
13842         * configure: Regenerated.
13843         * config.make.in (have-Bgroup): Remove variable.
13845         * configure.ac (sizeof_long_double): Remove configure test.
13846         * configure: Regenerated.
13847         * config.make.in (sizeof-long-double): Remove variable.
13849         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13850         * configure: Regenerated.
13851         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13852         variable.
13853         (exceptions): Likewise.
13854         * sysdeps/arm/configure: Regenerated.
13855         * config.make.in (exceptions): Remove variable.
13856         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13857         $(exceptions).
13858         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13859         (CFLAGS-vdprintf_chk.c): Likewise.
13860         (CFLAGS-printf_chk.c): Likewise.
13861         (CFLAGS-fprintf_chk.c): Likewise.
13862         (CFLAGS-vprintf_chk.c): Likewise.
13863         (CFLAGS-vfprintf_chk.c): Likewise.
13864         (CFLAGS-gets_chk.c): Likewise.
13865         (CFLAGS-fgets_chk.c): Likewise.
13866         (CFLAGS-fgets_u_chk.c): Likewise.
13867         (CFLAGS-fread_chk.c): Likewise.
13868         (CFLAGS-fread_u_chk.c): Likewise.
13869         (CFLAGS-wprintf_chk.c): Likewise.
13870         (CFLAGS-fwprintf_chk.c): Likewise.
13871         (CFLAGS-vwprintf_chk.c): Likewise.
13872         (CFLAGS-vfwprintf_chk.c): Likewise.
13873         (CFLAGS-fgetws_chk.c): Likewise.
13874         (CFLAGS-fgetws_u_chk.c): Likewise.
13875         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13876         (CFLAGS-fputc.c): Likewise.
13877         (CFLAGS-fputwc.c): Likewise.
13878         (CFLAGS-freopen64.c): Likewise.
13879         (CFLAGS-freopen.c): Likewise.
13880         (CFLAGS-fseek.c): Likewise.
13881         (CFLAGS-fseeko64.c): Likewise.
13882         (CFLAGS-fseeko.c): Likewise.
13883         (CFLAGS-ftello64.c): Likewise.
13884         (CFLAGS-ftello.c): Likewise.
13885         (CFLAGS-fwide.c): Likewise.
13886         (CFLAGS-genops.c): Likewise.
13887         (CFLAGS-getc.c): Likewise.
13888         (CFLAGS-getchar.c): Likewise.
13889         (CFLAGS-getwc.c): Likewise.
13890         (CFLAGS-getwchar.c): Likewise.
13891         (CFLAGS-iofclose.c): Likewise.
13892         (CFLAGS-iofflush.c): Likewise.
13893         (CFLAGS-iofgetpos64.c): Likewise.
13894         (CFLAGS-iofgetpos.c): Likewise.
13895         (CFLAGS-iofgets.c): Likewise.
13896         (CFLAGS-iofgetws.c): Likewise.
13897         (CFLAGS-iofputs.c): Likewise.
13898         (CFLAGS-iofputws.c): Likewise.
13899         (CFLAGS-iofread.c): Likewise.
13900         (CFLAGS-iofsetpos64.c): Likewise.
13901         (CFLAGS-iofsetpos.c): Likewise.
13902         (CFLAGS-ioftell.c): Likewise.
13903         (CFLAGS-iofwrite.c): Likewise.
13904         (CFLAGS-iogetdelim.c): Likewise.
13905         (CFLAGS-iogetline.c): Likewise.
13906         (CFLAGS-iogets.c): Likewise.
13907         (CFLAGS-iogetwline.c): Likewise.
13908         (CFLAGS-ioputs.c): Likewise.
13909         (CFLAGS-ioseekoff.c): Likewise.
13910         (CFLAGS-ioseekpos.c): Likewise.
13911         (CFLAGS-iosetbuffer.c): Likewise.
13912         (CFLAGS-iosetvbuf.c): Likewise.
13913         (CFLAGS-ioungetc.c): Likewise.
13914         (CFLAGS-ioungetwc.c): Likewise.
13915         (CFLAGS-oldfileops.c): Likewise.
13916         (CFLAGS-oldiofclose.c): Likewise.
13917         (CFLAGS-oldiofgetpos64.c): Likewise.
13918         (CFLAGS-oldiofgetpos.c): Likewise.
13919         (CFLAGS-oldiofsetpos64.c): Likewise.
13920         (CFLAGS-oldiofsetpos.c): Likewise.
13921         (CFLAGS-peekc.c): Likewise.
13922         (CFLAGS-putc.c): Likewise.
13923         (CFLAGS-putchar.c): Likewise.
13924         (CFLAGS-putwc.c): Likewise.
13925         (CFLAGS-putwchar.c): Likewise.
13926         (CFLAGS-rewind.c): Likewise.
13927         (CFLAGS-wfileops.c): Likewise.
13928         (CFLAGS-wgenops.c): Likewise.
13929         (CFLAGS-oldiofopen.c): Likewise.
13930         (CFLAGS-iofopen.c): Likewise.
13931         (CFLAGS-iofopen64.c): Likewise.
13932         (CFLAGS-oldtmpfile.c): Likewise.
13933         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13934         (CFLAGS-fprintf.c): Likewise.
13935         (CFLAGS-printf.c): Likewise.
13936         (CFLAGS-vfwprintf.c): Likewise.
13937         (CFLAGS-vfscanf.c): Likewise.
13938         (CFLAGS-vfwscanf.c): Likewise.
13939         (CFLAGS-fscanf.c): Likewise.
13940         (CFLAGS-scanf.c): Likewise.
13941         (CFLAGS-isoc99_vfscanf.c): Likewise.
13942         (CFLAGS-isoc99_vscanf.c): Likewise.
13943         (CFLAGS-isoc99_fscanf.c): Likewise.
13944         (CFLAGS-isoc99_scanf.c): Likewise.
13945         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13946         (CFLAGS-isoc99_fwscanf.c): Likewise.
13947         (CFLAGS-isoc99_vwscanf.c): Likewise.
13948         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13950         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13951         after mkstemp64.
13952         * login/tst-utmp.c (do_prepare): Likewise.
13953         * rt/tst-aio.c (do_prepare): Likewise.
13954         * rt/tst-aio64.c (do_prepare): Likewise.
13956 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13958         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13959         (__lll_lock_elision): Remove adapt_count decrement...
13960         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13961         (__lll_trylock_elision): Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13963         (__lll_unlock_elision): ... to here. And utilize
13964         new adapt_count parameter.
13965         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13966         (__lll_unlock_elision): Update to include adapt_count
13967         parameter.
13968         (lll_unlock_elision): Pass pointer to adapt_count
13969         variable.
13971 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13973         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13974         Add elision adapt_count parameter to list of arguments.
13975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13976         (lll_unlock_elision): Update with new parameter list
13977         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13978         (lll_unlock_elision): Likewise.
13979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13980         (lll_unlock_elision): Likewise.
13982 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13984         [BZ #19122]
13985         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13986         attribute_hidden.
13988         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13989         attribute_hidden.
13990         [IS_IN (rtld)] (__strdup): Likewise.
13991         [IS_IN (rtld)] (__strerror_r): Likewise.
13992         [IS_IN (rtld)] (__strsep_g): Likewise.
13993         [IS_IN (rtld)] (memchr): Likewise.
13994         [IS_IN (rtld)] (memcmp): Likewise.
13995         [IS_IN (rtld)] (memcpy): Likewise.
13996         [IS_IN (rtld)] (memmove): Likewise.
13997         [IS_IN (rtld)] (memset): Likewise.
13998         [IS_IN (rtld)] (rawmemchr): Likewise.
13999         [IS_IN (rtld)] (stpcpy): Likewise.
14000         [IS_IN (rtld)] (strchr): Likewise.
14001         [IS_IN (rtld)] (strcmp): Likewise.
14002         [IS_IN (rtld)] (strlen): Likewise.
14003         [IS_IN (rtld)] (strnlen): Likewise.
14004         [IS_IN (rtld)] (strsep): Likewise.
14006         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14007         attribute_hidden.
14008         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14010         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14011         attribute_hidden.
14012         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14014         * include/setjmp.h (__longjmp): Add attribute_hidden.
14015         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14017         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14018         Add attribute_hidden.
14020         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14021         [IS_IN (rtld)] (__open): Likewise.
14022         [IS_IN (rtld)] (__fcntl): Likewise.
14024         * include/dirent.h (__opendirat): Add attribute_hidden.
14025         (__getdents): Likewise.
14026         (__getdents64): Likewise.
14027         (__alloc_dir): Likewise.
14028         [IS_IN (rtld)] (__closedir): Likewise.
14029         [IS_IN (rtld)] (__fdopendir): Likewise.
14030         [IS_IN (rtld)] (__readdir): Likewise.
14031         [IS_IN (rtld)] (__readdir64): Likewise.
14032         [IS_IN (rtld)] (__rewinddir): Likewise.
14034         * include/dlfcn.h (_dl_catch_error): Moved to ...
14035         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14036         attribute_hidden.
14038         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14039         (_itoa_word): Likewise.
14041         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14042         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14043         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14044         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14045         (_dl_higher_prime_number): Likewise.
14046         (_dl_debug_printf_c): Likewise.
14047         (_dl_signal_cerror): Likewise.
14048         (_dl_receive_error): Likewise.
14049         (_dl_reloc_bad_type): Likewise.
14050         (_dl_resolve_conflicts): Likewise.
14051         (_dl_check_all_versions): Likewise.
14052         (_dl_check_map_versions): Likewise.
14053         (_dl_sort_fini): Likewise.
14054         (_dl_debug_initialize): Likewise.
14055         (_dl_init_paths): Likewise.
14056         (_dl_show_auxv): Likewise.
14057         (_dl_next_ld_env_entry): Likewise.
14058         (_dl_important_hwcaps): Likewise.
14059         (_dl_load_cache_lookup): Likewise.
14060         (_dl_update_slotinfo): Likewise.
14061         (_dl_show_scope): Likewise.
14063         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14064         attribute_hidden.
14065         (_wordcopy_fwd_dest_aligned): Likewise.
14066         (_wordcopy_bwd_aligned): Likewise.
14067         (_wordcopy_bwd_dest_aligned): Likewise.
14069         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14070         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14071         Likewise.
14072         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14073         Likewise.
14074         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14076 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14078         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14079         GCC 5 requirement.
14081 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14083         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14084         test.
14085         * sysdeps/i386/configure: Regenerated.
14086         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14087         code unconditional.
14089         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14090         test.
14091         (libc_cv_asm_popsection_directive): Likewise.
14092         * configure: Regenerated.
14093         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14094         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14095         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14096         (__make_section_unallocated): Make definition unconditional.
14097         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14098         Remove conditional definition.
14099         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14100         (__make_section_unallocated): Likewise.
14102         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14103         * configure: Regenerated.
14104         * config.make.in (static-libgcc): Remove variable.
14105         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14106         $(static-libgcc).
14107         (build-module-helper): Likewise.
14109         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14110         * configure: Regenerated.
14112 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14114         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14115         (struct char_buffer): New type.
14116         (char_buffer_start, char_buffer_size, char_buffer_error)
14117         (char_buffer_rewind, char_buffer_add): New functions.
14118         (ADDW): Remove macro, replaced by the char_buffer_add function.
14119         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14120         of extend_alloca.  Make control flow more explicit.
14122 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14124         [BZ #19137]
14125         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14126         Add -fomit-frame-pointer.
14127         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14129 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14131         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14132         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14133         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14134         only if !__GNUC_PREREQ (5,0).
14135         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14136         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14137         (INTERNAL_SYSCALL_NCS): Likewise.
14138         (LOADREGS_0): New macro for GCC 5.
14139         (ASMARGS_0): Likewise.
14140         (LOADREGS_1): Likewise.
14141         (ASMARGS_1): Likewise.
14142         (LOADREGS_2): Likewise.
14143         (ASMARGS_2): Likewise.
14144         (LOADREGS_3): Likewise.
14145         (ASMARGS_3): Likewise.
14146         (LOADREGS_4): Likewise.
14147         (ASMARGS_4): Likewise.
14148         (LOADREGS_5): Likewise.
14149         (ASMARGS_5): Likewise.
14150         (LOADREGS_6): Likewise.
14151         (ASMARGS_6): Likewise.
14153 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14155         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14156         -fomit-frame-pointer.
14157         (CFLAGS-mmap64.c): Likewise.
14158         (CFLAGS-semtimedop.c): Likewise.
14159         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14160         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14161         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14162         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14164 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14166         [BZ #18928]
14167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14168         _dl_pointer_guard member.
14169         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14170         initializer.
14171         (security_init): Always set up pointer guard.
14172         (process_envvars): Do not process LD_POINTER_GUARD.
14174 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14176         [BZ #19134]
14177         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14178         (.LC2): Likewise.
14179         (.LC3): Likewise.
14180         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14182 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14184         [BZ #19129]
14185         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14186         r0 and r1.
14188 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14190         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14192 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14194         * include/stap-probe.h: Fix macro definition formatting.
14196 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14198         [BZ #19074]
14199         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14200         load and store num_ifs.
14202 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14204         [BZ #18822]
14205         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14206         (__sched_getaffinity_new): Add libc_hidden_proto and
14207         libc_hidden_def.
14209 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14211         [BZ #19007]
14212         * scripts/localplt.awk: Also allow GOT references.
14213         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14214         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14215         with "+ REL R_386_GLOB_DAT".
14216         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14217         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14219 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14221         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14222         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14223         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14224         Likewise.
14225         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14226         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14227         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14228         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14229         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14230         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14231         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14232         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14233         Likewise.
14234         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14236 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14238         [BZ #19125]
14239         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14240         <math_private.h> and <stdint.h>.
14241         (__llround): Avoid conversions to and from long long int, and
14242         subtractions, where those might raise spurious exceptions.
14243         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14244         <math_private.h> and <stdint.h>.
14245         (__llroundf): Avoid conversions to and from long long int, and
14246         subtractions, where those might raise spurious exceptions.
14248 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14250         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14251         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14252         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14253         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14254         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14255         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14256         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14257         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14258         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14259         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14261         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14262         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14263         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14264         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14265         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14266         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14267         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14268         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14269         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14271         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14272         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14273         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14274         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14275         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14276         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14277         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14278         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14279         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14280         (__xstat64_conv): Likewise.
14281         (__xstat32_conv): Likewise.
14283 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14285         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14286         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14287         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14288         <sysdeps/unix/sysv/linux/sysdep.h>.
14289         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14290         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14291         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14292         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14293         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14294         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14295         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14296         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14297         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14302         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14303         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14305         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14306         (sysdep-dl-routines): Add sysdep.
14307         [$(subdir) == nptl] (libpthread-routines): Likewise.
14308         [$(subdir) == rt] (librt-routines): Likewise.
14309         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14310         PIC when branching to SYSCALL_ERROR_LABEL.
14311         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14312         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14313         <sysdeps/unix/sysv/linux/sysdep.h>.
14314         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14315         (SYSCALL_ERROR_ERRNO): Removed.
14316         (SYSCALL_ERROR_HANDLER): Changed to empty.
14317         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14318         (__syscall_error): New prototype.
14319         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14320         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14322 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14324         [BZ #19124]
14325         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14326         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14327         _dl_runtime_resolve_avx.
14328         (_dl_runtime_profile_avx512): Make it a hidden alias of
14329         _dl_runtime_profile_avx.
14331 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14333         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14334         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14335         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14336         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14338         [BZ #16422]
14339         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14340         New configure test.
14341         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14342         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14343         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14344         <math_private.h> and <stdint.h>.
14345         (__llrint): Avoid conversions to long long int where those might
14346         raise spurious exceptions.
14347         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14348         <math_private.h> and <stdint.h>.
14349         (__llrintf): Avoid conversions to long long int where those might
14350         raise spurious exceptions.
14352 2015-10-12  Andreas Schwab  <schwab@suse.de>
14354         [BZ #18969]
14355         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14356         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14357         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14358         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14359         $(gen-locales).
14360         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14361         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14362         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14363         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14364         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14365         $(gen-locales).
14366         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14367         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14368         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14369         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14370         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14371         ($(objpfx)tst-ftell-active-handler.out)
14372         ($(objpfx)tst-ftell-append.out)
14373         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14374         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14375         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14376         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14377         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14378         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14379         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14380         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14381         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14382         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14383         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14384         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14385         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14386         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14387         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14388         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14389         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14390         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14391         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14392         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14393         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14394         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14395         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14396         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14397         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14398         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14399         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14400         $(gen-locales).
14401         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14402         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14403         $(gen-locales).
14404         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14405         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14406         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14407         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14408         $(gen-locales).
14409         * libio/tst_wprintf2.c (main): Use explicit locale.
14410         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14412 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14414         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14415         __msg_sig_post.
14416         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14418 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14420         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14421         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14423         * sysdeps/arm/libm-test-ulps: Regenerated.
14425         [BZ #15470]
14426         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14428         [BZ #16399]
14429         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14430         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14431         and <fix-fp-int-convert-overflow.h>.
14432         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14433         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14434         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14435         and <fix-fp-int-convert-overflow.h>.
14436         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14437         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14438         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14439         <fix-fp-int-convert-overflow.h>.
14440         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14441         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14442         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14443         <fix-fp-int-convert-overflow.h>.
14444         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14445         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14446         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14447         and <fix-fp-int-convert-overflow.h>.
14448         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14449         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14450         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14451         <limits.h> and <fix-fp-int-convert-overflow.h>.
14452         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14453         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14454         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14455         and <fix-fp-int-convert-overflow.h>.
14456         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14457         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14458         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14459         and <fix-fp-int-convert-overflow.h>.
14460         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14461         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14462         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14464 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14466         [BZ #18589]
14467         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14468         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14469         $(gen-locales).
14471 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14472             Phil Blundell <pb@pbcl.net>
14474         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14475         * nptl/tst-cancel26.c: New file.
14476         * nptl/tst-cancel27.c: Likewise.
14478 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14480         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14481         __ILP32__ isn't defined.
14482         (lrint): Likewise.
14483         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14484         (lrintf): Likewise.
14485         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14486         (lrintl): Likewise.
14487         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14488         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14489         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14491 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14496         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14497         file.
14498         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14499         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14501 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14503         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14504         configure test.
14505         * sysdeps/i386/configure: Regenerated.
14506         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14507         configure test.
14508         * sysdeps/x86_64/configure: Regenerated.
14509         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14510         Make code unconditional.
14512         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14513         test.
14514         * sysdeps/i386/configure: Regenerated.
14515         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14516         test.
14517         * sysdeps/x86_64/configure: Regenerated.
14518         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14519         Make code unconditional.
14520         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14521         Likewise.
14522         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14523         Likewise.
14524         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14525         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14526         code unconditional.
14527         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14528         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14529         code unconditional.
14530         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14531         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14532         code unconditional.
14533         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14534         code unconditional.
14535         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14536         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14537         code unconditional.
14538         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14539         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14540         code unconditional.
14541         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14542         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14543         code unconditional.
14544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14545         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14546         code unconditional.
14547         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14548         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14550         [BZ #19095]
14551         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14552         mantissa to long int before shifting left.
14554 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14556         [BZ #19094]
14557         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14558         <limits.h>.
14559         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14560         when result overflows but exception would not result from cast.
14561         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14562         <limits.h>.
14563         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14564         when result overflows but exception would not result from cast.
14565         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14566         <limits.h>.
14567         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14568         when result overflows but exception would not result from cast.
14569         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14570         <limits.h>.
14571         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14572         when result overflows but exception would not result from cast.
14573         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14574         <limits.h>.
14575         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14576         when result overflows but exception would not result from cast.
14577         * math/libm-test.inc (lrint_test_data): Add more tests.
14578         (llrint_test_data): Likewise.
14580 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14582         [BZ #18872]
14583         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14584         Move out from under [$(run-built-tests) = yes] conditional.
14585         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14586         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14588 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14590         [BZ #18589]
14591         * string/Makefile (tests): Add bug-strcoll2.
14592         (LOCALES): Add cs_CZ.UTF-8.
14593         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14595         [BZ #18589]
14596         * string/bug-strcoll2.c: New file.
14597         * locale/categories.def: Revert commit
14598         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14599         * locale/langinfo.h: Likewise.
14600         * locale/localeinfo.h: Likewise.
14601         * locale/C-collate.c: Likewise.
14602         * locale/programs/ld-collate.c (collate_output): Likewise.
14603         * string/strcoll_l.c (STRDIFF): Likewise.
14604         (STRCOLL): Likewise.
14605         * wcsmbs/wcscoll_l.c: Likewise.
14607 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14609         * math/libm-test.inc (lround_test_data): Do not expect the absence
14610         of "inexact" for some tests with non-integer arguments.
14611         (llround_test_data): Likewise.
14613         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14614         test.
14615         (libc_cv_cc_sse2avx): Likewise.
14616         * sysdeps/i386/configure: Regenerated.
14617         * sysdeps/i386/i686/multiarch/Makefile
14618         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14619         [$(subdir) = math].
14620         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14621         code unconditional.
14622         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14623         Likewise.
14624         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14625         Likewise.
14626         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14627         Likewise.
14628         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14629         test.
14630         (libc_cv_cc_sse2avx): Likewise.
14631         * sysdeps/x86_64/configure: Regenerated.
14632         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14633         unconditional.
14634         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14635         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14636         unconditional.
14637         (_dl_runtime_profile)
14638         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14639         conditional code.
14640         * sysdeps/x86_64/fpu/multiarch/Makefile
14641         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14642         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14643         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14644         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14645         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14646         * sysdeps/x86_64/fpu/multiarch/e_log.c
14647         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14648         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14649         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14650         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14651         Likewise.
14652         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14653         Likewise.
14654         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14655         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14656         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14658         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14659         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14660         (HAVE_SSE2AVX_SUPPORT): Likewise.
14662 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14664         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14665         instead of #pragma optimize.
14667 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14669         [BZ #17195]
14670         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14671         as is similarly done in systrim and _int_free already.
14673 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14675         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14677 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14679         [BZ #19088]
14680         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14681         <limits.h>.
14682         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14683         overflows but exception would not result from cast.
14684         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14685         and <limits.h>.
14686         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14687         overflows but exception would not result from cast.
14688         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14689         <limits.h>.
14690         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14691         overflows but exception would not result from cast.
14692         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14693         <limits.h>.
14694         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14695         overflows but exception would not result from cast.
14696         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14697         <limits.h>.
14698         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14699         overflows but exception would not result from cast.
14700         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14701         <limits.h>.
14702         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14703         overflows but exception would not result from cast.
14704         * math/libm-test.inc (lround_test_data): Add more tests.
14705         (llround_test_data): Likewise.
14707 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14709         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14710         (CFLAGS-ialloc.c): Ditto.
14711         (CFLAGS-scheck.c): Ditto.
14713 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14715         [BZ #19086]
14716         * manual/filesys.texi (Storage Allocation): Fix argument order for
14717         posix_fallocate64.
14719 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #19085]
14722         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14723         exponent below 48 inside case for non-overflowing exponent.
14724         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14726 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14728         * iconvdata/cp737.h (from_idx): Add const.
14729         * iconvdata/cp775.h (from_idx): Likewise.
14731 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14733         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14734         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14735         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14737         [BZ #19079]
14738         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14739         file, conditioned on [!_LP64].
14740         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14741         [!_LP64] (__lround): Do not define as function or alias.
14742         [!_LP64] (lround): Likewise.
14743         [!_LP64] (__lroundl): Likewise.
14744         [!_LP64] (lroundl): Likewise.
14745         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14746         macro.
14747         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14748         Likewise.
14750 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14752         * math/libm-test.inc (lrint_test_data): Add more tests.
14753         (llrint_test_data): Likewise.
14754         (lround_test_data): Likewise.
14755         (llround_test_data): Likewise.
14757         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14758         (llrint_test_data): Add tests used for lrint.
14760         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14761         test.
14762         * sysdeps/i386/configure: Regenerated.
14763         * sysdeps/i386/i686/multiarch/Makefile
14764         [$(config-cflags-sse4) = yes]: Make code unconditional.
14765         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14766         Likewise.
14767         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14768         Likewise.
14769         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14770         test.
14771         * sysdeps/x86_64/configure: Regenerated.
14772         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14773         Make code unconditional.
14774         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14775         Likewise.
14776         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14777         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14779         * scripts/rpm2dynsym.sh: Remove file.
14781 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14783         * configure.ac (libc_cv_cxx_thread_local): Define.
14784         * configure: Regenerate.
14785         * config.make.in (have-cxx-thread_local): Define.
14786         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14787         (LDLIBS-tst-thread_local1): Define.
14788         (tests): Add tst-thread_local1.
14789         [have-cxx-thread_local != yes] (tests-unsupported): Add
14790         tst-thread_local1.
14791         * nptl/tst-thread_local1.cc: New file.
14793 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14795         [BZ #19078]
14796         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14797         (u_thres): Likewise.
14798         (__expl): Determine whether to call __kernel_standard_l based on
14799         value of result, not argument.
14801         * math/libm-test.inc (scalb_test_data): Add more expectations for
14802         the "inexact" exception.
14804         [BZ #19077]
14805         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14806         0.0L for argument 1.0L.
14808         [BZ #19076]
14809         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14810         constant 0.0L when computing infinite result.
14812 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14814         [BZ #10432]
14815         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14816         malloc_usable_size.
14818 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14820         [BZ #19018]
14821         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14822         Mangle function pointer before storing it.
14823         (__call_tls_dtors): Demangle function pointer before calling it.
14825 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14827         [BZ #19012]
14828         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14829         Clean up on failure.
14831 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14833         [BZ #19071]
14834         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14835         long int variable to store possibly incremented high part of
14836         mantissa.
14837         * math/libm-test.inc (lround_test_data): Add tests used for
14838         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14839         for tests requiring 64-bit long.  Do not condition tests on
14840         [TEST_FLOAT] unnecessarily.
14841         (llround_test_data): Add tests used for lround.  Add another
14842         expectation for the "inexact" exception.  Do not condition tests
14843         on [TEST_FLOAT] unnecessarily.
14845         [BZ #887]
14846         [BZ #19049]
14847         [BZ #19050]
14848         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14849         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14850         <fix-int-fp-convert-zero.h>.
14851         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14852         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14853         <fix-int-fp-convert-zero.h>.
14854         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14855         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14856         <fix-int-fp-convert-zero.h>.
14857         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14858         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14859         <fix-int-fp-convert-zero.h>.
14860         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14861         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14862         <fix-int-fp-convert-zero.h>.
14863         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14864         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14865         <fix-int-fp-convert-zero.h>.
14866         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14867         * sysdeps/ieee754/flt-32/s_erff.c: Include
14868         <fix-int-fp-convert-zero.h>.
14869         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14870         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14871         <fix-int-fp-convert-zero.h>.
14872         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14873         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14874         <fix-int-fp-convert-zero.h>.
14875         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14877         <fix-int-fp-convert-zero.h>.
14878         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14879         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14880         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14881         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14882         file.
14883         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14885 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14887         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14889 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14891         [BZ #19059]
14892         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14893         overflowing computation.
14894         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14895         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14896         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14897         Likewise.
14898         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14899         Likewise.
14900         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14901         Likewise.
14902         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14903         Likewise.
14904         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14905         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14906         Likewise.
14907         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14908         Likewise.
14909         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14911         * nss/rewrite_field.c (__nss_rewrite_field): Use
14912         internal_function.
14913         * nss/valid_field.c (__nss_valid_field): Likewise.
14914         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14916 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14918         [BZ #18724]
14919         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14920         (__nss_invalid_field_characters, __nss_valid_field)
14921         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14922         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14923         tst-field.c: New file.
14924         * nss/Makefile (routines): Add valid_field, rewrite_field.
14925         (tests-static): Define unconditionally.
14926         (tests): Include tests-static.
14927         [build-static-nss] (tests-static): Use append.
14928         [build-static-nss] (tests): Remove modification.
14929         * nss/getent.c (print_group): Call putgrent.  Report error.
14930         (print_gshadow): Call putsgent.  Report error.
14931         (print_passwd): Call putpwent.  Report error.
14932         (print_shadow): Call putspent.  Report error.
14933         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14934         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14935         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14936         name, password, directory, shell fields for valid syntax.  Rewrite
14937         GECOS field to match syntax.
14938         * pwd/Makefile (tests): Add tst-putpwent.
14939         * pwd/tst-putpwent.c: New file.
14940         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14941         Check grName, grpasswd, gr_mem fields for valid syntax.
14942         Change loop variable i to size_t.
14943         * grp/Makefile (tests): Add tst-putgrent.
14944         * grp/tst-putgrent.c: New file.
14945         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14946         valid syntax.
14947         * shadow/Makefile (tests): Add tst-putspent.
14948         * shadow/tst-putspent.c: New file.
14949         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14950         sg_mem fields for valid syntax.
14951         * gshadow/Makefile (tests): Add tst-putsgent.
14952         * gshadow/tst-putsgent.c: New file.
14954 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14956         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14957         assembly instructions.
14959 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14961         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14962         prefix from operands.
14964 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14966         [BZ #16347]
14967         [BZ #19046]
14968         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14969         <libc-internal.h>.
14970         (MAXLGM): Do not use diagnostic control macros.
14971         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14972         threshold for ldbl-128ibm.
14973         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14974         instead of multiplying by log then subtracting.
14975         * math/auto-libm-test-in: Add more tests of lgamma.
14976         * math/auto-libm-test-out: Regenerated.
14978         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14979         (TYPE_HEX_DIG): Likewise.
14980         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14981         precisions when printing floating-point numbers.
14982         (check_float_internal): Likewise.
14984 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14986         [BZ #16620]
14987         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14988         of log (10) rounded downward to 48 bits.
14989         (log10_low): Use corresponding low part of log (10).
14991         [BZ #19032]
14992         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14993         compute result as (x - x) / (x - x) not as 0 / 0.
14994         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14995         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14997         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14998         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14999         and expm1.
15000         * math/auto-libm-test-out: Regenerated.
15001         * math/libm-test.inc (acos_test_data): Add more tests.
15002         (asin_test_data): Likewise.
15003         (asinh_test_data): Likewise.
15004         (atan_test_data): Likewise.
15005         (atanh_test_data): Likewise.
15006         (atan2_test_data): Likewise.
15007         (cbrt_test_data): Likewise.
15008         (ceil_test_data): Likewise.
15009         (copysign_test_data): Likewise.
15010         (cos_test_data): Likewise.
15011         (cosh_test_data): Likewise.
15012         (erf_test_data): Likewise.
15013         (erfc_test_data): Likewise.
15014         (exp_test_data): Likewise.
15015         (exp10_test_data): Likewise.
15016         (exp2_test_data): Likewise.
15017         (expm1_test_data): Likewise.
15018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15020 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15022         [BZ #19006]
15023         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15024         to ...
15025         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15026         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15027         to ...
15028         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15029         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15030         to ...
15031         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15032         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15033         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15034         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15035         to ...
15036         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15037         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15038         Moved to ...
15039         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15040         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15041         Moved to ...
15042         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15043         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15044         to ...
15045         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15046         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15047         Moved to ...
15048         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15049         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15050         to ...
15051         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15052         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15053         Removed.
15054         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15055         Likewise.
15056         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15057         Likewise.
15058         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15059         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15064         Likewise.
15065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15066         Likewise.
15067         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15068         Likewise.
15069         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15070         Likewise.
15071         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15072         Likewise.
15073         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15074         Likewise.
15075         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15076         Likewise.
15077         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15078         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15079         Likewise.
15080         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15081         Likewise.
15082         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15083         Likewise.
15084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15085         Likewise.
15086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15087         Likewise.
15088         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15089         Replace ../i486/pthread_cond_timedwait.S with
15090         ../pthread_cond_timedwait.S.
15092 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15094         * math/libm-test.inc (acos_test_data): Refine expectations for
15095         errno and "inexact" exceptions.
15096         (acosh_test_data): Likewise.
15097         (asin_test_data): Likewise.
15098         (asinh_test_data): Likewise.
15099         (atan_test_data): Likewise.
15100         (atanh_test_data): Likewise.
15101         (atan2_test_data): Likewise.
15102         (cbrt_test_data): Likewise.
15103         (ceil_test_data): Likewise.
15104         (copysign_test_data): Likewise.
15105         (cosh_test_data): Likewise.
15106         (erf_test_data): Likewise.
15107         (erfc_test_data): Likewise.
15108         (exp_test_data): Likewise.
15109         (exp10_test_data): Likewise.
15110         (exp2_test_data): Likewise.
15111         (expm1_test_data): Likewise.
15112         (fabs_test_data): Likewise.
15113         (floor_test_data): Likewise.
15114         (fma_test_data): Likewise.
15115         (fmax_test_data): Likewise.
15116         (fmin_test_data): Likewise.
15117         (fmod_test_data): Likewise.
15118         (fpclassify_test_data): Likewise.
15119         (frexp_test_data): Likewise.
15120         (hypot_test_data): Likewise.
15121         (ilogb_test_data): Likewise.
15122         (isgreater_test_data): Likewise.
15123         (isgreaterequal_test_data): Likewise.
15124         (isinf_test_data): Likewise.
15125         (isless_test_data): Likewise.
15126         (islessequal_test_data): Likewise.
15127         (islessgreater_test_data): Likewise.
15128         (isnan_test_data): Likewise.
15129         (isnormal_test_data): Likewise.
15130         (issignaling_test_data): Likewise.
15131         (isunordered_test_data): Likewise.
15132         (j0_test_data): Likewise.
15133         (j1_test_data): Likewise.
15134         (jn_test_data): Likewise.
15135         (lgamma_test_data): Likewise.
15136         (lrint_test_data): Likewise.
15137         (llrint_test_data): Likewise.
15138         (log_test_data): Likewise.
15139         (log10_test_data): Likewise.
15140         (log1p_test_data): Likewise.
15141         (log2_test_data): Likewise.
15142         (logb_test_data): Likewise.
15143         (lround_test_data): Likewise.
15144         (llround_test_data): Likewise.
15145         (modf_test_data): Likewise.
15146         (nearbyint_test_data): Likewise.
15147         (nextafter_test_data): Likewise.
15148         (nexttoward_test_data): Likewise.
15149         (pow_test_data): Likewise.
15150         (remainder_test_data): Likewise.
15151         (remquo_test_data): Likewise.
15152         (rint_test_data): Likewise.
15153         (round_test_data): Likewise.
15154         (signbit_test_data): Likewise.
15155         (sinh_test_data): Likewise.
15156         (sqrt_test_data): Likewise.
15157         (tanh_test_data): Likewise.
15158         (tgamma_test_data): Likewise.
15159         (trunc_test_data): Likewise.
15160         (y0_test_data): Likewise.
15161         (y1_test_data): Likewise.
15162         (yn_test_data): Likewise.
15163         (significand_test_data): Likewise.
15165 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15167         * manual/filesys.texi (Storage Allocation): Document that
15168         posix_fallocate emulation fails when fd is open with O_WRONLY.
15170 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15172         [BZ #19016]
15173         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15174         allow more cases with X^2 + Y^2 >= 0.5.
15175         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15176         normal element in sum instead of special-casing based on values of
15177         arguments.
15178         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15179         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15180         -1 as normal element in sum instead of special-casing based on
15181         values of arguments.
15182         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15183         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15184         (__x2y2m1): Update comment.
15185         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15186         as normal element in sum instead of special-casing based on values
15187         of arguments.
15188         * math/s_clog.c (__clog): Handle more cases using log1p without
15189         hypot.
15190         * math/s_clog10.c (__clog10): Likewise.
15191         * math/s_clog10f.c (__clog10f): Likewise.
15192         * math/s_clog10l.c (__clog10l): Likewise.
15193         * math/s_clogf.c (__clogf): Likewise.
15194         * math/s_clogl.c (__clogl): Likewise.
15195         * math/auto-libm-test-in: Add more tests of clog and clog10.
15196         * math/auto-libm-test-out: Regenerated.
15197         * sysdeps/i386/fpu/libm-test-ulps: Update.
15198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200 2015-09-28  Martin Sebor  <msebor@redhat.com>
15202         [BZ #18969]
15203         * string/Makefile (LOCALES): Define.
15204         (gen-locales.mk): Include.
15205         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15206         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15207         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15208         on setlocale failure.
15210 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15212         [BZ #18985]
15213         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15214         (__strftime_internal): Likewise.
15215         * time/tst-strftime.c (do_bz18985): New test.
15216         (do_test): Call it.
15218 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15220         [BZ #18956]
15221         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15222         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15223         extracting high part.
15224         * math/auto-libm-test-in: Add another test of pow.
15225         * math/auto-libm-test-out: Regenerated.
15226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15228 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15230         [BZ #18825]
15231         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15232         New macro.
15233         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15234         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15235         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15236         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15237         DBL_NARROW_EVAL, reloading the PIC register as needed.
15238         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15239         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15240         FLT_NARROW_EVAL.  Use separate return path for case when first
15241         argument is NaN.
15242         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15243         DEFINE_LDBL_MIN.
15244         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15245         PIC register.
15246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15247         math_check_force_underflow_nonneg.
15248         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15249         underflow for subnormal result.
15250         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15252         math_check_force_underflow_nonneg.
15253         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15254         math_check_force_underflow.
15255         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15256         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15257         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15258         DEFINE_LDBL_MIN.
15259         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15260         * math/auto-libm-test-in: Add more tests of pow.
15261         * math/auto-libm-test-out: Regenerated.
15263 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15265         * nss/bug17079.c (init_test_items): Add diagnostic for
15266         inconsistent entries.
15267         (test_buffer_size): Skip inconsistent entries.
15269 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15271         [BZ #13304]
15272         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15273         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15274         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15276         [BZ #13304]
15277         * sysdeps/microblaze/s_fma.c: New file.
15278         * sysdeps/microblaze/s_fmaf.c: Likewise.
15279         * sysdeps/microblaze/sfp-machine.h: Likewise.
15281 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15283         [BZ #17250]
15284         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15285         member.
15287 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15289         [BZ #18803]
15290         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15291         (MO): New macro.
15292         (__ieee754_hypot) [PIC]: Load PIC register.
15293         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15294         DBL_NARROW_EVAL.
15295         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15296         math_check_force_underflow_nonneg in case where result might be
15297         tiny.
15298         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15299         Likewise.
15300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15301         Likewise.
15302         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15303         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15304         * math/auto-libm-test-in: Add more tests of hypot.
15305         * math/auto-libm-test-out: Regenerated.
15307 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15309         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15311 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15313         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15314         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15315         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15316         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15317         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15318         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15319         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15321         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15322         LOAD_PIC_REG.
15324         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15325         (FLT_CHECK_FORCE_UFLOW): Likewise.
15326         (DBL_CHECK_FORCE_UFLOW): Likewise.
15327         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15328         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15329         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15330         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15331         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15332         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15333         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15334         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15335         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15336         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15337         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15338         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15339         (flt_min): Replace with use of DEFINE_FLT_MIN.
15340         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15341         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15342         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15343         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15344         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15345         (flt_min): Replace with use of DEFINE_FLT_MIN.
15346         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15347         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15348         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15349         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15350         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15351         (flt_min): Replace with use of DEFINE_FLT_MIN.
15352         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15353         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15354         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15355         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15356         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15357         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15358         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15359         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15360         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15361         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15362         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15363         (flt_min): Replace with use of DEFINE_FLT_MIN.
15364         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15365         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15366         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15367         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15368         main computation.
15369         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15370         (flt_min): Replace with use of DEFINE_FLT_MIN.
15371         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15372         main computation.
15373         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15374         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15375         (MO): New macro.
15376         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15377         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15378         (flt_min): Replace with use of DEFINE_FLT_MIN.
15379         (MO): New macro.
15380         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15381         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15382         (__log1pl): Use MO.
15384         [BZ #19003]
15385         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15386         $(config-cflags-nofma).
15388 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15390         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15392 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15394         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15395         (TWO127): Likewise.
15397         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15398         (min_of_type): Likewise.
15399         (math_check_force_underflow): Likewise.
15400         (math_check_force_underflow_nonneg): Likewise.
15401         (math_check_force_underflow_complex): Likewise.
15402         * math/e_exp2l.c (__ieee754_exp2l): Use
15403         math_check_force_underflow_nonneg.
15404         * math/k_casinh.c (__kernel_casinh): Likewise.
15405         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15406         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15407         * math/s_catan.c (__catan): Use
15408         math_check_force_underflow_complex.
15409         * math/s_catanf.c (__catanf): Likewise.
15410         * math/s_catanh.c (__catanh): Likewise.
15411         * math/s_catanhf.c (__catanhf): Likewise.
15412         * math/s_catanhl.c (__catanhl): Likewise.
15413         * math/s_catanl.c (__catanl): Likewise.
15414         * math/s_ccosh.c (__ccosh): Likewise.
15415         * math/s_ccoshf.c (__ccoshf): Likewise.
15416         * math/s_ccoshl.c (__ccoshl): Likewise.
15417         * math/s_cexp.c (__cexp): Likewise.
15418         * math/s_cexpf.c (__cexpf): Likewise.
15419         * math/s_cexpl.c (__cexpl): Likewise.
15420         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15421         * math/s_clog10.c (__clog10): Likewise.
15422         * math/s_clog10f.c (__clog10f): Likewise.
15423         * math/s_clog10l.c (__clog10l): Likewise.
15424         * math/s_clogf.c (__clogf): Likewise.
15425         * math/s_clogl.c (__clogl): Likewise.
15426         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15427         * math/s_csinf.c (__csinf): Likewise.
15428         * math/s_csinh.c (__csinh): Likewise.
15429         * math/s_csinhf.c (__csinhf): Likewise.
15430         * math/s_csinhl.c (__csinhl): Likewise.
15431         * math/s_csinl.c (__csinl): Likewise.
15432         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15433         * math/s_csqrtf.c (__csqrtf): Likewise.
15434         * math/s_csqrtl.c (__csqrtl): Likewise.
15435         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15436         * math/s_ctanf.c (__ctanf): Likewise.
15437         * math/s_ctanh.c (__ctanh): Likewise.
15438         * math/s_ctanhf.c (__ctanhf): Likewise.
15439         * math/s_ctanhl.c (__ctanhl): Likewise.
15440         * math/s_ctanl.c (__ctanl): Likewise.
15441         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15442         instead of volatile.
15443         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15444         math_check_force_underflow.
15445         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15446         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15447         volatile when forcing underflow.
15448         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15449         math_check_force_underflow_nonneg.
15450         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15451         Likewise.
15452         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15453         math_check_force_underflow.
15454         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15455         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15456         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15457         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15458         math_check_force_underflow_nonneg.
15459         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15460         math_check_force_underflow.
15461         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15463         instead of volatile.
15464         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15465         math_check_force_underflow.
15466         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15467         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15468         math_check_force_underflow_nonneg.
15469         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15470         math_check_force_underflow.
15471         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15472         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15473         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15474         math_check_force_underflow_nonneg.
15475         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15476         Likewise.
15477         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15478         math_check_force_underflow.
15479         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15480         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15481         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15482         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15483         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15484         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15485         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15486         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15487         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15488         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15489         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15490         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15491         Likewise.
15492         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15493         math_check_force_underflow_nonneg.
15494         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15495         Likewise.
15496         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15497         math_check_force_underflow.
15498         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15499         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15500         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15501         Likewise.
15502         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15503         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15504         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15505         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15506         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15507         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15508         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15509         instead of volatile.
15510         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15511         math_check_force_underflow.
15512         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15514         math_check_force_underflow.
15515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15516         Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15518         Use math_check_force_underflow_nonneg.
15519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15520         math_check_force_underflow.
15521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15522         Likewise.
15523         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15524         Likewise.
15525         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15526         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15527         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15528         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15531         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15532         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15533         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15534         math_check_force_underflow_nonneg.
15535         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15536         math_check_force_underflow.
15537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15538         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15539         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15540         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15541         math_check_force_underflow_nonneg.
15542         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15543         math_check_force_underflow.
15544         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15545         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15546         instead of volatile.
15547         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15548         math_check_force_underflow.
15550         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15551         * stdlib/strtod_l.c: Include <math_private.h>.
15552         (overflow_value): Use math_narrow_eval.
15553         (underflow_value): Likewise.
15554         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15555         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15556         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15557         (__ieee754_gamma_r): Likewise.
15558         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15559         Likewise.
15560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15561         Likewise.
15562         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15563         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15564         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15565         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15566         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15567         (__ieee754_gammaf_r): Likewise.
15568         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15569         Likewise.
15570         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15571         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15572         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15573         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15574         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15575         volatile.
15576         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15578         math_narrow_eval.
15579         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15580         Likewise.
15581         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15582         Likewise.
15583         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15584         Likewise.
15585         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15586         volatile.
15587         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15589         math_narrow_eval.
15590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15591         Likewise.
15592         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15593         Likewise.
15595 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15597         * nptl/Versions: Remove ignored symbols.
15599 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15601         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15602         * nss/Makefile (tests): Update.
15604 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15606         * nss/bug18287.c: New file.
15607         * nss/Makefile (tests): Add bug18287.
15609 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15611         * mach/Versions (__mach_host_self_): Add symbol.
15613 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15615         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15616         vm_page_size.
15618 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15620         Really fix sysdeps/i386/fpu/s_scalbn.S build
15622         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15623         (libc: GLIBC_2_22): Remove unused version set.
15625 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15627         * config.make.in (enable-timezone-tools): New variable.
15628         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15629         (enable_timezone_tools): Export to generated files.
15630         * configure: Regenerate.
15631         * INSTALL: Regenerate.
15632         * manual/install.texi (--disable-timezone-tools): Document new flag.
15633         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15634         ifeq ($(enable-timezone-tools),yes) check.
15636 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15638         * timezone/Makefile: Revert previous change.
15640         [BZ #18980]
15641         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15642         (DEFINE_DBL_MIN): Likewise.
15643         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15644         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15645         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15646         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15647         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15648         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15649         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15650         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15651         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15652         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15653         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15654         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15655         (flt_min): Replace with use of DEFINE_FLT_MIN.
15656         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15657         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15658         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15659         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15660         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15661         (flt_min): Replace with use of DEFINE_FLT_MIN.
15662         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15663         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15664         (flt_min): Replace with use of DEFINE_FLT_MIN.
15665         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15666         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15667         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15668         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15669         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15670         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15671         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15672         (__ieee754_pow): Use DBL_NARROW_EVAL.
15673         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15674         (__ieee754_powf): Use FLT_NARROW_EVAL.
15675         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15676         (__ieee754_expf_sse2): Convert double-precision result to single
15677         precision.
15678         * sysdeps/i386/fpu/libm-test-ulps: Update.
15680 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15682         * timezone/Makefile: Ignore unused variable errors due to private.h
15683         (time_t_min) and (time_t_max).
15684         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15685         Likewise.
15687 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15689         [BZ #18981]
15690         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15691         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15692         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15693         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15694         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15695         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15696         (__scalbn): Use DBL_NARROW_EVAL.
15697         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15698         (__scalbnf): Use FLT_NARROW_EVAL.
15700 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15702         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15703         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15704         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15705         * stdio-common/printf_fp.c (___printf_fp):
15706         Use signbit to get the sign. Use isinf macro to allow inlining.
15707         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15708         * stdio-common/printf_size.c (__printf_size): Likewise.
15710 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15712         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15714 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15716         [BZ #18980]
15717         * sysdeps/generic/math_private.h: Include <float.h>.
15718         (math_narrow_eval): New macro.
15719         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15720         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15721         math_narrow_eval on overflowing return value.
15722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15723         Likewise.
15724         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15725         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15726         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15727         Likewise.
15728         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15730 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15732         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15733         * math/Makefile: Remove isinf_ns.c.
15734         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15735         * math/multc3.c (__multc3): Likewise.
15736         * math/s_casin.c (__casin): Likewise.
15737         * math/s_casinf.c (__casinf): Likewise.
15738         * math/s_casinl.c (__casinl): Likewise.
15739         * math/s_cproj.c (__cproj): Likewise.
15740         * math/s_cprojf.c (__cprojf): Likewise.
15741         * math/s_cprojl.c (__cprofl): Likewise.
15742         * math/s_ctan.c (__ctan): Likewise.
15743         * math/s_ctanf.c (__ctanf): Likewise.
15744         * math/s_ctanh.c (__ctanh): Likewise.
15745         * math/s_ctanhf.c (__ctanhf): Likewise.
15746         * math/s_ctanhl.c (__ctanhl): Likewise.
15747         * math/s_ctanl.c (__ctanl): Likewise.
15748         * math/w_fmod.c (__fmod): Likewise.
15749         * math/w_fmodf.c (__fmodf): Likewise.
15750         * math/w_fmodl.c (_fmodl): Likewise.
15751         * math/w_remainder.c (__remainder): Likewise.
15752         * math/w_remainderf.c (__remainderf): Likewise.
15753         * math/w_remainderl.c (__remainderl): Likewise.
15754         * math/w_scalb.c (__scalb): Likewise.
15755         * math/w_scalbf.c (__scalbf): Likewise.
15756         * math/w_scalbl.c (__scalbl): Likewise.
15757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15758         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15759         with isinf.
15760         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15762         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15763         __isinf_nsf with isinf.
15764         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15765         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15766         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15767         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15768         with isinf.
15769         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15770         __isinf_nsl with isinf.
15771         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15772         with isinf.
15773         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15774         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15775         __isinf_nsl with isinf.
15776         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15777         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15778         with isinf.
15780 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15782         * resolv/base64.c (rcsid): Remove unused static.
15783         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15784         static.  (tqpi1): Likewise.
15785         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15786         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15787         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15788         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15790         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15791         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15792         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15793         Likewise.
15795 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15797         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15798         <nptl/pthreadP.h>.
15799         (_longjmp_unwind): Use __libc_ptf_call.
15800         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15802 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15804         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15805         * sysdeps/arm/__longjmp.S: Likewise.
15807 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15809         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15810         Use __builtin_signbit.
15811         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15812         Use __builtin_signbitf.
15813         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15814         Use __builtin_signbitl.
15815         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15816         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15818 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15820         [BZ #15367]
15821         [BZ #17441]
15823         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15824         * math/math.h (fpclassify): Use __builtin_fpclassify when
15825         available.  (signbit): Use __builtin_signbit(f/l).
15826         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15827         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15828         (isinf): Use __builtin_isinf_sign.
15830 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15832         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15833         * benchtests/bench-math-inlines.c: New benchmark.
15834         * benchtests/bench-util.h: New file.
15835         * benchtests/bench-util.c: New file.
15836         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15838 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15840         * elf/tst-dlmopen1.c: Define TEST_SO.
15841         (do_test): Use TEST_SO.
15843         * elf/dl-load.c: Include libc-internal.h.
15844         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15846 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15848         [BZ #17887]
15849         * time/strptime_l.c (__strptime_internal): Make %z accept
15850         [+-]HH:MM time zones.
15852 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15854         [BZ #17886]
15855         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15856         valid time zone.
15858 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15860         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15861         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15863         (__ASSUME_FDATASYNC): Delete.
15865 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15867         * conform/linknamespace.pl: Require weak undefined symbols to be
15868         in the standard namespace.
15869         (%strong_syms): Rename to %seen_syms.
15870         (%strong_seen): Rename to %seen_where.
15872 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15874         [BZ #18970]
15875         * misc/error.c (error): Replace pthread_setcancelstate with
15876         __pthread_setcancelstate.
15877         (error_at_line): Likewise.
15878         * posix/wordexp.c (parse_comm): Likewise.
15879         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15880         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15881         (__pthread_setcancelstate): This.
15882         (pthread_setcancelstate): Add an alias.
15883         * nptl/nptl-init.c (pthread_functions): Replace
15884         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15885         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15886         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15887         hidden_proto.
15888         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15889         it with hidden_def.
15890         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15891         (pthread_setcancelstate): Renamed to ...
15892         (__pthread_setcancelstate): This.
15893         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15894         __libc_ptf_call with __pthread_setcancelstate.
15896 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15897             Andreas Schwab  <schwab@suse.de>
15899         [BZ #17118]
15900         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15901         result when imaginary part of argument is infinite using sine and
15902         cosine.
15903         * math/s_ctanf.c (__ctanf): Likewise.
15904         * math/s_ctanl.c (__ctanl): Likewise.
15905         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15906         of result when real part of argument is infinite using sine and
15907         cosine.
15908         * math/s_ctanhf.c (__ctanhf): Likewise.
15909         * math/s_ctanhl.c (__ctanhl): Likewise.
15910         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15911         (ctanh_test_data): Add more tests of ctanh.
15913 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15915         [BZ #15384]
15916         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15917         bit-mask as in subtraction.
15918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15919         Likewise.
15920         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15921         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15924         [BZ #18951]
15925         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15926         underflow exception for small results.
15927         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15928         Likewise.
15929         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15930         Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15932         Likewise.
15933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15934         Likewise.
15935         * math/auto-libm-test-in: Add more tests of tgamma.
15936         * math/auto-libm-test-out: Regenerated.
15938 2015-09-17  Andreas Schwab  <schwab@suse.de>
15940         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15942 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15944         [BZ #18977]
15945         * math/bits/mathcalls.h
15946         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15947         not declare.
15948         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15949         Likewise.
15950         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15951         Likewise.
15952         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15953         Likewise.
15954         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15955         Likewise.
15956         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15957         Likewise.
15958         * conform/data/math.h-data
15959         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15960         function.
15961         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15962         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15963         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15973         [BZ #6803]
15974         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15975         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15976         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15977         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15978         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15979         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15980         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15981         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15982         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15983         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15984         Likewise.
15985         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15986         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15987         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15989         long_double_symbol calls.
15990         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15991         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15992         strong alias of __ldexpl.
15993         (scalbnl): Define using long_double_symbol.
15994         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15995         Remove alias.
15996         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15997         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15998         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15999         (scalbln_test_data): Add more errno expectations.
16001 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16003         Cache the host port like we cache the task port.  This way we do not
16004         need to call the kernel just to get the port.  Furthermore, we no
16005         longer increase the reference count on every invocation of
16006         `mach_host_self'.
16008         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16009         Protect declarations against the macro expansion.
16010         * mach/mach_init.c (__mach_host_self_): New variable.
16011         (mach_init): Initialize `__mach_host_self_'.
16012         * mach/mach_init.h (__mach_host_self_): New declaration.
16013         (__mach_host_self, mach_host_self): New macros.
16014         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16015         Release reference.
16017 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16019         [BZ #4404]
16020         * po/de.po: Update from Translation Project.
16022         [BZ #16415]
16023         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16024         (__expm1l): Remove code to handle positive infinity and overflow.
16025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16026         variable.
16027         (__expm1l): Remove code to handle positive infinity and overflow.
16029 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16030             Paul Pluzhnikov  <ppluzhnikov@google.com>
16032         [BZ #18872]
16033         * stdio-common/Makefile (tst-printf-bz18872): New test.
16034         (tst-printf-bz18872-mem.out): Likewise.
16035         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16036         * stdio-common/vfprintf.c: Fix memory leaks.
16038 2015-09-16  Andreas Schwab  <schwab@suse.de>
16040         [BZ #17244]
16041         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16042         Remove extra va_start/va_end calls.
16044         [BZ #17243]
16045         * posix/execl.c (execl): Add missing va_end.
16046         * posix/execle.c (execle): Likewise.
16047         * posix/execlp.c (execlp): Likewise.
16049 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16051         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16052         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16054 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16056         [BZ #18967]
16057         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16058         undefine around includes of <bits/mathcalls.h>.
16059         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16060         not declare function.
16061         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16062         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16063         (scalb): Likewise.
16064         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16065         not define macro.
16066         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16067         variable.
16068         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16069         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16070         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16072         [BZ #18857]
16073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16074         return non-finite argument without doing ordered comparisons on
16075         it.
16077         [BZ #16296]
16078         * math/fenv.h (fegetround): Use __attribute_pure__.
16079         * include/fenv.h (__fegetround): Likewise.
16081         [BZ #18595]
16082         * math/s_ctan.c (__ctan): Force underflow exception for results
16083         whose real or imaginary part has small absolute value.
16084         * math/s_ctanf.c (__ctanf): Likewise.
16085         * math/s_ctanh.c (__ctanh): Likewise.
16086         * math/s_ctanhf.c (__ctanhf): Likewise.
16087         * math/s_ctanhl.c (__ctanhl): Likewise.
16088         * math/s_ctanl.c (__ctanl): Likewise.
16089         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16090         and ctanh.  Add more tests of ctan and ctanh.
16092         [BZ #15918]
16093         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16094         handling of cases where one argument is an infinity.
16096         [BZ #18875]
16097         [BZ #18966]
16098         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16099         (MO): New macro.
16100         (__ieee754_exp10): For small results, force underflow exception
16101         and remove excess range and precision from return value.
16102         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16103         (MO): New macro.
16104         (__ieee754_exp10f): For small results, force underflow exception
16105         and remove excess range and precision from return value.
16106         * math/auto-libm-test-in: Add more tests of exp10.
16107         * math/auto-libm-test-out: Regenerated.
16109 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16111         [BZ #18875]
16112         [BZ #18961]
16113         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16114         (MO): New macro.
16115         (__ieee754_exp): For small results, force underflow exception and
16116         remove excess range and precision from return value.
16117         (__exp_finite): Likewise.
16118         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16119         (MO): New macro.
16120         (__ieee754_expf): For small results, force underflow exception and
16121         remove excess range and precision from return value.
16122         (__expf_finite): Likewise.
16123         * math/auto-libm-test-in: Add more tests of exp.
16124         * math/auto-libm-test-out: Regenerated.
16126         [BZ #16521]
16127         [BZ #18875]
16128         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16129         small results.
16130         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16131         (MO): New macro.
16132         (__ieee754_exp2): For small results, force underflow exception and
16133         remove excess range and precision from return value.
16134         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16135         (MO): New macro.
16136         (__ieee754_exp2f): For small results, force underflow exception
16137         and remove excess range and precision from return value.
16138         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16139         (MO): New macro.
16140         (__ieee754_exp2l): Force underflow exception for small results.
16141         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16142         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16143         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16144         (MO): New macro.
16145         (__ieee754_exp2l): Force underflow exception for small results.
16146         * math/auto-libm-test-in: Add more tests or exp2.
16147         * math/auto-libm-test-out: Regenerated.
16149 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16151         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16153         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16154         /dev/null.
16156 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16158         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16159         io fs process)): Drop spurious backslash.
16161 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16164         Use sysinfo system call instead of parsing /proc/meminfo.
16165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16166         Likewise.
16168 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16170         [BZ #16985]
16171         * programs/localedef.c (main): Display argv[remaining] when
16172         output_path is NULL.
16174 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16176         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16177         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16178         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16179         tanh.
16180         * math/auto-libm-test-out: Regenerated.
16181         * sysdeps/i386/fpu/libm-test-ulps: Update.
16182         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16183         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16186 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16188         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16189         Use 'override' keyword to freeze the value here, preventing
16190         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16192 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16194         [BZ #14912]
16195         * sysdeps/aarch64/bits/atomic.h: Move to ...
16196         * sysdeps/aarch64/atomic-machine.h: ...here.
16197         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16198         _AARCH64_ATOMIC_MACHINE_H.
16199         * sysdeps/alpha/bits/atomic.h: Move to ...
16200         * sysdeps/alpha/atomic-machine.h: ...here.
16201         * sysdeps/arm/bits/atomic.h: Move to ...
16202         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16203         * bits/atomic.h: Move to ...
16204         * sysdeps/generic/atomic-machine.h: ...here.
16205         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16206         * sysdeps/i386/bits/atomic.h: Move to ...
16207         * sysdeps/i386/atomic-machine.h: ...here.
16208         * sysdeps/ia64/bits/atomic.h: Move to ...
16209         * sysdeps/ia64/atomic-machine.h: ...here.
16210         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16211         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16212         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16213         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16214         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16215         * sysdeps/microblaze/bits/atomic.h: Move to ...
16216         * sysdeps/microblaze/atomic-machine.h: ...here.
16217         * sysdeps/mips/bits/atomic.h: Move to ...
16218         * sysdeps/mips/atomic-machine.h: ...here.
16219         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16220         * sysdeps/powerpc/bits/atomic.h: Move to ...
16221         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16222         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16223         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16224         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16225         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16226         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16227         <atomic-machine.h> instead of <bits/atomic.h>.
16228         * sysdeps/s390/bits/atomic.h: Move to ...
16229         * sysdeps/s390/atomic-machine.h: ...here.
16230         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16231         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16232         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16233         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16234         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16235         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16236         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16237         * sysdeps/tile/bits/atomic.h: Move to ...
16238         * sysdeps/tile/atomic-machine.h: ...here.
16239         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16240         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16241         <sysdeps/tile/atomic-machine.h> instead of
16242         <sysdeps/tile/bits/atomic.h>.
16243         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16244         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16245         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16246         <sysdeps/tile/atomic-machine.h> instead of
16247         <sysdeps/tile/bits/atomic.h>.
16248         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16249         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16250         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16251         <sysdeps/arm/atomic-machine.h> instead of
16252         <sysdeps/arm/bits/atomic.h>.
16253         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16254         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16255         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16256         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16257         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16258         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16259         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16260         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16261         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16262         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16263         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16264         * sysdeps/x86_64/bits/atomic.h: Move to ...
16265         * sysdeps/x86_64/atomic-machine.h: ...here.
16266         * include/atomic.h: Include <atomic-machine.h> instead of
16267         <bits/atomic.h>.
16269         * sysdeps/mips/mips32/libm-test-ulps: Update.
16270         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16272         [BZ #18952]
16273         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16274         not convert non-integer negative arguments to int to determine the
16275         value of signgam.
16276         * math/auto-libm-test-in: Add more tests of lgamma.
16277         * math/auto-libm-test-out: Regenerated.
16279         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16280         cosh, csqrt, erfc, expm1 and lgamma.
16281         * math/auto-libm-test-out: Regenerated.
16282         * sysdeps/i386/fpu/libm-test-ulps: Update.
16283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16285 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16287         [BZ #2542]
16288         [BZ #2543]
16289         [BZ #2558]
16290         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16291         __lgamma_neg for arguments from -28.0 to -2.0.
16292         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16293         __lgamma_negf for arguments from -15.0 to -2.0.
16294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16295         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16296         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16297         Call __lgamma_negl for arguments from -33.0 to -2.0.
16298         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16299         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16300         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16301         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16302         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16303         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16304         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16305         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16306         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16307         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16308         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16309         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16310         (__lgamma_neg): Likewise.
16311         (__lgamma_negl): Likewise.
16312         (__lgamma_product): Likewise.
16313         (__lgamma_productl): Likewise.
16314         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16315         * math/auto-libm-test-in: Add more tests of lgamma.
16316         * math/auto-libm-test-out: Regenerated.
16317         * sysdeps/i386/fpu/libm-test-ulps: Update.
16318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16322         [BZ #18675]
16323         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16325 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16327         [BZ #14912]
16328         * bits/libc-lock.h: Move to ...
16329         * sysdeps/generic/libc-lock.h: ...here.
16330         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16331         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16332         * sysdeps/mach/hurd/libc-lock.h: ...here.
16333         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16334         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16335         * sysdeps/mach/bits/libc-lock.h: Move to ...
16336         * sysdeps/mach/libc-lock.h: ...here.
16337         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16338         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16339         * sysdeps/nptl/libc-lock.h: ...here.
16340         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16341         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16342         * sysdeps/nptl/libc-lockP.h: ...here.
16343         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16344         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16345         <bits/libc-lock.h>.
16346         * dirent/scandir-tail.c: Likewise.
16347         * dlfcn/dlerror.c: Likewise.
16348         * elf/dl-close.c: Likewise.
16349         * elf/dl-iteratephdr.c: Likewise.
16350         * elf/dl-lookup.c: Likewise.
16351         * elf/dl-open.c: Likewise.
16352         * elf/dl-support.c: Likewise.
16353         * elf/dl-writev.h: Likewise.
16354         * elf/rtld.c: Likewise.
16355         * grp/fgetgrent.c: Likewise.
16356         * gshadow/fgetsgent.c: Likewise.
16357         * gshadow/sgetsgent.c: Likewise.
16358         * iconv/gconv_conf.c: Likewise.
16359         * iconv/gconv_db.c: Likewise.
16360         * iconv/gconv_dl.c: Likewise.
16361         * iconv/gconv_int.h: Likewise.
16362         * iconv/gconv_trans.c: Likewise.
16363         * include/link.h: Likewise.
16364         * inet/getnameinfo.c: Likewise.
16365         * inet/getnetgrent.c: Likewise.
16366         * inet/getnetgrent_r.c: Likewise.
16367         * intl/bindtextdom.c: Likewise.
16368         * intl/dcigettext.c: Likewise.
16369         * intl/finddomain.c: Likewise.
16370         * intl/gettextP.h: Likewise.
16371         * intl/loadmsgcat.c: Likewise.
16372         * intl/localealias.c: Likewise.
16373         * intl/textdomain.c: Likewise.
16374         * libidn/idn-stub.c: Likewise.
16375         * libio/libioP.h: Likewise.
16376         * locale/duplocale.c: Likewise.
16377         * locale/freelocale.c: Likewise.
16378         * locale/newlocale.c: Likewise.
16379         * locale/setlocale.c: Likewise.
16380         * login/getutent_r.c: Likewise.
16381         * login/getutid_r.c: Likewise.
16382         * login/getutline_r.c: Likewise.
16383         * login/utmp-private.h: Likewise.
16384         * login/utmpname.c: Likewise.
16385         * malloc/mtrace.c: Likewise.
16386         * misc/efgcvt.c: Likewise.
16387         * misc/error.c: Likewise.
16388         * misc/fstab.c: Likewise.
16389         * misc/getpass.c: Likewise.
16390         * misc/mntent.c: Likewise.
16391         * misc/syslog.c: Likewise.
16392         * nis/nis_call.c: Likewise.
16393         * nis/nis_callback.c: Likewise.
16394         * nis/nss-default.c: Likewise.
16395         * nis/nss_compat/compat-grp.c: Likewise.
16396         * nis/nss_compat/compat-initgroups.c: Likewise.
16397         * nis/nss_compat/compat-pwd.c: Likewise.
16398         * nis/nss_compat/compat-spwd.c: Likewise.
16399         * nis/nss_nis/nis-alias.c: Likewise.
16400         * nis/nss_nis/nis-ethers.c: Likewise.
16401         * nis/nss_nis/nis-grp.c: Likewise.
16402         * nis/nss_nis/nis-hosts.c: Likewise.
16403         * nis/nss_nis/nis-network.c: Likewise.
16404         * nis/nss_nis/nis-proto.c: Likewise.
16405         * nis/nss_nis/nis-pwd.c: Likewise.
16406         * nis/nss_nis/nis-rpc.c: Likewise.
16407         * nis/nss_nis/nis-service.c: Likewise.
16408         * nis/nss_nis/nis-spwd.c: Likewise.
16409         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16410         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16411         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16412         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16413         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16414         * nis/nss_nisplus/nisplus-network.c: Likewise.
16415         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16416         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16417         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16418         * nis/nss_nisplus/nisplus-service.c: Likewise.
16419         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16420         * nis/ypclnt.c: Likewise.
16421         * nptl/libc_pthread_init.c: Likewise.
16422         * nss/getXXbyYY.c: Likewise.
16423         * nss/getXXent.c: Likewise.
16424         * nss/getXXent_r.c: Likewise.
16425         * nss/nss_db/db-XXX.c: Likewise.
16426         * nss/nss_db/db-netgrp.c: Likewise.
16427         * nss/nss_db/nss_db.h: Likewise.
16428         * nss/nss_files/files-XXX.c: Likewise.
16429         * nss/nss_files/files-alias.c: Likewise.
16430         * nss/nsswitch.c: Likewise.
16431         * posix/regex_internal.h: Likewise.
16432         * posix/wordexp.c: Likewise.
16433         * pwd/fgetpwent.c: Likewise.
16434         * resolv/res_hconf.c: Likewise.
16435         * resolv/res_libc.c: Likewise.
16436         * shadow/fgetspent.c: Likewise.
16437         * shadow/lckpwdf.c: Likewise.
16438         * shadow/sgetspent.c: Likewise.
16439         * socket/opensock.c: Likewise.
16440         * stdio-common/reg-modifier.c: Likewise.
16441         * stdio-common/reg-printf.c: Likewise.
16442         * stdio-common/reg-type.c: Likewise.
16443         * stdio-common/vfprintf.c: Likewise.
16444         * stdio-common/vfscanf.c: Likewise.
16445         * stdlib/abort.c: Likewise.
16446         * stdlib/cxa_atexit.c: Likewise.
16447         * stdlib/fmtmsg.c: Likewise.
16448         * stdlib/random.c: Likewise.
16449         * stdlib/setenv.c: Likewise.
16450         * string/strsignal.c: Likewise.
16451         * sunrpc/auth_none.c: Likewise.
16452         * sunrpc/bindrsvprt.c: Likewise.
16453         * sunrpc/create_xid.c: Likewise.
16454         * sunrpc/key_call.c: Likewise.
16455         * sunrpc/rpc_thread.c: Likewise.
16456         * sysdeps/arm/backtrace.c: Likewise.
16457         * sysdeps/generic/ldsodefs.h: Likewise.
16458         * sysdeps/generic/stdio-lock.h: Likewise.
16459         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16460         * sysdeps/i386/backtrace.c: Likewise.
16461         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16462         * sysdeps/m68k/backtrace.c: Likewise.
16463         * sysdeps/mach/hurd/cthreads.c: Likewise.
16464         * sysdeps/mach/hurd/dirstream.h: Likewise.
16465         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16466         * sysdeps/nptl/malloc-machine.h: Likewise.
16467         * sysdeps/nptl/stdio-lock.h: Likewise.
16468         * sysdeps/posix/dirstream.h: Likewise.
16469         * sysdeps/posix/getaddrinfo.c: Likewise.
16470         * sysdeps/posix/system.c: Likewise.
16471         * sysdeps/pthread/aio_suspend.c: Likewise.
16472         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16473         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16474         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16475         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16476         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16477         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16478         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16479         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16480         * sysdeps/unix/sysv/linux/system.c: Likewise.
16481         * sysdeps/x86_64/backtrace.c: Likewise.
16482         * time/alt_digit.c: Likewise.
16483         * time/era.c: Likewise.
16484         * time/tzset.c: Likewise.
16485         * wcsmbs/wcsmbsload.c: Likewise.
16486         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16487         instead of <bits/libc-lock.h> in comment.
16489 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16491         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16492         Only use .set mips2 if the current ISA is below mips2.
16493         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16494         Likewise.
16495         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16496         mips32r2 if the current ISA is below mips32r2.
16497         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16498         (TLS_IE): Updated to use the TLD_RDHWR macro.
16499         (TLS_LE): Likewise.
16500         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16501         __ASSEMBLER__ condition.
16503 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16505         Fix parallel build of before-compile targets.
16507         * sysdeps/mach/Makefile ($(patsubst
16508         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16509         mach-before-compile target.
16510         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16511         io fs process)): Move rule to dedicated hurd-before-compile target.
16513 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16515         Fix rules generating headers in hurd/ and mach/ when initial make call
16516         has subdir= explicitly set.
16518         * sysdeps/mach/Makefile ($(patsubst
16519         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16520         calling $(MAKE).
16521         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16522         io fs process)): Force subdir to hurd when calling $(MAKE).
16523         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16524         subdir to mach when calling $(MAKE).
16526 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16528         Check sysheaders when looking for Mach and Hurd headers
16530         * sysdeps/mach/configure.ac: Add sysheaders check.
16531         * sysdeps/mach/configure: Regenerate.
16532         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16533         * sysdeps/mach/hurd/configure: Regenerate.
16535 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16537         [BZ #18921]
16538         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16539         Fix inverted sense of test of 'o_directory_works' value.
16540         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16541         Bernhard Voelker <mail@bernhard-voelker.de>.
16543 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #14912]
16546         * bits/linkmap.h: Move to ...
16547         * sysdeps/generic/linkmap.h: ...here.
16548         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16549         * sysdeps/aarch64/linkmap.h: ...here.
16550         * sysdeps/arm/bits/linkmap.h: Move to ...
16551         * sysdeps/arm/linkmap.h: ...here.
16552         * sysdeps/hppa/bits/linkmap.h: Move to ...
16553         * sysdeps/hppa/linkmap.h: ...here.
16554         * sysdeps/ia64/bits/linkmap.h: Move to ...
16555         * sysdeps/ia64/linkmap.h: ...here.
16556         * sysdeps/mips/bits/linkmap.h: Move to ...
16557         * sysdeps/mips/linkmap.h: ...here.
16558         * sysdeps/s390/bits/linkmap.h: Move to ...
16559         * sysdeps/s390/linkmap.h: ...here.
16560         * sysdeps/sh/bits/linkmap.h: Move to ...
16561         * sysdeps/sh/linkmap.h: ...here.
16562         * sysdeps/x86/bits/linkmap.h: Move to ...
16563         * sysdeps/x86/linkmap.h: ...here.
16564         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16566 2015-09-04  Andreas Schwab  <schwab@suse.de>
16568         [BZ #18635]
16569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16570         (__makecontext): Terminate FDE before return label.
16571         (__novec_makecontext): Likewise.
16573 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16575         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16576         first member of struct sv in syscall macro.
16578 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16580         [BZ #14912]
16581         * bits/stdio-lock.h: Move to ...
16582         * sysdeps/generic/stdio-lock.h: ...here.
16583         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16584         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16585         * sysdeps/nptl/stdio-lock.h: ...here.
16586         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16587         * include/libio.h: Include <stdio-lock.h> instead of
16588         <bits/stdio-lock.h>.
16589         * sysdeps/nptl/fork.c: Likewise.
16590         * sysdeps/pthread/flockfile.c: Likewise.
16591         * sysdeps/pthread/ftrylockfile.c: Likewise.
16592         * sysdeps/pthread/funlockfile.c: Likewise.
16594         [BZ #14912]
16595         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16596         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16597         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16598         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16599         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16600         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16601         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16603 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16605         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16606         (test-xfail-tst-protected1b): New variable.
16608 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16610         [BZ #14912]
16611         * bits/libc-tsd.h: Move to ...
16612         * sysdeps/generic/libc-tsd.h: ...here.
16613         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16614         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16615         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16616         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16617         * include/ctype.h: Include <libc-tsd.h> instead of
16618         <bits/libc-tsd.h>.
16619         * include/rpc/rpc.h: Likewise.
16620         * locale/localeinfo.h: Likewise.
16621         * sunrpc/rpc_thread.c: Likewise.
16622         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16623         * sysdeps/nptl/malloc-machine.h: Likewise.
16625         * Makefile (headers): Remove bits/libc-lock.h.
16626         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16628         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16629         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16630         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16631         <bits/stdio-lock.h>.
16632         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16633         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16635 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16637         [BZ #18757]
16638         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16639         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16640         BZ #18757.
16642 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16644         * malloc/mtrace.pl: Filter out NULL entries.
16646 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16648         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16649         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16650         macro.
16652         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16653         (TCP_CC_INFO): Likewise.
16654         (TCP_SAVE_SYN): Likewise.
16655         (TCP_SAVED_SYN): Likewise.
16657 2015-08-31  Brett Neumeier <brett@neumeier.us>
16659         [BZ #18870]
16660         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16662 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16664         [BZ #18873]
16665         Fix broken overflow check in posix_fallocate
16666         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16667         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16668         Fix parenthesization typo.
16670 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16672         [BZ #18887]
16673         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16674         tst-mntent-blank-passno.
16675         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16676         * misc/tst-mntent-blank-corrupt.c: New test.
16677         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16678         * misc/tst-mntent.c (do_test): ... here.
16680 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16682         [BZ #4404]
16683         * po/de.po: Fix SIGALRM typo.
16685 2015-08-28  James Perkins  <james@loowit.net>
16687         * time/tst-strptime2.c (tests): Replace short list of test
16688         strings for strptime %z specifier with code which exhaustively
16689         tests every combination of sign and 0 to 5 digits. Tests for
16690         rejection of invalid strings.
16692 2015-08-28  James Perkins  <james@loowit.net>
16694         [BZ #16141]
16695         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16696         calculation, removing incorrect decimal time rounding, so that
16697         all minute values result in a valid seconds value.
16698         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16699         offset range limits to UTC-99:59 through UTC+99:59 to parse
16700         current and historical use cases.
16701         * time/tst-strptime2.c (tests): Modify and add tests for the
16702         strptime %z input field descriptor, specifically conversion of
16703         minutes to seconds and validating an offset range of -9959 to
16704         +9959.
16706 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16707             Dmitry V. Levin  <ldv@altlinux.org>
16709         [BZ #18877]
16710         * posix/Makefile (tests): Add tst-mmap-offset.
16711         * posix/tst-mmap.c: New file.
16712         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16713         offset calculation for negative values.
16715 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16717         * sysdeps/i386/init-arch.h: New file.
16718         * sysdeps/i386/i586/init-arch.h: Likewise.
16719         * sysdeps/i386/i686/init-arch.h: Likewise.
16720         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16721         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16722         * sysdeps/x86/cpu-features.h (bit_I586): New.
16723         (bit_I686): Likewise.
16724         (bit_CX8): Likewise.
16725         (bit_CMOV): Likewise.
16726         (index_CX8): Likewise.
16727         (index_CMOV): Likewise.
16728         (index_I586): Likewise.
16729         (index_I686): Likewise.
16730         (reg_CX8): Likewise.
16731         (reg_CMOV): Likewise.
16732         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16733         available at compile-time.
16734         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16735         available at compile-time.
16736         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16737         (USE_I686): Likewise.
16739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16741         * sysdeps/i386/bcopy.S: New file.
16742         * sysdeps/i386/bzero.S: Likewise.
16743         * sysdeps/i386/memcpy.S: Likewise.
16744         * sysdeps/i386/memmove.S: Likewise.
16745         * sysdeps/i386/mempcpy.S: Likewise.
16746         * sysdeps/i386/memset.S: Likewise.
16747         * sysdeps/i386/bzero.c: Removed.
16748         * sysdeps/i386/memset.c: Likewise.
16749         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16750         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16751         * sysdeps/i386/i586/memset_chk.S: Likewise.
16752         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16753         * sysdeps/i386/memcpy_chk.S: Here.
16754         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16755         * sysdeps/i386/memmove_chk.S: Here.
16756         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16757         * sysdeps/i386/mempcpy_chk.S: Likewise.
16758         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16759         * sysdeps/i386/memset_chk.S: Likewise.
16761 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16763         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16764         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16765         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16766         * soft-fp/fmadf4.c: Ditto.
16767         * soft-fp/fmatf4.c: Ditto.
16769 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16771         * sysdeps/i386/i586/Implies: Removed.
16772         * sysdeps/i386/i686/Implies: Likewise.
16774 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16776         * sysdeps/i386/i486/strlen.S: Moved to ...
16777         * sysdeps/i386/strlen.S: Here.
16779 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16781         * sysdeps/i386/i486/strcat.S: Moved to ...
16782         * sysdeps/i386/strcat.S: Here.
16784 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16786         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16787         * sysdeps/i386/pthread_spin_trylock.S: Here.
16788         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16789         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16793         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16794         * sysdeps/i386/string-inlines.c: Here.
16796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16798         * sysdeps/i386/i486/htonl.S: Moved ...
16799         * sysdeps/i386/htonl.S: here.
16801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16803         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16804         * sysdeps/i386/bits/atomic.h: Here.
16806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/i386/i486/Versions: Removed.
16810 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16812         [BZ #2898]
16813         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16814         Based on patch by Aurelien Jarno.
16816 2015-08-26  Stan Shebs  <stanshebs@google.com>
16818         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16819         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16821 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16823         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16824         * sysdeps/powerpc/dl-procinfo.c:
16825         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16826         feature so it shows when LD_SHOW_AUXV=1.
16828 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16830         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16831         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16832         definition.  ISA 2.07B no longer requires full sync.
16834 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16836         [BZ #18863]
16837         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16838         (si_call_addr): Define.
16839         (si_syscall): Define.
16840         (si_arch): Define.
16842 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16844         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16845         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16846         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16847         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16848         (__memset_zero_constant_len_parameter): New.
16849         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16850         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16851         (__memset_zero_constant_len_parameter): Don't define if
16852         __memset_chk or USE_AS_BZERO are defined.
16854         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16855         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16856         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16858         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16859         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16860         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16861         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16862         comments.
16863         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16864         -mno-mmx for $(all-rtld-routines).
16865         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16866         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16867         i386.
16869 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16871         * sysdeps/generic/unwind.h
16872         (_Unwind_Word): Use __mode__(__unwind_word__)
16873         instead of __mode__(__word__).
16874         (_Unwind_Sword): Likewise.
16876         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16877         (MAX_NEEDED_INPUT): New define.
16878         (MAX_NEEDED_OUTPUT): New define.
16880         * NEWS: New item for IBM z13 string optimizations.
16882         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16883         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16884         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16885         * sysdeps/s390/multiarch/Makefile
16886         (sysdep_routines): Add memrchr functions.
16887         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16888         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16890         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16891         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16892         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16893         * sysdeps/s390/multiarch/Makefile
16894         (sysdep_routines): Add wmemcmp functions.
16895         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16896         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16897         * benchtests/bench-wmemcmp.c: New File.
16898         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16900         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16901         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16902         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16903         * sysdeps/s390/multiarch/Makefile
16904         (sysdep_routines): Add wmemset functions.
16905         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16906         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16907         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16908         * string/test-memset.c: Add wmemset support.
16909         * wcsmbs/test-wmemset.c: New File.
16910         * wcsmbs/Makefile (strop-tests): Add wmemset.
16911         * benchtests/bench-memset.c: Add wmemset support.
16912         * benchtests/bench-wmemset.c: New File.
16913         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16915         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16916         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16917         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16918         * sysdeps/s390/multiarch/Makefile
16919         (sysdep_routines): Add memccpy functions.
16920         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16921         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16922         * string/memccpy.c: Use MEMCCPY if defined.
16924         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16925         * sysdeps/s390/multiarch/memchr.c: Likewise.
16926         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16927         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16928         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16929         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16930         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16931         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16932         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16933         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16934         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16935         and rawmemchr functions.
16936         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16937         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16938         and wmemchr.
16939         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16940         * string/test-memchr.c: Add wmemchr support.
16941         * wcsmbs/test-wmemchr.c: New File.
16942         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16943         * benchtests/bench-memchr.c: Add wmemchr support.
16944         * benchtests/bench-wmemchr.c: New File.
16945         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16947         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16948         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16949         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16950         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16951         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16952         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16954         wcscspn functions.
16955         * sysdeps/s390/multiarch/ifunc-impl-list.c
16956         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16957         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16958         * string/test-strcspn.c: Add wcscspn support.
16959         * wcsmbs/test-wcscspn.c: New File.
16960         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16961         * benchtests/bench-strcspn.c: Add wcscspn support.
16962         * benchtests/bench-wcscspn.c: New File.
16963         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16965         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16966         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16967         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16968         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16969         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16970         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16971         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16972         wcspbrk functions.
16973         * sysdeps/s390/multiarch/ifunc-impl-list.c
16974         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16975         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16976         * string/test-strpbrk.c: Add wcspbrk support.
16977         * wcsmbs/test-wcspbrk.c: New File.
16978         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16979         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16980         * benchtests/bench-wcspbrk.c: New File.
16981         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16983         * sysdeps/s390/multiarch/strspn-c.c: New File.
16984         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16985         * sysdeps/s390/multiarch/strspn.c: Likewise.
16986         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16987         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16988         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16989         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16991         wcsspn functions.
16992         * sysdeps/s390/multiarch/ifunc-impl-list.c
16993         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16994         * string/test-strspn.c: Add wcsspn support.
16995         * wcsmbs/test-wcsspn.c: New File.
16996         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16997         * benchtests/bench-strspn.c: Add wcsspn support.
16998         * benchtests/bench-wcsspn.c: New File.
16999         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17001         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17002         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17003         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17004         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17005         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17006         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17007         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17008         wcsrchr functions.
17009         * sysdeps/s390/multiarch/ifunc-impl-list.c
17010         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17011         * benchtests/bench-wcsrchr.c: New File.
17012         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17014         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17015         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17016         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17017         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17018         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17019         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17021         wcschrnul functions.
17022         * sysdeps/s390/multiarch/ifunc-impl-list.c
17023         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17024         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17025         * string/test-strchr.c: Add wcschrnul support.
17026         * wcsmbs/test-wcschrnul.c: New File.
17027         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17028         * benchtests/bench-strchr.c: Add wcschrnul support.
17029         * benchtests/bench-wcschrnul.c: New File.
17030         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17032         * sysdeps/s390/multiarch/strchr-c.c: New File.
17033         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17034         * sysdeps/s390/multiarch/strchr.c: Likewise.
17035         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17036         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17037         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17039         wcschr functions.
17040         * sysdeps/s390/multiarch/ifunc-impl-list.c
17041         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17042         * string/strchr.c (STRCHR): Define and use macro.
17043         * benchtests/bench-wcschr.c: New File.
17044         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17046         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17047         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17048         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17049         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17050         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17051         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17053         wcsncmp functions.
17054         * sysdeps/s390/multiarch/ifunc-impl-list.c
17055         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17056         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17057         * benchtests/bench-strncmp.c: Add wcsncmp support.
17058         * benchtests/bench-wcsncmp.c: New File.
17059         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17061         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17062         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17063         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17064         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17065         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17066         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17067         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17069         wcscmp functions.
17070         * sysdeps/s390/multiarch/ifunc-impl-list.c
17071         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17072         * string/strcmp.c (STRCMP): Define and use macro.
17073         * benchtests/bench-wcscmp.c: New File.
17074         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17075         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17076         instead of _HAVE_STRING_ARCH_memchr.
17078         * sysdeps/s390/multiarch/strncat-c.c: New File.
17079         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17080         * sysdeps/s390/multiarch/strncat.c: Likewise.
17081         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17082         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17083         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17084         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17085         wcsncat functions.
17086         * sysdeps/s390/multiarch/ifunc-impl-list.c
17087         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17088         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17089         * string/test-strncat.c: Add wcsncat support.
17090         * wcsmbs/test-wcsncat.c: New File.
17091         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17092         * benchtests/bench-strncat.c: Add wcsncat support.
17093         * benchtests/bench-wcsncat.c: New File.
17094         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17096         * sysdeps/s390/multiarch/strcat-c.c: New File.
17097         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17098         * sysdeps/s390/multiarch/strcat.c: Likewise.
17099         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17100         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17101         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17103         wcscat functions.
17104         * sysdeps/s390/multiarch/ifunc-impl-list.c
17105         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17106         * string/strcat.c (STRCAT): Define and use macro.
17107         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17108         * string/test-strcat.c: Add wcscat support.
17109         * wcsmbs/test-wcscat.c: New File.
17110         * wcsmbs/Makefile (strop-tests): Add wcscat.
17111         * benchtests/bench-strcat.c: Add wcscat support.
17112         * benchtests/bench-wcscat.c: New File.
17113         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17115         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17116         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17117         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17118         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17119         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17120         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17122         wcpncpy functions.
17123         * sysdeps/s390/multiarch/ifunc-impl-list.c
17124         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17125         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17126         * string/test-stpncpy.c: Add wcpncpy support.
17127         * wcsmbs/test-wcpncpy.c: New File.
17128         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17129         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17130         * benchtests/bench-wcpncpy.c: New File.
17131         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17133         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17134         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17135         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17136         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17137         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17138         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17139         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17140         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17141         wcsncpy functions.
17142         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17143         * sysdeps/s390/multiarch/ifunc-impl-list.c
17144         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17145         * string/test-strncpy.c: Add wcsncpy support.
17146         * wcsmbs/test-wcsncpy.c: New File.
17147         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17148         * benchtests/bench-strncpy.c: Add wcsncpy support.
17149         * benchtests/bench-wcsncpy.c: New File.
17150         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17152         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17153         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17154         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17155         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17156         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17157         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17159         wcpcpy functions.
17160         * string/stpcpy.c: Use STPCPY if defined.
17161         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17162         * sysdeps/s390/multiarch/ifunc-impl-list.c
17163         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17164         * string/test-stpcpy.c: Add wcpcpy support.
17165         * wcsmbs/test-wcpcpy.c: New File.
17166         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17167         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17168         * benchtests/bench-wcpcpy.c: New File.
17169         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17171         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17172         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17173         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17174         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17175         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17176         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17177         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17178         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17179         wcscpy functions.
17180         * sysdeps/s390/multiarch/ifunc-impl-list.c
17181         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17182         * benchtests/bench-wcscpy.c: New File.
17183         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17185         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17186         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17187         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17188         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17189         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17190         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17192         wcsnlen functions.
17193         * sysdeps/s390/multiarch/ifunc-impl-list.c
17194         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17195         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17196         * string/test-strnlen.c: Add wcsnlen support.
17197         * wcsmbs/test-wcsnlen.c: New File.
17198         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17199         * benchtests/bench-strnlen.c: Add wcsnlen support.
17200         * benchtests/bench-wcsnlen.c: New File.
17201         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17203         * sysdeps/s390/multiarch/Makefile: New File.
17204         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17205         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17206         * sysdeps/s390/multiarch/strlen.c: Likewise.
17207         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17208         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17209         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17210         * string/strlen.c (STRLEN): Define and use macro.
17211         * sysdeps/s390/multiarch/ifunc-impl-list.c
17212         (IFUNC_VX_IMPL): New macro function.
17213         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17214         * benchtests/Makefile (wcsmbs-bench): New variable.
17215         (string-bench-all): Added wcsmbs-bench.
17216         * benchtests/bench-wcslen.c: New File.
17218         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17219         s390_vx_libc_ifunc2): New macro function.
17221         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17222         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17223         assembler support.
17224         * sysdeps/s390/configure: Regenerated.
17226         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17227         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17229         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17230         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17231         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17233         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17234         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17236         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17237         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17238         (memcmp, bcmp): Use __memcmp_default as alias source.
17239         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17240         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17241         Rename to __memcmp_default.
17242         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17243         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17244         (memcpy): Use __memcpy_default as alias source.
17245         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17246         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17247         Rename to __memcpy_default.
17248         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17249         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17250         (memset): Use __memset_default as alias source.
17251         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17252         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17253         Rename to __memset_default.
17254         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17255         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17257         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17258         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17259         (memcmp, bcmp): Use __memcmp_default as alias source.
17260         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17261         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17262         Rename to __memcmp_default.
17263         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17264         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17265         (memcpy): Use __memcpy_default as alias source.
17266         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17267         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17268         Rename to __memcpy_default.
17269         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17270         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17271         (memset): Use __memset_default as alias source.
17272         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17273         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17274         Rename to __memset_default.
17275         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17276         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17278         [BZ #18610]
17279         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17280         __ieee_instruction_pointer to __unused.
17281         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17282         __ieee_instruction_pointer.
17283         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17284         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17285         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17286         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17287         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17288         Mark dxc-field as reserved.
17290 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17292         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17293         if the weak reference is not null.
17295 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17297         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17299         [BZ #11214]
17300         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17302 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17304         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17305         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17306         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17307         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17308         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17309         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17310         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17311         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17312         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17313         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17314         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17315         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17316         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17317         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17318         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17319         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17320         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17321         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17323 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17325         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17326         register other than r0 for tabort, it has special meaning.
17327         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17328         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17329         transaction before starting syscall.
17331 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17333         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17335 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17337         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17339         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17340         * sysdeps/x86_64/rtld-memset.S: Likewise.
17341         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17342         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17343         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17344         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17346         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17348 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17350         * debug/strcpy_chk.c: Improve performance.
17351         * debug/stpcpy_chk.c: Likewise.
17352         * sysdeps/x86_64/strcpy_chk.S: Remove.
17353         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17355         [BZ #18240]
17356         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17358 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17360         [BZ #15128]
17361         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17362         ifuncmain8.
17363         (modules-names): Add ifuncmod8.
17364         ($(objpfx)ifuncmain8): New rule.
17365         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17366         <cpuid.h>.
17367         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17368         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17369         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17370         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17371         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17372         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17373         * sysdeps/x86_64/ifuncmain8.c: New file.
17374         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17375         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17376         Removed.
17377         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17378         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17379         Change rtld_savespace_sse to __glibc_unused2.
17380         (RTLD_CHECK_FOREIGN_CALL): Removed.
17381         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17382         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17383         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17385 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17387         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17389 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17391         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17392         Unconditionally set __fpcr to avoid uninialized warning.
17393         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17395 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17397         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17398         is corrupt.
17400         * malloc/arena.c (arena_get2): Drop unused argument.
17401         (arena_lock): Adjust.
17402         (arena_get_retry): Likewise.
17404 2015-08-24  Andreas Schwab  <schwab@suse.de>
17406         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17407         Don't define.
17408         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17409         (__ASSUME_IPC64): Don't undef.
17410         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17411         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17412         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17413         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17414         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17415         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17416         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17417         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17418         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17419         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17420         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17421         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17422         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17423         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17424         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17425         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17426         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17427         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17428         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17429         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17430         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17432 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17434         * manual/Makefile (install): Only build manual when perl is available.
17436 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17438         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17439         '#undef memcpy' by '#undef memchr'.
17441 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17443         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17444         memchr not point to the internal __GI_memchr implementation.
17446 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17448         * timezone/Makefile (CFLAGS-zdump.c): Remove
17449         -Wno-strict-prototypes.
17450         (CFLAGS-zic.c): Likewise.
17451         (CFLAGS-ialloc.c): Likewise.
17452         (CFLAGS-scheck.c): Likewise.
17454         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17455         -Wno-error=undef.
17457 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17459         * i386/i686/multiarch/strcasestr-c.c: Removed.
17460         * x86_64/multiarch/strcasestr.c: Likewise.
17461         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17462         Remove strcasestr.
17464 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17466         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17468         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17469         variables for high and low parts before possibly modifying them.
17471 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17473         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17474         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17475         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17476         of "multiarch/init-arch.h".
17477         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17478         * sysdeps/x86/init-arch.h: This.
17480 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17482         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17483         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17485 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17487         [BZ #17787]
17488         * manual/macros.texi: Add twoexp macro.
17489         * manual/filesys.texi: Fix exponents.
17490         * manual/llio.texi: Likewise.
17491         * manual/stdio.texi: Likewise.
17493 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17495         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17496         incorrect use.
17498 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17500         [BZ #18370]
17501         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17502         whose real or imaginary part has small absolute value.
17503         * math/s_csqrtf.c (__csqrtf): Likewise.
17504         * math/s_csqrtl.c (__csqrtl): Likewise.
17505         * math/auto-libm-test-in: Add more tests of csqrt.
17506         * math/auto-libm-test-out: Regenerated.
17507         * sysdeps/i386/fpu/libm-test-ulps: Update.
17509 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17511         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17512         __ppc_set_ppr_very_low): New functions.
17513         * manual/platform.texi: Add documentation about
17514         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17516 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17518         * string/stpncpy.c (stpncpy): Improve performance using
17519         __strnlen/memcpy/memset.
17521 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17523         [BZ #18796]
17524         * scripts/test-installation.pl: Don't add -lmvec to build options if
17525         libmvec wasn't built.
17527 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17529         [BZ #14341]
17530         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17531         case when there is a gap between DT_REL and DT_JMPREL sections.
17532         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17533         (LDFLAGS-tst-split-dynreloc): New.
17534         (tst-split-dynreloc-ENV): Likewise.
17535         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17536         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17538 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17540         [BZ #18822]
17541         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17542         attribute_hidden.
17543         (__xstat64_conv): Likewise.
17544         (__xstat32_conv): Likewise.
17546 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17548         [BZ #18822]
17549         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17550         Don't load %ebx when calling __setcontext.  Call __setcontext
17551         with HIDDEN_JUMPTARGET.
17552         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17553         libc_hidden_def.
17555 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17557         * sysdeps/i386/i686/Makefile
17558         [$(subdir) == string] (sysdep_routines): Moved to ...
17559         * sysdeps/i386/Makefile: Here.
17560         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17561         * sysdeps/i386/cacheinfo.c: Here.
17562         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17563         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17564         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17565         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17567 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17569         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17570         __i586__ is defined.
17571         (HAS_I686): Defined to 1 if __i686__ is defined.
17573 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17575         * elf/Makefile [$(have-z-execstack) = yes]
17576         (CPPFLAGS-tst-execstack.c): New variable.
17578         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17579         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17580         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17581         UTMPX || _HAVE_UT_TV].
17582         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17583         UTMPX || _HAVE_UT_TV - 0].
17585 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17587         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17588         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17589         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17591 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17593         * sysdeps/powerpc/dl-procinfo.c:
17594         (_dl_powerpc_cap_flags): Added missing strings for some
17595         hwcap features.
17596         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17598 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17600         Port the 0x7efe...feff pattern to GCC 6.
17601         See Steve Ellcey's bug report in:
17602         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17603         * string/memrchr.c (MEMRCHR):
17604         * string/rawmemchr.c (RAWMEMCHR):
17605         * string/strchr.c (strchr):
17606         * string/strchrnul.c (STRCHRNUL):
17607         Rewrite code to avoid issues with signed shift overflow.
17609 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17611         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17612         whether cpuid is available only if HAS_CPUID is 0.
17613         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17614         (HAS_I586): Likewise.
17615         (HAS_I686): Likewise.
17617 2015-08-18  Zack Weinberg  <zackw@panix.com>
17619         * misc/Versions (libc): Add GLIBC_2.23.
17621 2015-08-18  Alan Modra  <amodra@gmail.com>
17623         [BZ #18421]
17624         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17625         .Lp__global.
17626         (_start): Load %dp via .Lp__global.
17627         [!SHARED]: Use .section .rodata.
17629 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17631         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17632         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17634 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17636         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17637         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17639 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17641         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17642         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17644 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17646         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17647         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17649 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17651         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17652         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17654 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17656         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17657         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17661         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17665         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17666         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17667         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17668         (__ASSUME_LWS_CAS): Delete.
17670 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17672         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17673         * sysdeps/hppa/configure: Regenerated.
17674         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17675         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17676         * sysdeps/hppa/nptl/tls.h: Likewise.
17678 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17680         [BZ #18823]
17681         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17682         for scaling up small arguments.
17683         * math/s_csqrtf.c (__csqrtf): Likewise.
17684         * math/s_csqrtl.c (__csqrtl): Likewise.
17685         * math/auto-libm-test-in: Add more tests of csqrt.
17686         * math/auto-libm-test-out: Regenerated.
17688 2015-08-17  Andreas Schwab  <schwab@suse.de>
17690         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17691         version set GLIBC_2.19.
17693 2015-08-16  Zack Weinberg  <zackw@panix.com>
17695         [BZ #18681]
17696         * misc/regexp.h: This interface is no longer supported.
17697         Remove all contents, leaving only an #error directive.
17698         * misc/regexp.c (loc1, loc2, locs, step, advance):
17699         Demote to compatibility symbols.
17701 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17703         [BZ #18084]
17704         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17705         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17706         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17707         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17708         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17709         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17710         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17711         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17712         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17714 2015-08-15  Zack Weinberg  <zackw@panix.com>
17716         [BZ #18795]
17717         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17718         buffer length is known to be too large, not if it's known to be
17719         small enough.
17720         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17721         overflow at runtime, involving a length parameter, twice: once
17722         with a compile-time constant length parameter, once without.
17724 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17726         [BZ #18824]
17727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17728         scaling x * y up instead of down.
17729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17731         * math/auto-libm-test-in: Add more tests of fma.
17732         * math/auto-libm-test-out: Regenerated.
17734 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17736         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17738 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17740         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17741         unnecessary movq.
17742         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17743         Likewise.
17745 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17747         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17748         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17749         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17750         and tgamma.
17751         * math/auto-libm-test-out: Regenerated.
17752         * sysdeps/i386/fpu/libm-test-ulps: Update.
17753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755         [BZ #16520]
17756         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17757         (__tanh): Force underflow exception for arguments with small
17758         absolute value.
17759         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17760         (__tanhf): Force underflow exception for arguments with small
17761         absolute value.
17762         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17763         (__tanhl): Force underflow exception for arguments with small
17764         absolute value.
17765         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17766         (__tanhl): Force underflow exception for arguments with small
17767         absolute value.
17768         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17769         (__tanhl): Force underflow exception for arguments with small
17770         absolute value.
17771         * math/auto-libm-test-in: Add more tests of tanh.
17772         * math/auto-libm-test-out: Regenerated.
17773         * sysdeps/i386/fpu/libm-test-ulps: Update.
17775 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17777         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17778         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17780 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17782         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17783         <cpuid.h>.
17785 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17787         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17788         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17790 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17792         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17793         Remove $(objpfx)init-arch.o.
17794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17795         init-arch.
17796         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17797         (INIT_ARCH_EXT): Defined as empty.
17798         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17799         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17800         __init_cpu_features call.  Replace HAS_XXX with
17801         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17807         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17808         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17809         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17820         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17821         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17825         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17827         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17828         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17829         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17833         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17838 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17840         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17841         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17842         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17843         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17844         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17845         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17846         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17847         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17848         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17849         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17850         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17851         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17852         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17853         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17854         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17855         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17856         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17857         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17858         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17859         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17860         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17861         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17862         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17863         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17864         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17865         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17866         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17867         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17868         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17869         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17870         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17871         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17872         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17873         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17874         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17875         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17876         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17877         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17879         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17880         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17881         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17882         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17884 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17886         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17887         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17888         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17889         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17890         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17891         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17892         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17893         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17894         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17895         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17896         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17897         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17898         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17899         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17900         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17901         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17902         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17904         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17905         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17907         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17908         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17909         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17910         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17911         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17912         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17913         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17914         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17915         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17916         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17917         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17918         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17921         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17922         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17923         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17924         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17925         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17926         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17927         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17928         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17930 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17932         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17933         (dl_platform_init): Call init_cpu_features.
17934         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17935         * sysdeps/i386/i686/cacheinfo.c
17936         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17937         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17938         * sysdeps/i386/i686/multiarch/Versions: Removed.
17939         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17940         Removed.
17941         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17942         * sysdeps/unix/sysv/linux/x86/Makefile
17943         (libpthread-sysdep_routines): Remove init-arch.
17944         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17945         <sysdeps/x86_64/dl-procinfo.c> instead of
17946         sysdeps/generic/dl-procinfo.c>.
17947         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17948         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17949         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17950         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17951         [$(subdir) == elf] (tests-static): Add
17952         tst-get-cpu-features-static.
17953         * sysdeps/x86/Versions: New file.
17954         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17955         * sysdeps/x86/cpu-features.c: Likewise.
17956         * sysdeps/x86/cpu-features.h: Likewise.
17957         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17958         * sysdeps/x86/libc-start.c: Likewise.
17959         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17960         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17961         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17962         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17963         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17964         Assume USE_MULTIARCH is defined and don't check it.
17965         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17966         (is_amd): Likewise.
17967         (max_cpuid): Likewise.
17968         (intel_check_word): Likewise.
17969         (__cache_sysconf): Don't call __init_cpu_features.
17970         (__x86_preferred_memory_instruction): Removed.
17971         (init_cacheinfo): Don't call __init_cpu_features. Replace
17972         __cpu_features with GLRO(dl_x86_cpu_features).
17973         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17974         (dl_platform_init): Call init_cpu_features.
17975         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17976         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17977         * sysdeps/x86_64/multiarch/Versions: Removed.
17978         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17979         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17980         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17981         Removed.
17982         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17984 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17986         [BZ #18820]
17987         * libio/Makefile (test-fmemopen-mem): New test.
17988         * libio/test-fmemopen.c (do_bz18820): New test.
17989         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17990         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17992 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17994         [BZ #16734]
17995         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17996         (FREE_BUF): Delete.
17997         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17998         * libio/genops.c (_IO_setb): Use malloc and free directly.
17999         (_IO_default_doallocate, _IO_default_finish): Likewise.
18000         ( _IO_unbuffer_all): Likewise.
18001         ( libc_freeres_fn): Likewise.
18002         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18003         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18004         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18005         (_IO_wdefault_doallocate): Likewise.
18007 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18009         [BZ #18086]
18010         * sysdeps/posix/nice.c (nice): Restore old errno.
18011         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18013 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18015         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18017 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18019         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18020         __bcopy and add a weak_alias to bcopy.
18021         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18022         for static build.
18024         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18025         cleanup macro usage.
18026         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18029         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18031         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18032         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18033         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18034         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18035         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18037         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18039         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18044         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18046         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18047         libc_hidden_def.
18048         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18050         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18051         (sysdep_routines): Add strstr-ppc64.
18052         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18054 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18056         [BZ #18778]
18057         * elf/Makefile (tests): Add Add tst-nodelete2.
18058         (modules-names): Add tst-nodelete2mod.
18059         (tst-nodelete2mod.so-no-z-defs): New.
18060         ($(objpfx)tst-nodelete2): Likewise.
18061         ($(objpfx)tst-nodelete2.out): Likewise.
18062         (LDFLAGS-tst-nodelete2): Likewise.
18063         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18064         out of loop through all loaded libraries.
18065         * elf/tst-nodelete2.c: New file.
18066         * elf/tst-nodelete2mod.c: Likewise.
18067         * elf/tst-znodelete-zlib.cc: Delete.
18069 2015-08-11  Andreas Schwab  <schwab@suse.de>
18071         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18072         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18073         (__openat64_nocancel): Likewise.
18075 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18077         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18078         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18079         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18080         * math/auto-libm-test-out: Regenerated.
18081         * sysdeps/i386/fpu/libm-test-ulps: Update.
18082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18084 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18086         [BZ #18790]
18087         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18088         threshold for returning +/- 1.
18089         * math/auto-libm-test-in: Add more tests of tanh.
18090         * math/auto-libm-test-out: Regenerated.
18091         * sysdeps/i386/fpu/libm-test-ulps: Update.
18093 2015-08-10  Andreas Schwab  <schwab@suse.de>
18095         [BZ #18781]
18096         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18097         MORE_OFLAGS to oflag.
18098         * io/test-lfs.c (do_test): Test openat64.
18100 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18102         [BZ #18789]
18103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18104         smaller threshold for returning the argument.
18105         * math/auto-libm-test-in: Add more tests of sinh.
18106         * math/auto-libm-test-out: Regenerated.
18107         * sysdeps/i386/fpu/libm-test-ulps: Update.
18109 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18111         [BZ #18674]
18112         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18113         break.
18115 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18117         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18118         (generated): Don't add $(addprefix z.,$(tzfiles)).
18120 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18122         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18123         * scripts/sysd-rules.awk: Likewise.
18125 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18127         * iconvdata/tst-tables.sh: Change echo -n to printf.
18128         * nss/db-Makefile: Likewise.
18129         * posix/tst-getconf.sh: Likewise.
18130         * stdio-common/tst-unbputc.sh: Likewise.
18132 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18134         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18135         MADV_*_PAGES defines behind this feature check.
18137 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18139         [BZ #18480]
18140         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18141         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18142         Define.
18143         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18144         LOAD_REGS_5, LOAD_REGS_6): Update.
18145         (INTERNAL_SYSCALL): Update using new LOAD defines.
18146         (INTERNAL_SYSCALL_NCS): Likewise.
18147         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18149 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18151         [BZ #16734]
18152         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18154 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18156         [BZ #17905]
18157         * catgets/Makefile (tst-catgets-mem): New test.
18158         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18159         * catgets/open_catalog.c (__open_catalog): Likewise.
18160         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18162 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18164         [BZ #18787]
18165         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18166         clobber registers.
18167         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18168         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18169         Cast return to __typeof (oldval).
18171 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18173         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18174         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18175         and delete sys/syscall.h include.
18177 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18179         [BZ #16517]
18180         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18181         (tan): Force underflow exception for arguments with small absolute
18182         value.
18183         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18184         (__kernel_tanf): Force underflow exception for arguments with
18185         small absolute value.
18186         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18187         (__kernel_tanl): Force underflow exception for arguments with
18188         small absolute value.
18189         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18190         (__kernel_tanl): Force underflow exception for arguments with
18191         small absolute value.
18192         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18193         (__kernel_tanl): Force underflow exception for arguments with
18194         small absolute value.
18195         * math/auto-libm-test-in: Add more tests of tan.
18196         * math/auto-libm-test-out: Regenerated.
18198 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18200         Fix sysdeps/i386/fpu/s_scalbn.S build
18202         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18204 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18206         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18208 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18210         Fix gcrt0.o compilation
18212         When static-start-installed-name is different from
18213         start-installed-name, we must not use the shared objects.
18215         * csu/Makefile
18216         (extra-objs): Add gmon-start.o when building shared library and
18217         $(static-start-installed-name) is different from
18218         $(start-installed-name).
18219         $(objpfx)g$(static-start-installed-name): When building shared
18220         library and $(static-start-installed-name) is different from
18221         $(static-start-installed-name), revert to non-shared rule,
18222         i.e. using $(objpfx)% and gmon-start.o.
18224 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18226         [BZ #16519]
18227         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18228         (__ieee754_sinh): Force underflow exception for arguments with
18229         small absolute value.
18230         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18231         (__ieee754_sinhf): Force underflow exception for arguments with
18232         small absolute value.
18233         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18234         (__ieee754_sinhl): Force underflow exception for arguments with
18235         small absolute value.
18236         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18237         (__ieee754_sinhl): Force underflow exception for arguments with
18238         small absolute value.
18239         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18240         (__ieee754_sinhl): Force underflow exception for arguments with
18241         small absolute value.
18242         * math/auto-libm-test-in: Add more tests of sinh.
18243         * math/auto-libm-test-out: Regenerated.
18244         * sysdeps/i386/fpu/libm-test-ulps: Update.
18246 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18248         * libio/oldfileops.c: Include unistd.h.
18250 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18252         * stdlib/isomac.c: Include ctype.h.
18254 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18256         * dirent/tst-seekdir.c (main): Converted to ...
18257         (do_test): ... this.
18258         (TEST_FUNCTION): New macro.
18259         Include test-skeleton.c.
18260         * elf/tst-dlmodcount.c (main): Converted to ...
18261         (do_test): ... this.
18262         (TEST_FUNCTION): New macro.
18263         Include test-skeleton.c.
18264         * elf/tst-order-main.c (main): Converted to ...
18265         (do_test): ... this.
18266         (TEST_FUNCTION): New macro.
18267         Include test-skeleton.c.
18268         * elf/tst-pie2.c (main): Converted to ...
18269         (do_test): ... this.
18270         (TEST_FUNCTION): New macro.
18271         Include test-skeleton.c.
18272         * inet/tst-ether_aton.c (main): Converted to ...
18273         (do_test): ... this.
18274         (TEST_FUNCTION): New macro.
18275         Include test-skeleton.c.
18276         * misc/tst-mntent.c (main): Converted to ...
18277         (do_test): ... this.
18278         (TEST_FUNCTION): New macro.
18279         Include test-skeleton.c.
18280         * misc/tst-tsearch.c (main): Converted to ...
18281         (do_test): ... this.
18282         (TEST_FUNCTION): New macro.
18283         Include test-skeleton.c.
18284         * posix/tst-regexloc.c (main): Converted to ...
18285         (do_test): ... this.
18286         (TEST_FUNCTION): New macro.
18287         Include test-skeleton.c.
18288         * resolv/tst-aton.c (main): Converted to ...
18289         (do_test): ... this.
18290         (TEST_FUNCTION): New macro.
18291         Include test-skeleton.c.
18292         * stdio-common/test-fwrite.c (main): Converted to ...
18293         (do_test): ... this.
18294         (TEST_FUNCTION): New macro.
18295         Include test-skeleton.c.
18296         * stdio-common/tst-ferror.c (main): Converted to ...
18297         (do_test): ... this.
18298         (TEST_FUNCTION): New macro.
18299         Include test-skeleton.c.
18300         * stdio-common/tst-printf.c (main): Converted to ...
18301         (do_test): ... this.
18302         (TEST_FUNCTION): New macro.
18303         Include test-skeleton.c.
18304         * stdio-common/tst-printfsz.c (main): Converted to ...
18305         (do_test): ... this.
18306         (TEST_FUNCTION): New macro.
18307         Include test-skeleton.c.
18308         * stdlib/tst-strtod.c (main): Converted to ...
18309         (do_test): ... this.
18310         (TEST_FUNCTION): New macro.
18311         Include test-skeleton.c.
18312         * string/tst-strlen.c (main): Converted to ...
18313         (do_test): ... this.
18314         (TEST_FUNCTION): New macro.
18315         Include test-skeleton.c.
18316         * string/tst-svc.c (main): Converted to ...
18317         (do_test): ... this.
18318         (TEST_FUNCTION): New macro.
18319         Include test-skeleton.c.
18320         * time/tst-strptime.c (main): Converted to ...
18321         (do_test): ... this.
18322         (TEST_FUNCTION): New macro.
18323         Include test-skeleton.c.
18324         * timezone/tst-timezone.c (main): Converted to ...
18325         (do_test): ... this.
18326         (TEST_FUNCTION): New macro.
18327         Include test-skeleton.c.
18329 2015-08-05  Zack Weinberg  <zackw@panix.com>
18331         * misc/regexp.h: Update comments.
18333 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18335         [BZ #18635]
18336         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18337         before return label.
18339 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18341         [BZ #18661]
18342         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18343         when calling __errno_location.
18344         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18345         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18347 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18349         [BZ #18661]
18350         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18351         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18352         __gettimeofday.
18354 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18356         [BZ #18661]
18357         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18358         (__start_context): Don't use pop to restore %rdi so that stack
18359         is aligned to 16 bytes when calling __setcontext.
18361 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18363         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18364         only for libc.
18365         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18367 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18369         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18370         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18371         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18373 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18375         * string/memccpy.c (memccpy):
18376         Improve performance by using memchr/memcpy/__mempcpy.
18378 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18380         * string/strncpy.c (strncpy):
18381         Improve performance by using __strnlen/memcpy.
18383 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18385         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18386         Optimize to avoid an unnecessary FPCR read.
18388 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18390         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18391         Optimize to reduce FPCR/FPSR accesses.
18393 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18395         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18396         dead->data[category] != NULL.
18398 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18400         [BZ #18647]
18401         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18402         and |x| close to 1, use absolute value of x when computing log.
18403         * math/auto-libm-test-in: Add more tests of pow.
18404         * math/auto-libm-test-out: Regenerated.
18406 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18408         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18409         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18410         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18412 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18414         [BZ #18525]
18415         * locales/km_KH: Remove timezone definition.
18416         * locales/lo_LA: Likewise.
18417         * locales/my_MM: Likewise.
18418         * locales/nan_TW@latin: Likewise.
18419         * locales/th_TH: Likewise.
18420         * locales/uk_UA: Likewise.
18422 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18424         [BZ #18265]
18425         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18426         (wcsncat): Likewise.
18427         (wcscmp): Likewise.
18428         (wcsncmp): Likewise.
18430 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18432         * test-skeleton.c (usage): New function.
18433         (main): Call usage when opt is '?'.
18435 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18437         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18438         before first use.
18440 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18442         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18443         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18444         in there too.
18446 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18448         * version.h (RELEASE): Set to "development".
18449         (VERSION): Set to "2.22.90"
18451         * version.h (RELEASE): Set to "stable".
18452         (VERSION): Set to "2.22"
18453         * include/features.h (__GLIBC_MINOR__): Set to 22.
18455 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18457         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18458         Restructure macro to avoid "value computed is not used" warning.
18459         (atomic_compare_and_exchange_val_acq): Likewise.
18461 2015-08-04  Andreas Schwab  <schwab@suse.de>
18463         [BZ #18635]
18464         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18465         ret.
18466         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18468 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18470         * po/pl.po: Updated translation.
18471         * po/uk.po: Likewise.
18472         * po/fi.po: Likewise.
18473         * po/ko.po: Likewise.
18474         * po/ru.po: Likewise.
18475         * po/vi.po: Likewise.
18477 2015-07-31  Zack Weinberg  <zackw@panix.com>
18479         [BZ #18681]
18480         * regexp.h: Add unconditional #warning stating that this header
18481         will be removed soon.  Revise banner comment to match.
18482         (compile): Consistently use ERROR instead of RETURN to report
18483         errors (partial fix for bz#18681).
18484         * regexp.c: Don't include regexp.h. Remove some unnecessary
18485         declarations.
18487 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18489         * po/libc.pot: Regenerated.
18491 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18493         [BZ #18740]
18494         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18495         float-vlen4-arch-ext-cflags): Removed.
18496         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18497         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18499 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18501         [BZ #14113]
18502         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18503         aligned to __aligned__.
18504         (pthread_cond_t, pthread_rwlock_t): Likewise.
18506 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18508         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18510 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18512         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18513         (struct sigaction): Change sa_flags from a long to an int, and add
18514         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18516 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18518         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18519         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18520         sysdeps/generic/sysdep.h include.
18521         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18522         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18523         sysdeps/hppa/sysdep.h.
18524         (ENTRY, PSEUDO): Undefine before defining.
18526 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18528         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18529         from scratch to use INTERNAL_SYSCALL.
18531 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18533         [BZ #18078]
18534         * scripts/check-localplt.awk: Support alternate relocations.
18535         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18536         sections.
18537         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18538         malloc entries with + REL R_386_GLOB_DAT.
18539         * sysdeps/x86_64/localplt.data: New file.
18541 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18543         [BZ #18731]
18544         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18545         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18546         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18548 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18550         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18552 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18554         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18555         directly in terms of __sync_fetch_and_add and delete (int) cast.
18557 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18559         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18560         the -D_ASM_IA64_CURRENT_H flag.
18562 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18564         [BZ #18641]
18565         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18567 2015-07-27  Andreas Schwab  <schwab@suse.de>
18569         * conform/conformtest.pl (checknamespace): Filter out string
18570         literals while tokenizing.
18572 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18574         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18575         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18576         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18578 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18580         * nptl/tst-join7mod.c: Add #include <string.h>.
18582 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18584         * sysdeps/nios2/libm-test-ulps: Update.
18586 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18588         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18589         Fix order of arguments to the rt_sigprocmask syscall.
18590         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18591         Likewise.
18593 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18595         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18597 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18599         [BZ #18457]
18600         * nptl/Makefile (tests): New test case tst-join7.
18601         (modules-names): New test case module tst-join7mod.
18602         * nptl/tst-join7.c: New file.
18603         * nptl/tst-join7mod.c: New file.
18604         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18605         all translation units in libc.so, libpthread.so and rtld.
18607 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18614         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18615         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18617         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18624         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18625         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18626         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18628         implementation.
18630 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18632         [BZ #17711]
18633         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18634         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18635         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18636         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18637         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18638         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18640 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18642         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18643         instead of just saying load lock in the comments.
18645 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18647         * sysdeps/unix/Subdirs: Moved ...
18648         * sysdeps/posix/Subdirs: ... here.
18649         * login/pty.h (struct termios, struct winsize): Add forward decls.
18650         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18651         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18652         * sysdeps/arm/nacl/libc.abilist: Updated.
18653         * sysdeps/nacl/libutil.abilist: New file.
18655         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18656         (SIGWINCH): New macro.
18658         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18659         * sysdeps/arm/nacl/libc.abilist: Add it.
18661 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18663         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18665 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18667         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18668         Swap __glibc_reserved0 and sa_flags order.
18670 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18672         [BZ #18657]
18673         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18674         are pending TLS destructor calls.
18675         * include/link.h (struct link_map): Add concurrency note for
18676         L_TLS_DTOR_COUNT.
18677         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18678         Don't touch the link map flag.  Atomically increment
18679         l_tls_dtor_count.
18680         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18681         Avoid taking the load lock and don't touch the link map flag.
18682         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18683         * stdlib/Makefile (tests): Use it.
18684         * stdlib/tst-tls-atexit.c (do_test): dlopen
18685         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18686         to allow tst-tls-atexit-nodelete test case to use it.
18688 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18690         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18691         to bits/types.h.
18692         (msgqnum_t): New typedef.
18693         (msglen_t): Likewise.
18694         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18695         and msg_qbytes type to msglen_t.
18697 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18699         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18700         pad0 to __glibc_reserved0.
18701         (struct stat64): Likewise.
18703 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18705         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18706         Change sa_flags from a long to an int and add __glibc_reserved0 before
18707         it for padding.
18709 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18711         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18712         anonymous by deleting "siginfo" name.
18714 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18716         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18717         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18718         rather than __nacl_irt_filename.
18719         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18721         * NEWS: New item for arm-nacl port.
18722         * sysdeps/arm/nacl/libc.abilist: New file.
18723         * sysdeps/nacl/ld.abilist: New file.
18724         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18725         * sysdeps/nacl/libanl.abilist: New file.
18726         * sysdeps/nacl/libcrypt.abilist: New file.
18727         * sysdeps/nacl/libdl.abilist: New file.
18728         * sysdeps/nacl/libm.abilist: New file.
18729         * sysdeps/nacl/libpthread.abilist: New file.
18730         * sysdeps/nacl/libresolv.abilist: New file.
18731         * sysdeps/nacl/librt.abilist: New file.
18733 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18735         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18736         __startcontext to initialize the new context.
18737         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18738         up CFI directive to forbid further backtracing.
18740 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18742         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18743         reference.
18744         * charmaps/ANSI_X3.4-1968: Likewise.
18745         * charmaps/BS_4730: Likewise.
18746         * charmaps/BS_VIEWDATA: Likewise.
18747         * charmaps/CP1250: Likewise.
18748         * charmaps/CP1251: Likewise.
18749         * charmaps/CP1252: Likewise.
18750         * charmaps/CP1253: Likewise.
18751         * charmaps/CP1254: Likewise.
18752         * charmaps/CP1255: Likewise.
18753         * charmaps/CP1256: Likewise.
18754         * charmaps/CSN_369103: Likewise.
18755         * charmaps/EBCDIC-DK-NO: Likewise.
18756         * charmaps/GB_1988-80: Likewise.
18757         * charmaps/GREEK-CCITT: Likewise.
18758         * charmaps/GREEK7: Likewise.
18759         * charmaps/INIS-8: Likewise.
18760         * charmaps/ISIRI-3342: Likewise.
18761         * charmaps/ISO_2033-1983: Likewise.
18762         * charmaps/ISO_5427-EXT: Likewise.
18763         * locales/POSIX: Likewise.
18764         * locales/ar_SA: Likewise.
18765         * locales/be_BY: Likewise.
18766         * locales/be_BY@latin: Likewise.
18767         * locales/ca_ES: Likewise.
18768         * locales/cs_CZ: Likewise.
18769         * locales/da_DK: Likewise.
18770         * locales/de_BE: Likewise.
18771         * locales/de_CH: Likewise.
18772         * locales/de_LU: Likewise.
18773         * locales/en_AU: Likewise.
18774         * locales/en_BW: Likewise.
18775         * locales/en_CA: Likewise.
18776         * locales/en_DK: Likewise.
18777         * locales/en_GB: Likewise.
18778         * locales/en_IE: Likewise.
18779         * locales/en_NZ: Likewise.
18780         * locales/en_ZA: Likewise.
18781         * locales/en_ZW: Likewise.
18782         * locales/es_AR: Likewise.
18783         * locales/es_BO: Likewise.
18784         * locales/es_CL: Likewise.
18785         * locales/es_CO: Likewise.
18786         * locales/es_DO: Likewise.
18787         * locales/es_EC: Likewise.
18788         * locales/es_ES: Likewise.
18789         * locales/es_HN: Likewise.
18790         * locales/es_MX: Likewise.
18791         * locales/es_PA: Likewise.
18792         * locales/es_PE: Likewise.
18793         * locales/es_PY: Likewise.
18794         * locales/es_SV: Likewise.
18795         * locales/es_US: Likewise.
18796         * locales/es_UY: Likewise.
18797         * locales/es_VE: Likewise.
18798         * locales/et_EE: Likewise.
18799         * locales/fa_IR: Likewise.
18800         * locales/fo_FO: Likewise.
18801         * locales/fr_CA: Likewise.
18802         * locales/fr_CH: Likewise.
18803         * locales/gv_GB: Likewise.
18804         * locales/he_IL: Likewise.
18805         * locales/hr_HR: Likewise.
18806         * locales/id_ID: Likewise.
18807         * locales/is_IS: Likewise.
18808         * locales/it_CH: Likewise.
18809         * locales/iw_IL: Likewise.
18810         * locales/kl_GL: Likewise.
18811         * locales/ko_KR: Likewise.
18812         * locales/kw_GB: Likewise.
18813         * locales/lg_UG: Likewise.
18814         * locales/lt_LT: Likewise.
18815         * locales/lv_LV: Likewise.
18816         * locales/mi_NZ: Likewise.
18817         * locales/nhn_MX: Likewise.
18818         * locales/nl_BE: Likewise.
18819         * locales/pl_PL: Likewise.
18820         * locales/sk_SK: Likewise.
18821         * locales/sl_SI: Likewise.
18822         * locales/sv_FI: Likewise.
18823         * locales/tl_PH: Likewise.
18824         * locales/tr_TR: Likewise.
18825         * locales/vi_VN: Likewise.
18827 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18829         [BZ #17475]
18830         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18831         of tu_IN and bh_IN.
18833 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18835         [BZ #18694]
18836         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18837         bits/wordsize.h.
18838         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18840 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18842         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18843         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18844         (spawn_thread): New function.
18845         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18846         (do_test): ... here.  Use IS_LOADED to test for its
18847         availability.
18849 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18851         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18853 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18855         [BZ #18696]
18856         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18857         si_addr_bnd.
18858         (si_lower): New.
18859         (si_upper): Likewise.
18861 2015-07-16  David S. Miller  <davem@davemloft.net>
18863         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18865 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18867         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18868         buffer.
18869         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18870         fail output information.
18872 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18875         and strstr-ppc64..
18876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18877         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18878         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18879         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18880         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18882 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18884         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18885         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18886         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18887         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18889 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18891         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18892         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18893         rtld_hidden_proto.
18894         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18896 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18898         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18899         the test can fail.
18901         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18903         [BZ #18676]
18904         * elf/tst-nodelete-opened.c: New test case.
18905         * elf/tst-nodelete-opened-lib.c: New test case module.
18906         * elf/Makefile (tests, modules-names): Use them.
18907         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18908         early.
18910 2015-07-15  David S. Miller  <davem@davemloft.net>
18912         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18913         futex-intenal.h
18914         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18915         * sysdeps/sparc/sparc64/Makefile: Likewise.
18916         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18917         Remove space from macro define.
18918         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18920 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18922         [BZ #17475]
18923         * locale/iso-639.def: Update Bhili and Tulu language codes as
18924         per iso639-3.
18926 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18928         * elf/tst-leaks1.c (main): Converted to ...
18929         (do_test): ... this.
18930         (TEST_FUNCTION): New macro.
18931         Include test-skeleton.c.
18932         * localedata/tst-langinfo.c (main): Converted to ...
18933         (do_test): ... this.
18934         (TEST_FUNCTION): New macro.
18935         Include test-skeleton.c.
18936         * math/test-fpucw.c (main): Converted to ...
18937         (do_test): ... this.
18938         (TEST_FUNCTION): New macro.
18939         Include test-skeleton.c.
18940         * math/test-tgmath.c (main): Converted to ...
18941         (do_test): ... this.
18942         (TEST_FUNCTION): New macro.
18943         Include test-skeleton.c.
18944         * math/test-tgmath2.c (main): Converted to ...
18945         (do_test): ... this.
18946         (TEST_FUNCTION): New macro.
18947         Include test-skeleton.c.
18948         * setjmp/tst-setjmp.c (main): Converted to ...
18949         (do_test): ... this.
18950         (TEST_FUNCTION): New macro.
18951         Include test-skeleton.c.
18952         * stdio-common/tst-sscanf.c (main): Converted to ...
18953         (do_test): ... this.
18954         (TEST_FUNCTION): New macro.
18955         Include test-skeleton.c.
18956         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18957         (do_test): ... this.
18958         (TEST_FUNCTION): New macro.
18959         Include test-skeleton.c.
18961         * elf/tst-audit9.c (main): Converted to ...
18962         (do_test): ... this.
18963         (TEST_FUNCTION): New macro.
18964         Include test-skeleton.c.
18966 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18968         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18970 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18972         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18973         New variable.
18975 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18977         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18979 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18981         * sysdeps/generic/dl-fileid.h: New file.
18982         * sysdeps/posix/dl-fileid.h: New file.
18983         * sysdeps/nacl/dl-fileid.h: New file.
18984         * include/link.h: Include <dl-fileid.h>.
18985         (struct link_map): Replace l_dev and l_ino with l_file_id.
18986         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18987         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18988         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18990 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18992         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18994 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18996         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18997         Add iff $CXX is set.
18998         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18999         Likewise.
19000         (tst-nodelete-zmodiff): Likewise.
19001         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19003 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19005         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19007 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19009         * sysdeps/aarch64/fpu/math_private.h
19010         (define math_opt_barrier): Add AArch64 version.
19011         (math_force_eval): Likewise.
19013 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19015         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19017 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19019         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19020         %ld with %jd and cast to intmax_t.
19021         (do_test_length_zero): Likewise.
19023 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19025         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19027 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19029         * sysdeps/tile/libm-test-ulps: Regenerated.
19031         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19032         Comment out the whole function, not just its body.
19034 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19036         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19037         locks.
19039         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19041 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19043         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19044         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19046 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19048         * sysdeps/nptl/futex-internal.h: New file.
19049         * sysdeps/nacl/futex-internal.h: New file.
19050         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19051         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19052         error checking.
19053         (setxid_unmark_thread): Likewise.
19054         (__nptl_setxid): Likewise.
19055         (__wait_lookup_done): Likewise.
19056         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19057         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19058         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19059         * nptl/pthread_once.c (clear_once_control): Likewise.
19060         (__pthread_once_slow): Likewise.
19061         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19062         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19063         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19064         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19065         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19066         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19067         Likewise.
19068         (__pthread_rwlock_rdlock): Likewise.
19069         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19070         Likewise.
19071         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19072         Likewise.
19073         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19074         Likewise.
19075         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19076         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19077         Likewise.
19078         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19079         __ASSUME_PRIVATE_FUTEX check.
19080         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19081         Check that shared futexes are supported.
19082         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19083         wrappers with error checking.
19084         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19085         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19086         * nptl/pthread_barrierattr_setpshared.c
19087         (pthread_barrierattr_setpshared): Check that shared futexes are
19088         supported.
19089         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19090         Likewise.
19091         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19092         Likewise.
19093         * nptl/sem_init.c (futex_private_if_supported): Remove.
19094         (__new_sem_init): Adapt and check that shared futexes are supported.
19095         * nptl/sem_open.c (sem_open): Likewise.
19096         * nptl/sem_post.c (futex_wake): Remove.
19097         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19098         (do_futex_wait): Use futex wrappers with error checking.
19099         * nptl/sem_wait.c: Include lowlevellock.h.
19100         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19101         Use futex_supports_pshared.
19102         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19103         Use futex wrappers with error checking.
19104         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19105         Likewise.
19106         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19107         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19108         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19109         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19110         (futex_wake): Likewise.
19111         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19112         (do_futex_wait): Use futex wrappers with error checking.
19113         (__new_sem_wait_slow): Update EINTR handling.
19114         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19116 2015-07-09  Martin Sebor  <msebor@redhat.com>
19118         [BZ #18435]
19119         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19120         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19121         * nptl/Makefile (test-xfail-tst-once5): Define.
19123 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19125         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19126         * elf/dl-minimal.c: For readability, reorder some definitions and
19127         introduce more page breaks.  Include <stdio.h>.
19128         (__libc_fatal): New function.
19130         * include/unistd.h: Add rtld_hidden_proto for _exit.
19131         * posix/_exit.c: Add rtld_hidden_def.
19132         * sysdeps/mach/hurd/_exit.c: Likewise.
19133         * sysdeps/nacl/_exit.c: Likewise.
19134         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19135         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19137 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19139         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19140         bndmov encoding with zero displacement.
19142 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19143             H.J. Lu  <hongjiu.lu@intel.com>
19145         [BZ #18134]
19146         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19147         * sysdeps/i386/configure: Regenerated.
19148         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19149         (_dl_runtime_profile): Save and restore Intel MPX return bound
19150         registers when calling _dl_call_pltexit.  Add
19151         PRESERVE_BND_REGS_PREFIX before return.
19152         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19153         (LRV_BND1_OFFSET): Likewise.
19154         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19155         lrv_bnd1.
19156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19157         typo in bndmov encoding.
19158         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19159         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19160         branch instructions to preserve bounds.
19162 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19165         [GLIBC_2.22]: Add fmemopen.
19167 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19169         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19170         returns an error, also try to use host port from __mach_host_self for
19171         the __vm_wire call.
19172         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19174 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19176         [BZ #18400]
19177         [BZ #18648]
19178         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19179         Fix pr_uid and pr_gid members.
19180         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19181         definition to elf_greg_t.
19183 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19185         [BZ #18383]
19186         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19187         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19188         * sysdeps/arm/configure: Regenerated.
19189         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19190         (test-xfail-tst-tlsalign-static): Variable removed.
19192         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19193         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19194         rather than explicit 'ln -s'.
19196         * resolv/rpc/netdb.h: New file.
19197         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19199 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19201         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19202         length buffers.
19203         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19204         test-skeleton.c.
19206         [BZ #6544]
19207         [BZ #11216]
19208         [BZ #12836]
19209         [BZ #13151]
19210         [BZ #13152]
19211         [BZ #14292]
19212         * include/stdio.h (fmemopen): Remove hidden prototype.
19213         (__fmemopen): Add new hidden prototype.
19214         * libio/Makefile: Add oldfmemopen object.
19215         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19216         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19217         compliance.
19218         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19219         symbol compatibility.
19220         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19221         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19222         fmemopen.
19223         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19224         on append and read mode.
19225         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19226         fmemopen.
19227         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19228         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19229         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19230         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19231         Likewise.
19232         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19233         [GLIBC_2.22]: Likewise.
19234         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19235         Likewise.
19236         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19237         Likewise.
19238         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19239         [GLIBC_2.22]: Likewise.
19240         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19241         [GLIBC_2.22]: Likewise.
19242         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19243         [GLIBC_2.22]: Likewise.
19244         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19245         [GLIBC_2.22]: Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19247         [GLIBC_2.22]: Likewise.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19249         [GLIBC_2.22]: Likewise.
19250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19251         [GLIBC_2.22]: Likewise.
19252         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19253         Likewise.
19254         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19255         Likewise.
19256         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19257         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19258         [GLIBC_2.22]: Likewise.
19259         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19260         [GLIBC_2.22]: Likewise.
19261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19262         [GLIBC_2.22]: Likewise.
19263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19264         [GLIBC_2.22]: Likewise.
19265         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19266         Likewise.
19267         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19270         Likewise.
19271         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19272         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19274 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19276         [BZ #18643]
19277         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19278         IPV6_PATHMTU, and IPV6_DONTFRAG.
19280 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19282         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19283         and _IO_UNBUFFERED.
19284         * libio/oldfileops.c: Likewise.
19285         * libio/wfileops.c: Likewise.
19287 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19289         * nscd/selinux.c: Delete selinux/flask.h include.
19291 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19293         [BZ #18641]
19294         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19295         (putpwent): Likewise.
19296         (getpwnam): Likewise.
19297         (getpwent_r): Likewise.
19298         (getpwuid_r): Likewise.
19299         (getpwnam_r): Likewise.
19300         (fgetpwent_r): Likewise.
19302 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19304         [BZ #18557]
19305         * inet/rcmd.c (__validuser2_sa): Check user first to
19306         short-circuit host check.
19308 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19309             Mikhail Ilin  <m.ilin@samsung.com>
19311         [BZ #17833]
19312         * elf/Makefile (tests): Add tst-nodelete.
19313         (modules-names): Add tst-nodelete-uniquemod.
19314         (tst-nodelete-uniquemod.so-no-z-defs): New.
19315         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19316         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19317         ($(objpfx)tst-nodelete): Likewise.
19318         ($(objpfx)tst-nodelete.out): Likewise.
19319         (LDFLAGS-tst-nodelete): Likewise.
19320         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19321         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19322         implement forced object deletion.
19323         (_dl_close): Pass false to _dl_close_worker.
19324         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19325         * elf/tst-nodelete.cc: New file.
19326         * elf/tst-nodeletelib.cc: Likewise.
19327         * elf/tst-znodeletelib.cc: Likewise.
19328         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19330 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19332         [BZ #18508]
19333         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19334         Depend on $(libdl).
19335         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19336         is not called infinitely times.
19337         (backtrace_helper): New function.
19338         (trace_arg): New struct.
19339         (st1): Enlarge stack size.
19340         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19341         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19342         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19343         Likewise.
19345 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19347         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19349 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19351         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19352         Include sys/types.h instead of bits/types.h.
19353         Remove inclusion of bits/wordsize.h.
19355 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19357         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19358         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19359         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19360         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19361         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19362         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19364 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19366         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19367         link-defines.sym.
19368         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19369         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19370         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19371         and LR_SIZE.
19372         * sysdeps/i386/link-defines.sym: New file.
19374 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19376         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19377         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19378         ($(objpfx)tst-audit3): New rule.
19379         ($(objpfx)tst-audit3.out): Likewise.
19380         * sysdeps/i386/tst-audit3.c: New file.
19381         * sysdeps/i386/tst-audit3.h: Likewise.
19382         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19383         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19385 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19387         [BZ #18633]
19388         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19389         pointer in C code.
19390         (__strcat_c): Likewise.
19391         (__strcat_g): Likewise.
19393 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19395         [BZ #18592]
19396         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19398 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19400         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19401         New function.  (__ieee754_sqrtf): New function.
19402         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19403         New function.
19404         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19405         New function.
19407 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19409         * sysdeps/ieee754/support.c: Remove unused file.
19411 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19413         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19414         registers instead of d ones so the layout is kernel abi compatible.
19415         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19416         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19417         Likewise.
19419 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19421         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19423 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19425         [BZ #18619]
19426         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19427         and return argument in case of subnormal argument.
19429 2015-07-01  Martin Sebor  <msebor@redhat.com>
19431         [BZ #18435]
19432         * nptl/Makefile: Add tst-once5.cc.
19433         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19434         Remove macro redefinitions.
19435         * nptl/tst-once5.cc: New test.
19437 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19439         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19441         * sysdeps/arm/libm-test-ulps: Regenerated.
19443         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19444         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19446 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19448         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19449         lll_lock_wait_private and lll_futex_wake probes.
19451         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19452         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19453         Likewise.
19454         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19455         atomic_spin_nop.
19456         * sysdeps/x86_64/bits/atomic.h: Likewise.
19457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19458         to atomic_spin_nop and move ...
19459         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19460         ... here and ...
19461         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19462         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19463         atomic_spin_nop instead of BUSY_WAIT_NOP.
19464         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19465         Likewise.
19466         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19467         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19468         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19469         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19470         instead of atomic_delay.
19472 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19474         [BZ #18613]
19475         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19476         X_ADJ not X when adjusting exponent.
19477         (__ieee754_gamma_r): Do intermediate computations in
19478         round-to-nearest then adjust overflowing and underflowing results
19479         as needed.
19480         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19481         of X_ADJ not X when adjusting exponent.
19482         (__ieee754_gammaf_r): Do intermediate computations in
19483         round-to-nearest then adjust overflowing and underflowing results
19484         as needed.
19485         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19486         log of X_ADJ not X when adjusting exponent.
19487         (__ieee754_gammal_r): Do intermediate computations in
19488         round-to-nearest then adjust overflowing and underflowing results
19489         as needed.  Use 1.0L not 1.0f as numerator of division.
19490         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19491         log of X_ADJ not X when adjusting exponent.
19492         (__ieee754_gammal_r): Do intermediate computations in
19493         round-to-nearest then adjust overflowing and underflowing results
19494         as needed.  Use 1.0L not 1.0f as numerator of division.
19495         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19496         of X_ADJ not X when adjusting exponent.
19497         (__ieee754_gammal_r): Do intermediate computations in
19498         round-to-nearest then adjust overflowing and underflowing results
19499         as needed.  Use 1.0L not 1.0f as numerator of division.
19500         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19501         to auto-libm-test-in.
19502         (tgamma_test): Use ALL_RM_TEST.
19503         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19504         tests of tgamma with spurious-overflow.
19505         * math/auto-libm-test-out: Regenerated.
19506         * math/gen-libm-have-vector-test.sh: Do not check for START.
19507         * sysdeps/i386/fpu/libm-test-ulps: Update.
19508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19510         [BZ #18612]
19511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19512         arguments, just return 0.5 times the argument, with underflow
19513         forced as needed.
19514         * math/auto-libm-test-in: Add more tests of j1.
19515         * math/auto-libm-test-out: Regenerated.
19517         [BZ #16559]
19518         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19519         (__ieee754_j1): Force underflow exception for small results.
19520         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19521         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19522         (__ieee754_j1f): Force underflow exception for small results.
19523         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19524         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19526         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19527         (__ieee754_j1l): Force underflow exception for small results.
19528         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19529         * math/auto-libm-test-in: Add more tests of j1 and jn.
19530         * math/auto-libm-test-out: Regenerated.
19532         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19533         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19534         (PF_MPLS): Likewise.
19535         (AF_IB): Likewise.
19536         (AF_MPLS): Likewise.
19537         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19538         value and macro.
19539         (MS_RMT_MASK): Include MS_LAZYTIME.
19541 2015-06-26  Mel Gorman  <mgorman@suse.de>
19543         [BZ #18502]
19544         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19545         already minimal.
19547 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19549         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19550         (DT_MIPS_NUM): Update.
19551         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19552         DT_MIPS_RLD_MAP_REL.
19554 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19556         [BZ #16559]
19557         [BZ #18602]
19558         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19559         round-to-nearest internally then recompute results that
19560         underflowed to zero in the original rounding mode.
19561         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19562         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19565         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19566         * sysdeps/i386/fpu/libm-test-ulps: Update.
19567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19569 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19571         * NEWS: Fixed description of link with vector math library.
19573 2015-06-25  Andreas Schwab  <schwab@suse.de>
19575         [BZ #18549]
19576         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19577         * libio/test-fmemopen.c (do_test): Add test for it.
19579 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19581         [BZ #17841]
19582         * Makeconfig (no-pie-ldflag): New.
19583         (+link): Set to $(+link-pie) if default to PIE.
19584         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19585         * config.make.in (build-pie-default): New.
19586         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19587         is default.  AC_SUBST.
19588         * configure: Regenerated.
19589         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19591 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19593         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19594         to 'unsigned int'.
19596         * resolv/gai_misc.h (struct waitlist): Change type of field
19597         counterp to 'volatile unsigned int *'.
19598         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19599         FUTEXADDR and OLDVAL.
19600         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19601         Give local variable TOTAL type 'volatile unsigned int'.
19602         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19603         * resolv/gai_suspend.c (gai_suspend):
19604         Give local variable CNTR type 'unsigned int'.
19606         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19607         counterp to 'volatile unsigned int *'.
19608         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19609         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19610         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19611         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19612         Give local variable TOTAL type 'volatile unsigned int'.
19613         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19615 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19617         [BZ #18383]
19618         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19619         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19620         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19621         comment for i386/x86-64.
19622         (test-xfail-tst-tlsalign-extern-static): Removed.
19624 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19626         * math/test-double.h: New file.
19627         * math/test-float.h: Likewise.
19628         * math/test-ldouble.h: Likewise.
19629         * math/test-math-inline.h: Likewise.
19630         * math/test-math-no-inline.h: Likewise.
19631         * math/test-math-scalar.h: Likewise.
19632         * math/test-math-vector.h: Likewise.
19633         * math/test-vec-loop.h: Remove file.  Contents moved into
19634         test-math-vector.h.
19635         * math/libm-test.inc (MATHCONST): Do not document macro.
19636         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19637         and test-math-scalar.h.
19638         (FUNC): Remove macro.
19639         (FUNC_TEST): Likewise.
19640         (FLOAT): Likewise.
19641         (MATHCONST): Likewise.
19642         (PRINTF_EXPR): Likewise.
19643         (PRINTF_XEXPR): Likewise.
19644         (PRINTF_NEXPR): Likewise.
19645         (TEST_DOUBLE): Likewise.
19646         (TEST_MATHVEC): Likewise.
19647         (__NO_MATH_INLINES): Likewise.
19648         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19649         and test-math-scalar.h.
19650         (FUNC): Remove macro.
19651         (FUNC_TEST): Likewise.
19652         (FLOAT): Likewise.
19653         (MATHCONST): Likewise.
19654         (PRINTF_EXPR): Likewise.
19655         (PRINTF_XEXPR): Likewise.
19656         (PRINTF_NEXPR): Likewise.
19657         (TEST_FLOAT): Likewise.
19658         (TEST_MATHVEC): Likewise.
19659         (__NO_MATH_INLINES): Likewise.
19660         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19661         and test-math-scalar.h.
19662         (FUNC): Remove macro.
19663         (FUNC_TEST): Likewise.
19664         (FLOAT): Likewise.
19665         (MATHCONST): Likewise.
19666         (PRINTF_EXPR): Likewise.
19667         (PRINTF_XEXPR): Likewise.
19668         (PRINTF_NEXPR): Likewise.
19669         (TEST_DOUBLE): Likewise.
19670         (TEST_MATHVEC): Likewise.
19671         (TEST_INLINE): Likewise.
19672         (__NO_MATH_INLINES): Likewise.
19673         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19674         test-math-scalar.h.
19675         (FUNC): Remove macro.
19676         (FUNC_TEST): Likewise.
19677         (FLOAT): Likewise.
19678         (MATHCONST): Likewise.
19679         (PRINTF_EXPR): Likewise.
19680         (PRINTF_XEXPR): Likewise.
19681         (PRINTF_NEXPR): Likewise.
19682         (TEST_FLOAT): Likewise.
19683         (TEST_MATHVEC): Likewise.
19684         (TEST_INLINE): Likewise.
19685         (__NO_MATH_INLINES): Likewise.
19686         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19687         and test-math-scalar.h.
19688         (FUNC): Remove macro.
19689         (FUNC_TEST): Likewise.
19690         (FLOAT): Likewise.
19691         (MATHCONST): Likewise.
19692         (PRINTF_EXPR): Likewise.
19693         (PRINTF_XEXPR): Likewise.
19694         (PRINTF_NEXPR): Likewise.
19695         (TEST_LDOUBLE): Likewise.
19696         (TEST_MATHVEC): Likewise.
19697         (TEST_INLINE): Likewise.
19698         (__NO_MATH_INLINES): Likewise.
19699         * math/test-ldouble.c: Include test-ldouble.h,
19700         test-math-no-inline.h and test-math-scalar.h.
19701         (FUNC): Remove macro.
19702         (FUNC_TEST): Likewise.
19703         (FLOAT): Likewise.
19704         (MATHCONST): Likewise.
19705         (PRINTF_EXPR): Likewise.
19706         (PRINTF_XEXPR): Likewise.
19707         (PRINTF_NEXPR): Likewise.
19708         (TEST_LDOUBLE): Likewise.
19709         (TEST_MATHVEC): Likewise.
19710         (__NO_MATH_INLINES): Likewise.
19711         * math/test-double-vlen2.h: Include test-double.h,
19712         test-math-no-inline.h and test-math-vector.h.
19713         (FLOAT): Remove macro.
19714         (FUNC): Likewise.
19715         (MATHCONST): Likewise.
19716         (PRINTF_EXPR): Likewise.
19717         (PRINTF_XEXPR): Likewise.
19718         (PRINTF_NEXPR): Likewise.
19719         (TEST_DOUBLE): Likewise.
19720         (TEST_MATHVEC): Likewise.
19721         (__NO_MATH_INLINES): Likewise.
19722         (CNCT): Likewise.
19723         (CONCAT): Likewise.
19724         (WRAPPER_NAME): Likewise.
19725         (WRAPPER_DECL): Likewise.
19726         (WRAPPER_DECL_ff): Likewise.
19727         (WRAPPER_DECL_fFF): Likewise.
19728         (VECTOR_WRAPPER): Likewise.
19729         (VECTOR_WRAPPER_ff): Likewise.
19730         (VECTOR_WRAPPER_fFF): Likewise.
19731         (VEC_LEN): New macro.
19732         * math/test-double-vlen4.h: Include test-double.h,
19733         test-math-no-inline.h and test-math-vector.h.
19734         (FLOAT): Remove macro.
19735         (FUNC): Likewise.
19736         (MATHCONST): Likewise.
19737         (PRINTF_EXPR): Likewise.
19738         (PRINTF_XEXPR): Likewise.
19739         (PRINTF_NEXPR): Likewise.
19740         (TEST_DOUBLE): Likewise.
19741         (TEST_MATHVEC): Likewise.
19742         (__NO_MATH_INLINES): Likewise.
19743         (CNCT): Likewise.
19744         (CONCAT): Likewise.
19745         (WRAPPER_NAME): Likewise.
19746         (WRAPPER_DECL): Likewise.
19747         (WRAPPER_DECL_ff): Likewise.
19748         (WRAPPER_DECL_fFF): Likewise.
19749         (VECTOR_WRAPPER): Likewise.
19750         (VECTOR_WRAPPER_ff): Likewise.
19751         (VECTOR_WRAPPER_fFF): Likewise.
19752         (VEC_LEN): New macro.
19753         * math/test-double-vlen8.h: Include test-double.h,
19754         test-math-no-inline.h and test-math-vector.h.
19755         (FLOAT): Remove macro.
19756         (FUNC): Likewise.
19757         (MATHCONST): Likewise.
19758         (PRINTF_EXPR): Likewise.
19759         (PRINTF_XEXPR): Likewise.
19760         (PRINTF_NEXPR): Likewise.
19761         (TEST_DOUBLE): Likewise.
19762         (TEST_MATHVEC): Likewise.
19763         (__NO_MATH_INLINES): Likewise.
19764         (CNCT): Likewise.
19765         (CONCAT): Likewise.
19766         (WRAPPER_NAME): Likewise.
19767         (WRAPPER_DECL): Likewise.
19768         (WRAPPER_DECL_ff): Likewise.
19769         (WRAPPER_DECL_fFF): Likewise.
19770         (VECTOR_WRAPPER): Likewise.
19771         (VECTOR_WRAPPER_ff): Likewise.
19772         (VECTOR_WRAPPER_fFF): Likewise.
19773         (VEC_LEN): New macro.
19774         * math/test-float-vlen4.h: Include test-float.h,
19775         test-math-no-inline.h and test-math-vector.h.
19776         (FLOAT): Remove macro.
19777         (FUNC): Likewise.
19778         (MATHCONST): Likewise.
19779         (PRINTF_EXPR): Likewise.
19780         (PRINTF_XEXPR): Likewise.
19781         (PRINTF_NEXPR): Likewise.
19782         (TEST_FLOAT): Likewise.
19783         (TEST_MATHVEC): Likewise.
19784         (__NO_MATH_INLINES): Likewise.
19785         (CNCT): Likewise.
19786         (CONCAT): Likewise.
19787         (WRAPPER_NAME): Likewise.
19788         (WRAPPER_DECL): Likewise.
19789         (WRAPPER_DECL_ff): Likewise.
19790         (WRAPPER_DECL_fFF): Likewise.
19791         (VECTOR_WRAPPER): Likewise.
19792         (VECTOR_WRAPPER_ff): Likewise.
19793         (VECTOR_WRAPPER_fFF): Likewise.
19794         (VEC_LEN): New macro.
19795         * math/test-float-vlen8.h: Include test-float.h,
19796         test-math-no-inline.h and test-math-vector.h.
19797         (FLOAT): Remove macro.
19798         (FUNC): Likewise.
19799         (MATHCONST): Likewise.
19800         (PRINTF_EXPR): Likewise.
19801         (PRINTF_XEXPR): Likewise.
19802         (PRINTF_NEXPR): Likewise.
19803         (TEST_FLOAT): Likewise.
19804         (TEST_MATHVEC): Likewise.
19805         (__NO_MATH_INLINES): Likewise.
19806         (CNCT): Likewise.
19807         (CONCAT): Likewise.
19808         (WRAPPER_NAME): Likewise.
19809         (WRAPPER_DECL): Likewise.
19810         (WRAPPER_DECL_ff): Likewise.
19811         (WRAPPER_DECL_fFF): Likewise.
19812         (VECTOR_WRAPPER): Likewise.
19813         (VECTOR_WRAPPER_ff): Likewise.
19814         (VECTOR_WRAPPER_fFF): Likewise.
19815         (VEC_LEN): New macro.
19816         * math/test-float-vlen16.h: Include test-float.h,
19817         test-math-no-inline.h and test-math-vector.h.
19818         (FLOAT): Remove macro.
19819         (FUNC): Likewise.
19820         (MATHCONST): Likewise.
19821         (PRINTF_EXPR): Likewise.
19822         (PRINTF_XEXPR): Likewise.
19823         (PRINTF_NEXPR): Likewise.
19824         (TEST_FLOAT): Likewise.
19825         (TEST_MATHVEC): Likewise.
19826         (__NO_MATH_INLINES): Likewise.
19827         (CNCT): Likewise.
19828         (CONCAT): Likewise.
19829         (WRAPPER_NAME): Likewise.
19830         (WRAPPER_DECL): Likewise.
19831         (WRAPPER_DECL_ff): Likewise.
19832         (WRAPPER_DECL_fFF): Likewise.
19833         (VECTOR_WRAPPER): Likewise.
19834         (VECTOR_WRAPPER_ff): Likewise.
19835         (VECTOR_WRAPPER_fFF): Likewise.
19836         (VEC_LEN): New macro.
19837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19838         test-vec-loop.h.
19839         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19841         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19843         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19845         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19847 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19849         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19850         (__getlogin_r): ... this.
19852 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19854         [BZ #18594]
19855         * math/s_ccosh.c (__ccosh): Compare with least normal value
19856         instead of comparing class with FP_SUBNORMAL.
19857         * math/s_ccoshf.c (__ccoshf): Likewise.
19858         * math/s_ccoshl.c (__ccoshl): Likewise.
19859         * math/s_cexp.c (__cexp): Likewise.
19860         * math/s_cexpf.c (__cexpf): Likewise.
19861         * math/s_cexpl.c (__cexpl): Likewise.
19862         * math/s_csin.c (__csin): Likewise.
19863         * math/s_csinf.c (__csinf): Likewise.
19864         * math/s_csinh.c (__csinh): Likewise.
19865         * math/s_csinhf.c (__csinhf): Likewise.
19866         * math/s_csinhl.c (__csinhl): Likewise.
19867         * math/s_csinl.c (__csinl): Likewise.
19868         * math/s_ctan.c (__ctan): Likewise.
19869         * math/s_ctanf.c (__ctanf): Likewise.
19870         * math/s_ctanh.c (__ctanh): Likewise.
19871         * math/s_ctanhf.c (__ctanhf): Likewise.
19872         * math/s_ctanhl.c (__ctanhl): Likewise.
19873         * math/s_ctanl.c (__ctanl): Likewise.
19874         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19875         csin, csinh, ctan and ctanh.
19876         * math/auto-libm-test-out: Regenerated.
19877         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19878         * sysdeps/i386/fpu/libm-test-ulps: Update.
19879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19883         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19884         return value is wrong, print the expected value too.
19886 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19888         [BZ #18585]
19889         * elf/readlib.c (is_gdb_python_file): New.
19890         (process_file): Don't issue errors on filenames with -gdb.py
19891         suffix.
19893 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19895         * math/auto-libm-test-in: Add more tests of csin and csinh.
19896         * math/auto-libm-test-out: Regenerated.
19897         * math/libm-test.inc (csin_test_data): Remove tests moved to
19898         auto-libm-test-in.
19899         (csinh_test_data): Likewise.
19901         [BZ #18593]
19902         * math/s_csin.c (__csin): Negate before rather than after possibly
19903         overflowing multiplication.
19904         * math/s_csinf.c (__csinf): Likewise.
19905         * math/s_csinh.c (__csinh): Likewise.
19906         * math/s_csinhf.c (__csinhf): Likewise.
19907         * math/s_csinhl.c (__csinhl): Likewise.
19908         * math/s_csinl.c (__csinl): Likewise.
19909         * math/auto-libm-test-in: Add some tests of csin and csinh.
19910         * math/auto-libm-test-out: Regenerated.
19911         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19912         (csinh_test_data): Likewise.
19913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19915         [BZ #18586]
19916         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19917         underflow exception for small results.
19919 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19921         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19923         variable and included header.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19926         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19930         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19931         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19932         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19933         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19934         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19935         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19936         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19937         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19938         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19939         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19941 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19943         [BZ #16526]
19944         [BZ #16538]
19945         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19946         (__sin): Force underflow exception for arguments with small
19947         absolute value.
19948         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19949         (__kernel_sinf): Force underflow exception for arguments with
19950         small absolute value.
19951         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19952         (__kernel_sincosl): Force underflow exception for arguments with
19953         small absolute value.
19954         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19955         (__kernel_sinl): Force underflow exception for arguments with
19956         small absolute value.
19957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19958         (__kernel_sincosl): Force underflow exception for arguments with
19959         small absolute value.
19960         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19961         (__kernel_sinl): Force underflow exception for arguments with
19962         small absolute value.
19963         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19964         (__kernel_sinl): Force underflow exception for arguments with
19965         small absolute value.
19966         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19967         (__kernel_sinf): Force underflow exception for arguments with
19968         small absolute value.
19969         * math/auto-libm-test-in: Add more tests of sin and sincos.
19970         * math/auto-libm-test-out: Regenerated.
19972         [BZ #18245]
19973         [BZ #18583]
19974         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19975         (__kernel_standard_l): Use feholdexcept and fesetenv around
19976         conversion to double instead of special-casing overflow and
19977         underflow.
19978         * math/libm-test.inc (fmod_test_data): Add more tests.
19979         (remainder_test_data): Likewise.
19980         (sqrt_test_data): Likewise.
19982 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19984         [BZ #17403]
19985         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19986         atomic_read_barrier, atomic_write_barrier): Define.
19987         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19988         atomic_read_barrier, atomic_write_barrier): Define.
19990 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19992         * math/Makefile [$(PERL) != no]
19993         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19994         dependency on libm-test.stmp below the inclusion of Rules.
19996 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20000         and included header.
20001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20009         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20010         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20011         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20012         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20013         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20014         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20015         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20016         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20017         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20018         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20019         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20021 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20023         [BZ #18371]
20024         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20025         intermediate but not final result might underflow.
20026         * math/s_csqrtf.c (__csqrtf): Likewise.
20027         * math/s_csqrtl.c (__csqrtl): Likewise.
20028         * math/auto-libm-test-in: Add more tests of csqrt.
20029         * math/auto-libm-test-out: Regenerated.
20030         * sysdeps/i386/fpu/libm-test-ulps: Update.
20032         [BZ #18219]
20033         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20034         threshold on absolute value of exponent for which scaling is used.
20035         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20036         * math/auto-libm-test-in: Add more tests of exp2.
20037         * math/auto-libm-test-out: Regenerated.
20039 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20041         [BZ #17977]
20042         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20043         when initializing interface list, based on the bug analysis
20044         and the patch proposed by Eric Newton.
20045         * resolv/tst-res_hconf_reorder.c: New test.
20046         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20047         tst-res_hconf_reorder.
20048         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20049         and $(shared-thread-library).
20050         (tst-res_hconf_reorder-ENV): New variable.
20052         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20053         in comment.
20055 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20057         [BZ #16353]
20058         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20059         (__expm1): Force underflow exception for arguments with small
20060         absolute value.
20061         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20062         (__expm1f): Force underflow exception for arguments with small
20063         absolute value.
20064         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20065         (__expm1): Force underflow exception for arguments with small
20066         absolute value.
20067         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20068         (__expm1f): Force underflow exception for arguments with small
20069         absolute value.
20070         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20071         Check for small arguments before calling __expm1.
20072         * math/auto-libm-test-in: Do not mark underflow exceptions as
20073         possibly missing for bug 16353.
20074         * math/auto-libm-test-out: Regenerated.
20076 2015-06-22  Andreas Schwab  <schwab@suse.de>
20078         [BZ #18513]
20079         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20080         PTR queries.
20082 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20084         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20086         * string/strcoll_l.c: Remove unused struct element idxnow.
20088 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #18569]
20091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20092         underflow and return argument in case of subnormal argument.
20093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20094         Likewise.
20095         * math/auto-libm-test-in: Add more tests of expm1.
20096         * math/auto-libm-test-out: Regenerated.
20098         [BZ #16361]
20099         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20100         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20101         tiny results.
20102         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20103         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20104         tiny results.
20105         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20106         mark underflow exceptions as possibly missing for bug 16361.
20107         * math/auto-libm-test-out: Regenerated.
20109 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20111         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20112         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20113         Remove variable.
20114         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20115         (test-xfail-XOPEN2K8/utmpx.h/conform).
20117         * conform/conformtest.pl ($xerrors): New variable.
20118         (note_error): New function.
20119         (compiletest): New argument $xfail.  Use not_error.
20120         (runtest): Likewise.
20121         (top level): Handle xfail- lines.  Update calls to compiletest and
20122         runtest.  Handle xfail- and optional- in headers listed with
20123         allow-header.
20124         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20125         (O_EXEC): Likewise.
20126         (O_SEARCH): Likewise.
20127         * conform/data/stropts.h-data (ioctl): Likewise.
20128         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20129         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20130         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20131         (msghdr.msg_controllen): Likewise.
20132         (cmsghdr.cmsg_len): Likewise.
20133         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20134         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20135         variable.
20136         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20137         (test-xfail-XPG4/stropts.h/conform): Likewise.
20138         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20139         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20140         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20141         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20142         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20143         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20144         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20145         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20146         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20147         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20148         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20149         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20150         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20151         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20152         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20153         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20154         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20155         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20156         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20158 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20160         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20161         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20162         definitions for proper unfolding of __MATHDECL_VEC.
20164 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20166         * benchtests/bench-strcoll.c:
20167         Include string.h.
20168         (main): Remove unused variable res.
20170 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20172         * timezone/Makefile (%/UTC %/Universal):
20173         Generate test-result files for UTC and Universal.
20175 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20177         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20179 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20181         [BZ #16350]
20182         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20183         for arguments with small absolute value.
20184         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20185         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20186         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20187         (__asinh): Force underflow exception for arguments with small
20188         absolute value.
20189         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20190         (__asinhf): Force underflow exception for arguments with small
20191         absolute value.
20192         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20193         (__asinhl): Force underflow exception for arguments with small
20194         absolute value.
20195         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20196         (__asinhl): Force underflow exception for arguments with small
20197         absolute value.
20198         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20199         (__asinhl): Force underflow exception for arguments with small
20200         absolute value.
20201         * math/auto-libm-test-in: Do not mark underflow exceptions as
20202         possibly missing for bug 16350.
20203         * math/auto-libm-test-out: Regenerated.
20205         * include/bits/ipc.h: Remove file.
20206         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20207         variable.
20208         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20209         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20210         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20211         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20212         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20213         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20214         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20215         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20216         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20218         * math/auto-libm-test-in: Remove spurious underflow allowance for
20219         tests of cexp.
20220         * math/auto-libm-test-out: Regenerated.
20222         [BZ #18558]
20223         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20224         unconditional definition.
20225         (MCAST_BLOCK_SOURCE): Likewise.
20226         (MCAST_UNBLOCK_SOURCE): Likewise.
20227         (MCAST_LEAVE_GROUP): Likewise.
20228         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20229         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20230         (MCAST_MSFILTER): Likewise.
20231         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20232         Remove variable.
20233         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20234         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20235         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20236         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20237         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20239 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20241         * NEWS: Mention addition of x86_64 vector sincosf.
20242         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20243         * math/test-float-vlen4.h: Likewise.
20244         * math/test-float-vlen8.h: Likewise.
20245         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20246         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20248         * sysdeps/x86_64/fpu/Versions: New versions added.
20249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20250         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20251         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20252         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20258         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20259         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20260         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20261         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20262         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20263         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20264         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20265         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20266         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20267         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20268         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20270         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20271         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20272         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20274         * NEWS: Mention addition of x86_64 vector sincos.
20275         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20276         * math/math.h (__MATHDECL_VEC): New macro.
20277         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20278         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20279         declaration under condition.
20280         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20281         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20282         TEST_VEC_LOOP change.
20283         * math/test-double-vlen4.h: Likewise.
20284         * math/test-double-vlen8.h: Likewise.
20285         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20286         * math/test-float-vlen4.h: Likewise.
20287         * math/test-float-vlen8.h: Likewise.
20288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20289         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20291         * sysdeps/x86_64/fpu/Versions: New versions added.
20292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20294         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20296         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20301         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20302         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20303         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20304         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20305         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20306         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20307         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20308         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20309         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20311         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20312         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20313         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20314         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20315         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20318         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20319         redirections for powf.
20320         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20321         * sysdeps/x86_64/fpu/Versions: New versions added.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20324         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20325         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20326         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20327         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20330         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20332         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20333         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20334         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20335         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20336         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20337         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20338         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20339         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20340         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20341         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20343         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20344         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20345         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20346         * math/test-float-vlen16.h: Fixed 2 argument macro.
20347         * math/test-float-vlen4.h: Likewise.
20348         * math/test-float-vlen8.h: Likewise.
20349         * NEWS: Mention addition of x86_64 vector powf.
20351 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20353         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20354         and redefine.
20355         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20356         and redefine.
20357         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20358         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20359         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20361         [BZ #18553]
20362         * resource/getpriority.c (getpriority): Rename to __getpriority
20363         and define as weak alias of __getpriority.
20364         * resource/setpriority.c (setpriority): Rename to __setpriority
20365         and define as weak alias of __setpriority.
20366         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20367         __getpriority and define as weak alias of __getpriority.
20368         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20369         __setpriority and define as weak alias of __setpriority.
20370         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20371         strong name.
20372         (setpriority): Use __setpriority as strong name.
20373         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20374         __getpriority and define as weak alias of __getpriority.
20375         * include/sys/resource.h (__getpriority): Declare.  Use
20376         libc_hidden_proto.
20377         (__setpriority): Likewise.
20378         (getpriority): Don't use libc_hidden_proto.
20379         (setpriority): Likewise.
20380         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20381         getpriority.  Call __setpriority instead of setpriority.
20382         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20383         Remove variable.
20385         [BZ #18547]
20386         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20387         as weak alias of __getttynam.  Use prototype function definition.
20388         Call __setttyent, __getttyent and __endttyent instead of
20389         setttyent, getttyent and endttyent.
20390         (getttyent): Rename to __getttyent and define as weak alias of
20391         __getttyent.  Call __setttyent instead of setttyent.  Call
20392         __fgets_unlocked instead of fgets_unlocked.
20393         (setttyent): Rename to __setttyent and define as weak alias of
20394         __setttyent.
20395         (endttyent): Rename to __endttyent and define as weak alias of
20396         __endttyent.
20397         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20398         (__setttyent): Likewise.
20399         (__endttyent): Likewise.
20400         (getttyent): Don't use libc_hidden_proto.
20401         (setttyent): Likewise.
20402         (endttyent): Likewise.
20403         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20404         __endttyent instead of setttyent, getttyent and endttyent.
20405         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20406         Remove variable.
20408         [BZ #18546]
20409         * socket/recv.c (__recv): Use libc_hidden_def.
20410         * socket/socket.c (__socket): Likewise.
20411         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20412         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20413         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20414         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20415         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20416         libc_hidden_def.
20417         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20418         libc_hidden_weak.
20419         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20420         Use libc_hidden_proto.
20421         (__recv): Likewise.
20422         * socket/Versions (libc): Export __recv and __socket at version
20423         GLIBC_PRIVATE.
20424         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20425         instead of recv.
20426         (init_mq_netlink): Call __socket instead of socket.
20427         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20428         Remove variable.
20430         [BZ #18545]
20431         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20432         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20433         hidden_weak.
20434         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20435         define as alias of __mq_timedsend.  Use hidden_weak.
20436         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20437         __mq_timedsend as strong name.
20438         (mq_timedreceive): Use __mq_timedreceive as strong name.
20439         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20440         (__mq_timedreceive): Likewise.
20441         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20442         __mq_timedreceive instead of mq_timedreceive.
20443         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20444         instead of mq_timedsend.
20445         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20446         Remove variable.
20448         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20449         hidden_def and hidden_weak instead of libc_hidden_def and
20450         libc_hidden_weak.
20451         (top level): Refer to hidden_def in comment.
20452         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20453         macro.  Use it instead of libc_hidden_def.
20454         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20455         specify __GI_* name explicitly.
20456         (mq_timedreceive): Likewise.
20457         (mq_setattr): Likewise.
20459         [BZ #18544]
20460         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20461         __pthread_barrier_init and define as weak alias of
20462         __pthread_barrier_init.
20463         * sysdeps/sparc/nptl/pthread_barrier_init.c
20464         (pthread_barrier_init): Likewise.
20465         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20466         __pthread_barrier_wait and define as weak alias of
20467         __pthread_barrier_wait.
20468         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20469         (pthread_barrier_wait): Likewise.
20470         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20471         (pthread_barrier_wait): Likewise.
20472         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20473         (pthread_barrier_wait): Likewise.
20474         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20475         (pthread_barrier_wait): Likewise.
20476         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20477         __pthread_barrier_wait at version GLIBC_PRIVATE.
20478         * include/pthread.h (__pthread_barrier_init): Declare.
20479         (__pthread_barrier_wait): Likewise.
20480         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20481         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20482         (helper_thread): Likewise.
20483         (init_mq_netlink): Call __pthread_barrier_init instead of
20484         pthread_barrier_init.
20486         [BZ #18542]
20487         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20488         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20489         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20490         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20491         vswscanf.
20492         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20493         Remove variable.
20495         [BZ #18540]
20496         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20497         strong alias of _IO_fflush.  Use libc_hidden_def.
20498         * libio/iofflush_u.c (fflush_unlocked): Rename to
20499         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20500         Use libc_hidden_weak.
20501         * include/stdio.h (__fflush_unlocked): Declare.  Use
20502         libc_hidden_proto.
20503         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20504         fflush_unlocked.
20505         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20506         Remove variable.
20508         [BZ #18539]
20509         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20510         define as weak alias of __addseverity.
20511         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20512         Remove variable.
20513         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20514         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20515         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20517         [BZ #18536]
20518         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20519         (__tfind): Likewise.
20520         (__tdelete): Likewise.
20521         (__twalk): Likewise.
20522         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20523         __twalk to GLIBC_PRIVATE.
20524         * include/search.h (__tsearch): Use libc_hidden_proto.
20525         (__tfind): Likewise.
20526         (__tdelete): Likewise.
20527         (__twalk): Likewise.
20528         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20529         Call __tdelete instead of tdelete.
20530         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20531         tfind.  Call __tsearch instead of tsearch.
20532         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20533         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20534         Remove variable.
20535         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20537         [BZ #18534]
20538         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20539         (dprintf): Define as a weak alias of __dprintf, not a strong
20540         alias.
20541         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20542         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20543         dprintf.
20544         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20545         Remove variable.
20546         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20547         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20549         [BZ #18533]
20550         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20551         not a strong alias.
20552         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20553         Remove variable.
20555         [BZ #18532]
20556         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20557         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20558         (in6addr_loopback): Rename to __in6addr_loopback and define as
20559         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20560         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20561         libc_hidden_proto.
20562         (__in6addr_any): Likewise.
20563         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20564         in6addr_any.
20565         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20566         variable.
20567         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20569 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20571         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20572         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20573         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20574         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20575         redirections for pow.
20576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20577         * sysdeps/x86_64/fpu/Versions: New versions added.
20578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20579         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20580         build of SSE, AVX2 and AVX512 IFUNC versions.
20581         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20582         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20584         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20586         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20588         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20589         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20590         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20591         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20592         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20593         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20594         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20595         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20598         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20599         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20600         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20601         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20602         * NEWS: Mention addition of x86_64 vector pow.
20604         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20605         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20606         redirections for expf.
20607         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20608         * sysdeps/x86_64/fpu/Versions: New versions added.
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20610         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20611         build of SSE, AVX2 and AVX512 IFUNC versions.
20612         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20618         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20619         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20620         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20621         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20622         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20623         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20624         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20625         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20626         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20627         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20630         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20631         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20632         * NEWS: Mention addition of x86_64 vector expf.
20634         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20635         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20638         redirections for exp.
20639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20640         * sysdeps/x86_64/fpu/Versions: New versions added.
20641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20643         build of SSE, AVX2 and AVX512 IFUNC versions.
20644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20650         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20651         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20652         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20653         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20654         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20655         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20657         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20660         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20661         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20662         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20663         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20664         * NEWS: Mention addition of x86_64 vector exp.
20666         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20667         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20668         redirections for logf.
20669         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20670         * sysdeps/x86_64/fpu/Versions: New versions added.
20671         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20672         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20673         build of SSE, AVX2 and AVX512 IFUNC versions.
20674         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20675         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20676         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20678         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20679         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20680         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20681         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20682         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20683         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20684         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20685         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20686         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20687         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20689         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20692         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20693         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20694         * NEWS: Mention addition of x86_64 vector logf.
20696         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20697         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20698         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20699         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20700         redirections for log.
20701         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20702         * sysdeps/x86_64/fpu/Versions: New versions added.
20703         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20705         build of SSE, AVX2 and AVX512 IFUNC versions.
20706         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20707         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20708         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20709         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20710         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20711         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20712         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20713         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20714         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20715         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20716         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20717         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20718         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20719         test.
20720         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20722         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20723         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20724         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20725         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20726         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20727         * NEWS: Mention addition of x86_64 vector log.
20729 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20731         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20732         cfi_adjust_cfa_offset argument.
20733         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20734         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20736         [BZ #18034]
20737         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20738         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20739         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20740         ordering using ldar.
20741         (_dl_tlsdesc_dynamic): Likewise.
20742         (_dl_tlsdesc_return_lazy): Likewise.
20743         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20744         relaxed atomics instead of volatile and synchronize with release store.
20745         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20746         volatile.
20747         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20749 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20751         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20752         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20754         * sysdeps/x86_64/fpu/Versions: New versions added.
20755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20757         build of SSE, AVX2 and AVX512 IFUNC versions.
20758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20759         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20761         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20764         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20765         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20766         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20767         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20768         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20769         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20770         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20771         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20772         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20773         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20774         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20775         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20776         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20777         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20778         * NEWS: Mention addition of x86_64 vector sinf.
20780 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20782         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20783         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20784         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20785         Remove variable.
20786         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20787         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20789 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20791         [BZ #18530]
20792         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20793         strong alias of _IO_fputs.  Use libc_hidden_def.
20794         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20795         and define as weak alias of __fputs_unlocked.  Use
20796         libc_hidden_weak.
20797         * include/stdio.h (__fputs_unlocked): Declare.  Use
20798         libc_hidden_proto.
20799         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20800         fputs_unlocked.
20802         [BZ #18529]
20803         * resolv/netdb.h [__USE_POSIX]: Change condition to
20804         [__USE_XOPEN2K].
20805         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20806         not expect.
20807         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20808         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20809         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20810         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20811         [XPG4 || UNIX98] (AI_ALL): Likewise.
20812         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20813         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20814         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20815         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20816         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20817         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20818         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20819         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20820         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20821         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20822         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20823         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20824         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20825         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20826         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20827         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20828         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20829         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20830         [XPG4 || UNIX98] (gai_strerror): Likewise.
20831         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20832         [XPG4 || UNIX98] (getnameinfo): Likewise.
20834         [BZ #18528]
20835         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20836         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20837         __USE_XOPEN2K8].
20838         (getgrent): Likewise.
20839         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20840         expect.
20841         [XPG3 || POSIX2008] (endgrent): Likewise.
20842         [XPG3] (setgrent): Likewise.
20843         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20844         variable.
20845         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20847         [BZ #18527]
20848         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20849         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20850         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20851         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20852         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20853         * include/unistd.h (__getlogin_r): Declare.  Use
20854         libc_hidden_proto.
20855         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20856         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20857         variable.
20858         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20859         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20860         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20862 2015-06-12  Martin Sebor  <msebor@redhat.com>
20864         [BZ #18512]
20865         * Makerules (check-install-supported): New target.
20866         (install): Add check-install-supported as a dependency.
20867         * manual/install.texi (Installing the C Library): Document
20868         that overriding prefix and exec_prefix is not supported.
20869         Mention DESTDIR.
20870         * INSTALL: Regenerate from the above.
20872 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20874         [BZ #18519]
20875         * posix/Versions (libc): Export __libc_pread at version
20876         GLIBC_PRIVATE.
20877         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20878         instead of pread.
20879         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20880         variable.
20882         [BZ #18522]
20883         * misc/efgcvt_r.c
20884         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20885         (cvt_symbol): Use weak_alias instead of strong_alias.
20886         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20887         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20888         Remove variable.
20889         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20890         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20892         [BZ #18520]
20893         * inet/herrno.c (h_errno): Rename to __h_errno.
20894         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20895         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20896         to __h_errno instead of h_errno.
20897         * nptl/herrno.c (h_errno): Rename to __h_errno.
20898         (__h_errno_location): Refer to __h_errno not h_errno.
20899         * resolv/Versions (h_errno): Rename to __h_errno.
20900         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20901         Remove variable.
20902         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20904 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20906         * configure.ac: More strict check for AVX512 assembler support.
20907         * configure: Regenerated.
20909         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20910         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20912         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20914         * sysdeps/x86_64/fpu/Versions: New versions added.
20915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20916         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20917         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20924         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20925         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20926         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20927         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20928         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20929         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20930         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20931         test.
20932         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20933         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20935         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20936         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20937         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20938         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20939         * NEWS: Mention addition of x86_64 vector sin.
20941 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20943         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20944         comment.
20946 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20948         [BZ #18479]
20949         * nptl/pt-interp.c: New file.
20950         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20951         Add pt-interp.
20952         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20953         $(common-objpfx)runtime-linker.h.
20955 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20957         * Makeconfig (+interp): Remove unused variable.
20958         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20959         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20960         $(elf-objpfx)runtime-linker.h.
20961         ($(elf-objpfx)runtime-linker.h): Rename to
20962         $(common-objpfx)runtime-linker.h and move ...
20963         * Makerules [$(build-shared) = yes]: ... here.
20964         * elf/interp.c: Include <runtime-linker.h> instead of
20965         <elf/runtime-linker.h>.
20967 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20969         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20970         (__gettimeofday_syscall): Remove vsyscall fallback.
20971         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20972         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20973         Add syscall fallback function.
20974         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20975         if vDSO is not present.
20976         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20977         fallback function.
20978         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20979         present.
20980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20981         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20983 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20985         [BZ #18497]
20986         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20987         of wcscmp.
20988         (wcscmp): Define as weak alias of WCSCMP.
20989         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20990         wcscoll.
20991         (USE_HIDDEN_DEF): Define.
20992         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20993         __wcscoll.  Don't use libc_hidden_weak.
20994         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20995         wcscmp.
20996         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20997         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20998         __GI_wcscmp.
20999         (weak_alias): Undefine and redefine.
21000         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21001         __wcscmp and define as weak alias of __wcscmp.
21002         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21003         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21004         (__wcscoll): Likewise.
21005         (wcscmp): Don't use libc_hidden_proto.
21006         (wcscoll): Likewise.
21007         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21008         wcscoll.
21009         * posix/regexec.c (check_node_accept_bytes): Likewise.
21010         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21011         variable.
21012         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21013         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21015         [BZ #18507]
21016         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21017         __fstatvfs and define as weak alias of __fstatvfs.  Use
21018         libc_hidden_weak.
21019         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21020         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21021         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21022         Define as alias of __fstatvfs, not fstatvfs.
21023         (fstatvfs64): Likewise.
21024         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21025         Define as alias of __statvfs, not statvfs.
21026         (statvfs64): Likewise.
21027         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21028         Remove variable.
21030 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21033         (HAVE_GETCPU_VSYSCALL): Define.
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21035         (HAVE_GETCPU_VSYSCALL): Likewise.
21036         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21037         * sysdeps/unix/sysv/linux/sched_getcpu.c
21038         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21039         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21040         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21041         prototype.
21042         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21043         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21044         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21046         Define.
21047         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21048         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21050         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21052 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21054         * sysdeps/x86_64/fpu/Makefile: New file.
21055         * sysdeps/x86_64/fpu/Versions: New file.
21056         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21057         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21058         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21059         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21060         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21061         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21062         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21063         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21070         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21071         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21072         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21073         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21074         * sysdeps/x86_64/configure: Regenerated.
21075         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21076         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21077         * manual/install.texi (Configuring and compiling): Document
21078         --disable-mathvec.
21079         * INSTALL: Regenerated.
21080         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21082         * math/Makefile: Added rules for vector tests.
21083         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21084         declaration under condition.
21085         * math/test-double-vlen2.h: New file.
21086         * math/test-double-vlen4.h: New file.
21087         * math/test-double-vlen8.h: New file.
21088         * math/test-vec-loop.h: Added initialization macro.
21089         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21091         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21092         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21093         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21096         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21097         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21098         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21099         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21102         * sysdeps/x86_64/fpu/Versions: New versions added.
21103         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21104         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21106         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21107         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21108         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21110         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21113         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21114         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21115         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21120         * NEWS: Mention addition of x86_64 vector cosf.
21122         * math/Makefile: Added CFLAGS for new tests.
21123         * math/test-float-vlen16.h: New file.
21124         * math/test-float-vlen4.h: New file.
21125         * math/test-float-vlen8.h: New file.
21126         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21127         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21129         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21130         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21131         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21132         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21134         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21135         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21136         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21138 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21140         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21141         * locale/programs/ld-ctype.c: Likewise.
21143 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21145         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21146         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21147         bit_ZMM16_31_state): New macro.
21148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21149         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21151 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21153         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21155 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21157         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21159 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21161         [BZ #18498]
21162         * libio/memstream.c (open_memstream): Rename to __open_memstream
21163         and define as weak alias of __open_memstream.
21164         * include/stdio.h (__open_memstream): Declare.  Use
21165         libc_hidden_proto.
21166         (open_memstream): Don't use libc_hidden_proto.
21167         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21168         open_memstream.
21169         * posix/getopt.c (_getopt_internal_r): Likewise.
21170         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21171         variable.
21172         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21173         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21174         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21176         [BZ #18496]
21177         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21178         instead of wcrtomb.
21180         [BZ #18483]
21181         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21182         [__USE_XOPEN2K8].  Remove redundant #endif.
21183         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21184         Remove redundant #if.
21185         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21186         Remove variable.
21187         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21188         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21190         [BZ #18495]
21191         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21192         (__iswlower): Likewise.
21193         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21194         (__iswlower): Likewise.
21195         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21196         instead of towlower.
21197         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21198         instead of iswlower.  Call __towupper instead of towupper.
21199         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21200         instead of iswalnum.
21202 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21204         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21205         errors to stderr.
21207 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21209         [BZ #15661]
21210         [BZ #17322]
21211         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21212         Check for overflow properly.  Check for O_APPEND.  Ignore large
21213         file system block sizes.  Add comments about problems.
21214         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21215         * manual/filesys.texi (Storage Allocation): New node.
21217 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21219         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21220         cancellable syscalls.
21221         (SYS_ify): Add guard to no redefine it.
21222         (INLINE_SYSCALL): Likewise.
21223         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21224         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21225         SYSCALL_CANCEL instead.
21226         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21227         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21228         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21229         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21230         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21231         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21232         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21233         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21234         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21235         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21236         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21237         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21238         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21239         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21240         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21242         Likewise.
21243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21244         (__libc_pread64): Likewise.
21245         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21246         (__libc_preadv): Likewise.
21247         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21248         (__libc_readv64): Likewise.
21249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21250         (__libc_pwrite): Likewise.
21251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21252         (__libc_pwrite64): Likewise.
21253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21254         (__libc_pwritev): Likewise.
21255         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21256         (__libc_pwritev64): Likewise.
21257         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21258         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21259         (sync_file_range): Likewise.
21260         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21263         Likewise.
21264         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21265         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21266         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21267         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21268         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21269         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21270         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21271         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21273         Likewise.
21274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21275         (__libc_read64): Likewise.
21276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21277         Likewise.
21278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21279         Likewise.
21280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21281         Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21283         Likewise.
21284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21285         (__libc_pread64): Likewise.
21286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21287         Likewise.
21288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21289         (__libc_pwrite64): Likewise.
21290         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21291         (sync_file_range): Likewise.
21292         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21293         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21294         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21295         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21296         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21297         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21298         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21299         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21300         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21301         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21302         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21303         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21304         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21305         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21306         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21307         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21308         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21309         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21310         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21311         Likewise.
21312         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21313         Likewise.
21314         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21315         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21316         Likewise.
21317         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21318         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21319         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21320         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21321         Likewise.
21322         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21323         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21324         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21325         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21326         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21328 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21330         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21331         Include dl-vdso.
21332         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21333         Use VDSO routines for gettimeofday, clock_gettime if
21334         available.
21335         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21336         Declare VDSO symbols.
21337         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21338         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21339         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21340         * sysdeps/unix/sysv/linux/arm/Versions: Add
21341         __vdso_clock_gettime.
21343 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21345         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21346         be an inline implementation regardless of library is built within.
21347         (open_not_cancel_2): Likewise.
21348         (__read_nocancel): Likewise.
21349         (__write_nocancel): Likewise.
21350         (openat_not_cancel): Likewise.
21351         (openat_not_cancel_3): Likewise.
21352         (openat64_not_cancel): Likewise.
21353         (openat64_not_cancel_3): Likewise.
21354         (__close_nocancel): Likewise.
21355         (pause_not_cancel): Likewise.
21356         (nanosleep_not_cancel): Likewise.
21357         (sigsuspend_not_cancel): Likewise.
21359 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21361         [BZ #14958]
21362         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21363         wake-up.
21364         (__pthread_rwlock_rdlock_slow): Likewise.
21365         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21366         Likewise.
21367         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21368         Likewise.
21369         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21370         * nptl/tst-rwlock16.c: New file.
21371         * nptl/Makefile (tests): Add new test.
21373 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21375         [BZ #18324]
21376         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21377         missing wake-up of readers.
21378         * nptl/tst-rwlock15.c: New file.
21379         * nptl/Makefile (tests): Add new test.
21381 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21383         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21384         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21385         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21386         and __nacl_supply_interface_rtld.
21387         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21388         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21389         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21390         Add __nacl_supply_interface_rtld.
21391         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21393 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21395         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21396         isfinite.
21397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21398         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21400 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21402         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21403         __signbit* with standard C99 macros.
21404         * math/e_exp10l.c: Likewise.
21405         * math/e_exp2l.c: Likewise.
21406         * math/e_scalb.c: Likewise.
21407         * math/e_scalbf.c: Likewise.
21408         * math/e_scalbl.c: Likewise.
21409         * math/s_ldexp.c: Likewise.
21410         * math/s_ldexpf.c: Likewise.
21411         * math/s_ldexpl.c: Likewise.
21412         * math/w_atan2.c: Likewise.
21413         * math/w_atan2f.c: Likewise.
21414         * math/w_atan2l.c: Likewise.
21415         * math/w_cosh.c: Likewise.
21416         * math/w_coshf.c: Likewise.
21417         * math/w_coshl.c: Likewise.
21418         * math/w_exp10.c: Likewise.
21419         * math/w_exp10f.c: Likewise.
21420         * math/w_exp10l.c: Likewise.
21421         * math/w_exp2.c: Likewise.
21422         * math/w_exp2f.c: Likewise.
21423         * math/w_exp2l.c: Likewise.
21424         * math/w_fmod.c: Likewise.
21425         * math/w_fmodf.c: Likewise.
21426         * math/w_fmodl.c: Likewise.
21427         * math/w_hypot.c: Likewise.
21428         * math/w_hypotf.c: Likewise.
21429         * math/w_hypotl.c: Likewise.
21430         * math/w_jnl.c: Likewise.
21431         * math/w_lgamma.c: Likewise.
21432         * math/w_lgamma_r.c: Likewise.
21433         * math/w_lgammaf.c: Likewise.
21434         * math/w_lgammaf_r.c: Likewise.
21435         * math/w_lgammal.c: Likewise.
21436         * math/w_lgammal_r.c: Likewise.
21437         * math/w_pow.c: Likewise.
21438         * math/w_powf.c: Likewise.
21439         * math/w_powl.c: Likewise.
21440         * math/w_remainder.c: Likewise.
21441         * math/w_remainderf.c: Likewise.
21442         * math/w_remainderl.c: Likewise.
21443         * math/w_scalb.c: Likewise.
21444         * math/w_scalbf.c: Likewise.
21445         * math/w_scalbl.c: Likewise.
21446         * math/w_scalbln.c: Likewise.
21447         * math/w_scalblnf.c: Likewise.
21448         * math/w_scalblnl.c: Likewise.
21449         * math/w_sinh.c: Likewise.
21450         * math/w_sinhf.c: Likewise.
21451         * math/w_sinhl.c: Likewise.
21452         * math/w_tgamma.c: Likewise.
21453         * math/w_tgammaf.c: Likewise.
21454         * math/w_tgammal.c: Likewise.
21455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21456         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21457         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21458         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21459         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21460         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21461         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21462         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21463         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21464         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21465         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21466         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21467         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21468         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21469         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21470         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21472         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21473         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21474         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21476         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21477         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21479         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21481         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21482         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21483         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21484         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21485         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21486         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21487         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21488         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21489         * stdio-common/printf_fp.c: Likewise.
21490         * stdio-common/printf_fphex.c: Likewise.
21491         * stdio-common/printf_size.c: Likewise.
21493 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21495         [BZ #18470]
21496         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21497         strnlen.
21498         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21499         Remove variable.
21500         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21501         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21502         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21503         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21504         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21505         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21506         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21507         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21508         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21509         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21511         [BZ #18468]
21512         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21513         weak alias of __wmemchr.  Use libc_hidden_weak.
21514         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21515         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21516         instead of wmemchr.
21518 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21520         [BZ #18383]
21521         * elf/tst-tlsalign-extern.c: New file.
21522         * elf/tst-tlsalign-extern-static.c: New file.
21523         * elf/tst-tlsalign-vars.c: New file.
21524         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21525         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21526         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21527         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21528         (test-xfail-tst-tlsalign-extern-static): New variable.
21530 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21532         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21533         Use variable name _sc_err instead of err.
21534         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21535         instead of ret.
21536         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21537         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21538         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21539         (INLINE_SYSCALL): Likewise.
21541         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21542         * include/string.h (__strnlen): Use libc_hidden_proto.
21543         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21544         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21545         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21546         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21547         (libc_hidden_def): Undefine and redefine.
21548         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21549         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21550         __GI_strnlen.
21551         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21552         libc_hidden_def.
21553         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21555         [BZ #18469]
21556         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21557         weak alias of __towlower.  Use libc_hidden_weak.
21558         (towupper): Rename to __towupper and define as weak alias of
21559         __towupper.  Use libc_hidden_weak.
21560         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21561         (__towupper): Likewise.
21562         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21563         __towlower instead of towlower.
21565 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21567         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21568         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21570 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21572         * sysdeps/aarch64/libm-test-ulps: Update.
21574 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21576         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21577         Define.
21578         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21580         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21581         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21582         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21583         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21584         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21586 2015-06-01  Martin Sebor  <msebor@redhat.com>
21588         [BZ #18116]
21589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21590         (__setcontext): Use extended four-operand version of mtsf whenever
21591         possible.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21593         (__novec_swapcontext): Likewise.
21595 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21597         * benchtests/scripts/compare_bench.py: New file.
21598         * benchtests/scripts/import_bench.py (mean): New function.
21599         (split_list): Likewise.
21600         (do_for_all_timings): Likewise.
21601         (compress_timings): Likewise.
21603         * benchtests/scripts/import_bench.py: New file.
21604         * benchtests/scripts/validate_benchout.py: Import import_bench
21605         instead of jsonschema.
21606         (validate_bench): Remove function.
21607         (main): Use import_bench.
21609 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21611         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21612         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21614 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21618 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21620         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21621         set THREAD_SELF->tid to a magic value and futex-wake it.
21622         Pass its address to the thread_exit system call.
21623         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21624         bit is clear.
21625         * sysdeps/nacl/lowlevellock.h: New file.
21626         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21628         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21629         Add TIMEOUT to current time, don't subtract it.
21631 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21633         [BZ #2981]
21634         [BZ #18422]
21635         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21636         ($(objpfx)tst-audit2.out): Also depend on
21637         $(objpfx)tst-auditmod9b.so.
21638         * elf/tst-audit2.c: Include <dlfcn.h>.
21639         (calloc_called): New.
21640         (calloc): Allow to be called more than once.
21641         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21643 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21645         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21646         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21648 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21650         * stdlib/monetary.h: Fix comment.
21652 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21654         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21655         Avoid using variables in #defines that might cause shadowing.
21656         (INTERNAL_VSYSCALL_CALL): Likewise.
21658 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21660         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21662         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21663         * nptl/lll_timedlock_wait.c: ... to this new file.
21664         * nptl/Makefile (libpthread-routines): Add it.
21665         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21666         * nptl/lll_timedwait_tid.c: ... to this new file.
21667         * nptl/Makefile (libpthread-routines): Add it.
21668         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21669         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21670         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21671         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21672         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21673         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21674         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21675         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21676         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21677         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21679 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21681         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21683         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21685         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21687         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21689         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21690         * sysdeps/unix/sysv/linux/tile/sysdep.h
21691         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21692         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21693         using vDSO syscall macro.
21695 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21697         [BZ #17293]
21698         * uk_UA: Fix sorting order for Ukrainian locale
21700 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21702         * stdlib/monetary.h: Fix comment.
21704 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21706         [BZ #18234]
21707         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21708         st_mtim and st_ctim members.
21709         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21710         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21711         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21712         (struct stat64): Likewise.
21713         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21714         (struct stat64): Likewise.
21715         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21716         (struct stat64): Likewise.
21718 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21720         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21721         Define and include sysdep-vdso.h.
21722         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21723         Likewise.
21724         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21725         Likewise.
21726         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21727         Define with VDSO_SYMBOL and use PTR_MANGLE.
21728         (__vdso_clock_gettime): Likewise.
21729         (__vdso_clock_getres): Likewise.
21730         (_libc_vdso_platform_setup): Likewise.
21731         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21732         Likewise.
21733         (_libc_vdso_platform_setup): Likewise.
21734         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21735         Likewise.
21736         (__vdso_clock_gettime): Likewise.
21737         (__vdso_clock_getres): Likewise.
21738         (__vdso_get_tbfreq): Likewise.
21739         (__vdso_getcpu): Likewise.
21740         (__vdso_time): Likewise.
21741         (__vdso_sigtramp_rt64): Likewise.
21742         (__vdso_signtramp32): Likewise.
21743         (__vdso_sigtramp_rt32): Likewise.
21744         (_libc_vdso_platform_setup): Likewise.
21745         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21746         Likewise.
21747         (__vdso_clock_gettime): Likewise.
21748         (__vdso_clock_getres): Likewise.
21749         (_libc_vdso_platform_setup): Likewise.
21750         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21751         Likewise.
21752         (__vdso_clock_gettime): Likewise.
21753         (_libc_vdso_platform_setup): Likewise.
21754         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21755         Likewise.
21756         (__vdso_getcpu): Likewise.
21757         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21758         Use VDSO_SYMBOL macro to define.
21759         (__vdso_clock_gettime): Likewise.
21760         (__vdso_clock_getres): Likewise.
21761         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21762         Likewise.
21763         (__vdso_clock_gettime): Likewise.
21764         (__vdso_clock_getres): Likewise.
21765         (__vdso_get_tbfreq): Likewise.
21766         (__vdso_getcpu): Likewise.
21767         (__vdso_time): Likewise.
21768         (__vdso_sigtramp_rt64): Likewise.
21769         (__vdso_signtramp32): Likewise.
21770         (__vdso_sigtramp_rt32): Likewise.
21771         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21772         Likewise.
21773         (__vdso_clock_gettime): Likewise.
21774         (__vdso_clock_getres): Likewise.
21775         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21776         Likewise.
21777         (__vdso_clock_gettime): Likewise.
21778         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21779         Likewise.
21780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21781         macro.
21782         (INTERNAL_VSYSCALL): Likewise.
21783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21784         Remove macro.
21785         (INTERNAL_VSYSCALL): Likewise.
21786         (INTERNAL_VSYSCALL_NCS): Likewise.
21787         (INTERNAL_VSYSCALL_CALL): New macro.
21788         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21790         Likewise.
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/powerpc/powerpc32/sysdep.h
21796         (INLINE_VSYSCALL): Remove macro.
21797         (INTERNAL_VSYSCALL): Remove macro.
21798         (INTERNAL_VSYSCALL_NCS): Remove macro.
21799         (INTERNAL_VSYSCALL_CALL): New macro.
21800         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21801         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21802         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21803         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21804         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21806         (INLINE_VSYSCALL): Remove macro.
21807         (INTERNAL_VSYSCALL): Likewise.
21808         (INTERNAL_VSYSCALL_NCS): Likewise.
21809         (INTERNAL_VSYSCALL_CALL): New macro.
21810         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21811         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21812         PTR_DEMANGLE on vDSO pointer.
21813         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21814         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21815         macro.
21816         (INTERNAL_SYSCALL): Likewise.
21817         (INTERNAL_VSYSCALL_NCS): Remove macro.
21818         (INTERNAL_VSYSCALL_CALL): New macro.
21819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21820         Remove macro.
21821         (INTERNAL_VSYSCALL): Likewise.
21822         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21823         sysdep-vdso.h instead of libc-vdso.h.
21824         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21825         definition.
21826         (INLINE_VSYSCALL): Likewise.
21827         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21828         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21829         definition.
21830         (INLINE_VSYSCALL): Likewise.
21831         (INTERNAL_VSYSCALL): Likewise.
21832         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21833         * sysdeps/unix/sysv/linux/timespec_get.c
21834         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21835         (timespec_get): Use ANSI prototype.
21836         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21837         and definition for Linux.
21839 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21841         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21842         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21844 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21846         [BZ #2981]
21847         [BZ #18410]
21848         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21849         for missing DT_PLTRELSZ.
21851 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21853         Remove obsolete aliases that broke 'locale -a'
21854         [BZ #18412]
21855         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21856         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21857         breaking some applications that use 'locale -a' output.
21858         Change the encoding of this file from Latin-1 to ASCII to avoid
21859         other potential problems with people grepping this file.
21861 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21863         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21864         -fasynchronous-unwind-tables.
21865         (CFLAGS-sendto.c): Likewise.
21866         (CFLAGS-sendmsg.c): Likewise.
21867         (CFLAGS-connect.c): Likewise.
21868         (CFLAGS-recvmsg.c): Likewise.
21869         (CFLAGS-recvfrom.c): Likewise.
21870         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21871         (SOCKETCALL): New macro: non-cancellable socketcall.
21872         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21873         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21874         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21875         * sysdeps/unix/sysv/linux/accept.c: New file.
21876         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21877         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21878         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21879         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21880         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21881         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21882         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21883         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21884         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21885         * sysdeps/unix/sysv/linux/send.c: Likewise.
21886         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21887         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21888         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21889         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21890         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21891         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21892         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21893         prototype.
21894         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21895         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21896         instead of __internal_xxx function.
21897         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21898         prototype.
21899         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21900         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21901         instead of __internal_xxx function.
21902         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21903         prototype.
21904         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21905         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21906         instead of __internal_xxx function.
21907         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21908         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21909         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21910         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21911         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21912         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21913         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21914         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21915         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21916         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21917         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21918         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21919         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21920         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21921         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21922         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21923         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21924         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21925         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21926         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21929         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21930         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21931         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21932         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21933         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21934         * sysdeps/unix/sysv/linux/send.S: Likewise.
21935         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21936         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21937         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21938         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21939         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21940         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21941         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21942         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21943         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21944         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21945         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21946         socketcall is implemented in GLIBC.
21948 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21950         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21951         (__fma): Ignore uninitialized warnings around packing.
21952         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21953         (__fmaf): Ignore uninitialized warnings around packing.
21954         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21955         (__fmal): Ignore uninitialized warnings around packing.
21957         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21958         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21959         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21960         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21962         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21963         switch statement into default case.
21964         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21966         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21967         a conditional in forcing "inexact".
21968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21969         Likewise.
21971 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21973         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21974         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21975         for each INTERNAL_SYSCALL use.
21977 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21979         [BZ #438]
21980         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21981         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21982         variable.
21984         [BZ #18444]
21985         * string/basename.c (basename): Rename to __basename and define as
21986         weak alias of __basename.  Use libc_hidden_weak.
21987         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21988         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21989         __basename instead of basename.
21990         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21991         Remove variable.
21992         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21994 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21996         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21997         (_IO_JUMPS_FILE_plus): New.
21998         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21999         _IO_CAST_FIELD_ACCESS.
22000         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22001         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22002         * libio/freopen.c (freopen): Likewise.
22003         * libio/freopen64.c (freopen64): Likewise.
22004         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22005         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22006         * libio/iofwide.c (_IO_fwide): Likewise.
22007         * libio/memstream.c (open_memstream): Likewise.
22008         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22009         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22010         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22012 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22014         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22015         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22016         NADJ.
22017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22018         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22019         NADJ.
22020         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22021         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22022         NADJ.
22024         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22025         (p == 4) case.
22027         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22028         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22029         Remove variable.
22030         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22031         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22032         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22034 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22036         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22037         Adjust jump table label generation macros.
22039 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22041         * stdio-common/vfprintf.c (vfprintf): Move local variables
22042         args_malloced, specs, specs_malloced, and the code after
22043         do_positional to the printf_positional function.
22044         (printf_positional): New function.
22046 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22048         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22049         function.
22050         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22051         STEP4_TABLE, process_arg): Move macro definitions
22052         out of the vfprintf function.  (Cosmetic change only.)
22054 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22056         * benchtests/Makefile (stdio-common-bench): Define.
22057         (benchset): Add stdio-common-bench.
22058         * sprintf-inputs: New file.
22059         * sprintf-source.c: New file.
22061 2015-05-21  Andreas Schwab  <schwab@suse.de>
22063         [BZ #13028]
22064         [BZ #17053]
22065         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22066         of struct __res_state.
22067         * resolv/res_send.c (__libc_res_nsend): Likewise.
22068         (get_nsaddr): New function.
22069         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22070         statp directly.
22072 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22074         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22075         -D_POSIX_C_SOURCE=199506L.
22077         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22079         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22080         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22081         Do not mention otherwise.
22082         [POSIX] (_XOPEN_VERSION): Do not expect.
22083         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22084         [POSIX] (_POSIX2_C_BIND): Likewise.
22085         [POSIX] (_POSIX2_VERSION): Likewise.
22086         [POSIX] (_XOPEN_XPG2): Likewise.
22087         [POSIX] (_XOPEN_XPG3): Likewise.
22088         [POSIX] (_XOPEN_XPG4): Likewise.
22089         [POSIX] (_XOPEN_UNIX): Likewise.
22090         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22091         [POSIX] (_POSIX_BARRIERS): Likewise.
22092         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22093         [POSIX] (_POSIX_CPUTIME): Likewise.
22094         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22095         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22096         [POSIX] (_POSIX_SHELL): Likewise.
22097         [POSIX] (_POSIX_SPAWN): Likewise.
22098         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22099         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22100         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22101         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22102         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22103         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22104         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22105         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22106         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22107         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22108         [POSIX] (_POSIX2_PBS): Likewise.
22109         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22110         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22111         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22112         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22113         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22114         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22115         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22116         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22117         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22118         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22119         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22120         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22121         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22122         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22123         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22124         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22125         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22126         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22127         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22128         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22129         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22130         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22131         [POSIX] (_SC_2_C_BIND): Likewise.
22132         [POSIX] (_SC_2_C_VERSION): Likewise.
22133         [POSIX] (_SC_2_PBS): Likewise.
22134         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22135         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22136         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22137         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22138         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22139         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22140         [POSIX] (_SC_BARRIERS): Likewise.
22141         [POSIX] (_SC_BASE): Likewise.
22142         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22143         [POSIX] (_SC_DEVICE_IO): Likewise.
22144         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22145         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22146         [POSIX] (_SC_FD_MGMT): Likewise.
22147         [POSIX] (_SC_FIFO): Likewise.
22148         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22149         [POSIX] (_SC_FILE_LOCKING): Likewise.
22150         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22151         [POSIX] (_SC_IOV_MAX): Likewise.
22152         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22153         [POSIX] (_SC_NETWORKING): Likewise.
22154         [POSIX] (_SC_PAGE_SIZE): Likewise.
22155         [POSIX] (_SC_PASS_MAX): Likewise.
22156         [POSIX] (_SC_PIPE): Likewise.
22157         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22158         [POSIX] (_SC_REGEXP): Likewise.
22159         [POSIX] (_SC_SHELL): Likewise.
22160         [POSIX] (_SC_SIGNALS): Likewise.
22161         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22162         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22163         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22164         [POSIX] (_SC_USER_GROUPS): Likewise.
22165         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22166         [POSIX] (_SC_STREAMS): Likewise.
22167         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22168         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22169         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22170         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22171         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22172         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22173         [POSIX] (_PC_FILESIZEBITS): Likewise.
22174         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22175         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22176         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22177         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22178         [POSIX] (uid_t): Likewise.
22179         [POSIX] (gid_t): Likewise.
22180         [POSIX] (off_t): Likewise.
22181         [POSIX] (pid_t): Likewise.
22182         [POSIX] (cuserid): Allow.
22183         (_SC_2_CHAR_TERM): Require constant.
22184         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22185         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22186         variable.
22188 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22190         * sysdeps/nacl/pthread-pids.h: New file.
22191         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22192         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22194         * nptl/pthread-pids.h: New file.
22195         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22196         * nptl/nptl-init.c: Include <pthread-pids.h>.
22197         (__pthread_initialize_minimal_internal):
22198         Call __pthread_initialize_pids instead of set_tid_address syscall.
22200         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22201         * sysdeps/posix/usleep.c: ... here.
22203 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22205         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22206         call_pselect6 object.
22207         [$(subdir) = io]: Remove call_sync_file_range object.
22208         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22209         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22210         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22211         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22213 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22215         * math/s_cproj.c: Add include "math_private.h".
22216         * math/s_cprojf.c: Likewise.
22217         * math/s_cprojl.c: Likewise.
22219 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22221         [BZ #18244]
22222         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22223         high mantissa bit when testing whether P is a NaN.
22224         * math/libm-test.inc (remainder_test_data): Add more tests.
22225         (remquo_test_data): Likewise.
22227         [BZ #18049]
22228         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22229         below -32, return the argument, with underflow if subnormal.
22230         * math/auto-libm-test-in: Add more tests of atanh.
22231         * math/auto-libm-test-out: Regenerated.
22233 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22235         [BZ #18434]
22236         * nptl/tst-sem15.c: New file.
22237         * nptl/Makefile (tests): Add it.
22238         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22239         s/<</>>/ to fix typo in EOVERFLOW check.
22240         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22242 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244         * manual/strings.texi (envz_remove): Fix typo in safety
22245         annotations.
22247 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22248             Steve Ellcey  <sellcey@imgtec.com>
22250         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22251         in order to avoid strict alias warnings.
22252         (iruserok_af): Ditto for ra.
22254 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22256         [BZ #17581]
22257         * malloc/hooks.c
22258         (magicbyte): Convert to a function and avoid returning 0x01.
22259         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22260         (mem2chunk_check): Fix unsigned comparisons to zero.
22261         Hoist defs of sz and magic.
22263 2015-05-19  Richard Henderson  <rth@redhat.com>
22265         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22267         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22269 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22271         [BZ #16159]
22272         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22273         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22274         (reused_arena): Find a non-corrupt arena.
22275         (heap_trim): Pass arena to unlink.
22276         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22277         malloc_printerr.
22278         (top_check): Likewise.
22279         (free_check): Likewise.
22280         (realloc_check): Likewise.
22281         * malloc/malloc.c (malloc_printerr): Add arena argument.
22282         (unlink): Likewise.
22283         (munmap_chunk): Adjust.
22284         (ARENA_CORRUPTION_BIT): New macro.
22285         (arena_is_corrupt): Likewise.
22286         (set_arena_corrupt): Likewise.
22287         (sysmalloc): Use mmap if there are no usable arenas.
22288         (_int_malloc): Likewise.
22289         (__libc_malloc): Don't fail if arena_get returns NULL.
22290         (_mid_memalign): Likewise.
22291         (__libc_calloc): Likewise.
22292         (__libc_realloc): Adjust for additional argument to
22293         malloc_printerr.
22294         (_int_free): Likewise.
22295         (malloc_consolidate): Likewise.
22296         (_int_realloc): Likewise.
22297         (_int_memalign): Don't touch corrupt arenas.
22298         * malloc/tst-malloc-backtrace.c: New test case.
22300         * Makefile (summarize-tests): Fix return value on success.
22302         * manual/string.texi (Envz Functions): Add envz_remove.
22304 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22306         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22307         (invalid_name): New function, broken out of ...
22308         (__opendirat): ... here.  Call it.
22309         (need_isdir_precheck): New function, broken out of ...
22310         (__opendirat): ... here.  Call it.
22311         Use __fxstatat64, not __xstatat64.
22312         (opendir_oflags): New function, broken out of ...
22313         (__opendirat): ... here.  Call it.
22314         (opendir_tail): New function, broken out of ...
22315         (__opendirat): ... here.  Call it.
22316         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22317         opendir_tail, rather than punting to __opendirat.
22318         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22320 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22322         * .gitignore: Ignore generated *.pyc.
22324 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22326         * include/stdio.h: Define __need_wint_t.
22327         * test-skeleton.c: Avoid `for' loop initial declaration.
22328         * nptl/tst-initializers1.c: Use test-skeleton.c.
22330 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22332         [BZ #18418]
22333         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22335 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22337         [BZ #16352]
22338         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22339         (__ieee754_atanh): Force underflow exception for results with
22340         small absolute value.
22341         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22342         (__ieee754_atanhf): Force underflow exception for results with
22343         small absolute value.
22344         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22345         (__ieee754_atanh): Force underflow exception for results with
22346         small absolute value.
22347         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22348         (__ieee754_atanhf): Force underflow exception for results with
22349         small absolute value.
22350         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22351         (__ieee754_atanhl): Force underflow exception for results with
22352         small absolute value.
22353         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22354         (__ieee754_atanhl): Force underflow exception for results with
22355         small absolute value.
22356         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22357         (__ieee754_atanhl): Force underflow exception for results with
22358         small absolute value.
22359         * math/auto-libm-test-in: Do not allow missing underflow
22360         exceptions from atanh.
22361         * math/auto-libm-test-out: Regenerated.
22363         [BZ #18221]
22364         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22365         2**-28 as threshold for returning x or +/- 1/x.
22366         * math/auto-libm-test-in: Add more tests of tan.
22367         * math/auto-libm-test-out: Regenerated.
22369         [BZ #18220]
22370         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22371         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22372         * math/auto-libm-test-in: Add another test of lgamma.
22373         * math/auto-libm-test-out: Regenerated.
22375 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22377         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22378         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22379         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22380         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22381         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22382         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22383         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22384         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22385         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22386         (log1): Use fabs.  (my_log2): Use fabs.
22387         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22388         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22389         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22390         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22391         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22392         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22393         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22394         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22395         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22396         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22397         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22399 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #18217]
22402         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22403         as threshold for returning 1 - x.
22404         * math/auto-libm-test-in: Add more tests of erfc.
22405         * math/auto-libm-test-out: Regenerated.
22407 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22409         [BZ #18196]
22410         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22411         threshold for large arguments.
22412         * math/auto-libm-test-in: Add another test of atan.
22413         * math/auto-libm-test-out: Regenerated.
22415         [BZ #16339]
22416         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22417         (__log1p): Force underflow exception for results with small
22418         absolute value.
22419         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22420         (__log1pf): Force underflow exception for results with small
22421         absolute value.
22422         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22423         (__log1p): Force underflow exception for results with small
22424         absolute value.
22425         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22426         (__log1pf): Force underflow exception for results with small
22427         absolute value.
22428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22429         (__log1pl): Force underflow exception for results with small
22430         absolute value.
22431         * math/auto-libm-test-in: Do not allow missing underflow
22432         exceptions from log1p.
22433         * math/auto-libm-test-out: Regenerated.
22435 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22436             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22438         [BZ #16704]
22439         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22441 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22443         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22444         (libmvec): New variable.
22445         * configure.ac: Added option for mathvec build.
22446         * configure: Regenerated.
22447         * mathvec/Depend: New file.
22448         * mathvec/Makefile: New file.
22449         * shlib-versions: Added libmvec.
22450         * math/Makefile: Added rule for libm.so installation.
22452         * bits/math-vector.h: New file.
22453         * bits/libm-simd-decl-stubs.h: New header.
22454         * math/Makefile (headers): Added new header
22455         libm-simd-decl-stubs.h.
22456         * math/math.h (__MATHCALL_VEC): New macro.
22458         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22459         for conditions in testing functions.
22460         * math/Makefile: Added call of libm-have-vector-test.sh.
22461         * math/libm-test.inc (HAVE_VECTOR): New macros.
22463         * math/libm-test.inc: START refactored.
22464         * math/test-double.c (TEST_MATHVEC): Add define.
22465         * math/test-float.c: Likewise.
22466         * math/test-idouble.c: Likewise.
22467         * math/test-ifloat.c: Likewise.
22468         * math/test-ildoubl.c: Likewise.
22469         * math/test-ldouble.c: Likewise.
22470         * sysdeps/generic/math-tests-arch.h
22471         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22472         architecture check.
22474         * math/test-double.c (FUNC_TEST): New macro.
22475         * math/test-float.c: Likewise.
22476         * math/test-idouble.c: Likewise.
22477         * math/test-ifloat.c: Likewise.
22478         * math/test-ildoubl.c: Likewise.
22479         * math/test-ldouble.c: Likewise.
22480         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22482 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22484         * sysdeps/nacl/fdopendir.c: New file.
22486         * dirent/scandir-tail.c: New file.
22487         * dirent/scandir64-tail.c: New file.
22488         * dirent/Makefile (routines): Add them.
22489         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22490         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22491         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22492         [!SCANDIR] (SCANDIR_TAIL): New macro.
22493         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22494         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22495         (SCANDIRAT): Macro removed.
22496         (SCANDIR_TAIL): New macro.
22497         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22498         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22499         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22500         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22501         (READDIR): Macro removed.
22502         (SCANDIR_TAIL): New macro.
22503         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22504         (SCANDIR_TAIL): New macro.
22506         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22507         * dirent/scandir-cancel.c: ... to this new file.
22508         * dirent/Makefile (routines): Add it.
22509         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22510         * sysdeps/unix/sysv/linux/i386/scandir64.c
22511         (SKIP_SCANDIR_CANCEL): Macro removed.
22512         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22514         * dirent/tst-scandir.c: New file.
22515         * dirent/tst-scandir64.c: New file.
22516         * dirent/Makefile (tests): Add them.
22518 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22520         [BZ #18409]
22521         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22523 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22525         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22526         list.
22528 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22530         * benchtests/bench-strcoll.c: New benchmark.
22531         * benchtests/Makefile: Generate locales and run benchmark.
22532         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22533         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22534         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22535         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22536         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22537         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22538         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22539         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22540         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22541         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22542         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22543         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22544         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22545         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22546         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22547         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22548         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22549         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22550         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22551         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22552         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22553         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22554         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22555         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22557 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22559         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22560         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22562 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22564         * posix/uname-values.h: New file.
22565         * posix/uname.c: Include that instead of <config-name.h>.
22566         * sysdeps/nacl/uname-values.h: New file.
22567         * sysdeps/arm/nacl/uname-values.h: New file.
22569 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22571         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22572         splitting into fields.
22574 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22576         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22577         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22578         * locale/localeinfo.h: Add enum collation_encoding_type.
22579         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22580         * programs/ld-collate.c (collate_output): Add encoding type info.
22581         * string/strcoll_l.c (STRDIFF): New function.
22582         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22583         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22585 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #18397]
22588         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22589         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22590         <fpu_control.h> instead of <math/fpu_control.c>.
22591         * sysdeps/mips/mips32/fpu/Makefile: New file.
22593 2015-05-11  Andreas Schwab  <schwab@suse.de>
22595         [BZ #18007]
22596         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22597         nss_endgrent.
22598         (_nss_compat_endgrent): Call nss_endgrent.
22599         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22600         nss_endpwent.
22601         (_nss_compat_endpwent): Call nss_endpwent.
22602         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22603         needent, call nss_setspent only if non-zero.
22604         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22605         (internal_endspent): Don't call nss_endspent.
22606         (_nss_compat_endspent): Call nss_endspent.
22607         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22608         Remove.  All uses removed.
22609         (internal_setent): Remove parameter stayopen, add parameter
22610         stream.  Use it instead of global variable.
22611         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22612         (internal_endent, internal_getent): Add parameter stream.  Use it
22613         instead of global variable.
22614         (CONCAT(_nss_files_end,ENTNAME))
22615         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22616         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22617         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22618         uses removed.
22619         (internal_setent, internal_endent): Add parameter stream.  Use it
22620         instead of global variable.
22621         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22622         stream.
22623         (get_next_alias): Add parameter stream.
22624         (_nss_files_getaliasent_r): Pass global stream.
22625         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22626         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22627         (_nss_files_gethostbyname4_r): Pass local stream to
22628         internal_setent, internal_getent and internal_endent.  Remove
22629         locking.
22631 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22633         * tst-strfmon1.c (tests): Update expected currency symbol.
22635 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22637         * sysdeps/nacl/gethostname.c: New file.
22639 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22641         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22642         and sinh.
22643         * math/auto-libm-test-out: Regenerated.
22644         * sysdeps/i386/fpu/libm-test-ulps: Update.
22645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22649         [BZ #18125]
22650         * stdlib/tst-setcontext3.c: New file.
22651         * stdlib/tst-setcontext3.sh: New file.
22652         * stdlib/Makefile (tests): Add tst-setcontext3.
22653         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22654         to verify test program created output file.
22655         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22656         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22657         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22658         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22660 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22662         [BZ #18383]
22663         * elf/tst-tlsalign.c: New file.
22664         * elf/tst-tlsalign-static.c: New file.
22665         * elf/tst-tlsalign-lib.c: New file.
22666         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22667         (tests-static): Add tst-tlsalign-static.
22668         (modules-names): Add tst-tlsalign-lib.
22669         (test-xfail-tst-tlsalign): New variable.
22670         (test-xfail-tst-tlsalign-static): New variable.
22672         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22673         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22675 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22677         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22678         csqrt, erfc, sin and sincos.
22679         * math/auto-libm-test-out: Regenerated.
22680         * sysdeps/i386/fpu/libm-test-ulps: Update.
22681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22683 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22685         * sysdeps/aarch64/libm-test-ulps: Update.
22687 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22689         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22690         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22691         * math/auto-libm-test-out: Regenerated.
22692         * sysdeps/i386/fpu/libm-test-ulps: Update.
22693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22697         [BZ #18265]
22698         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22699         (wcsncpy): Likewise.
22701 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22703         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22704         Assume __ASSUME_FALLOCATE is always true.
22705         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22706         (__posix_fallocate64_l64): Likweise.
22707         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22708         (posix_fallocate): Likewise.
22709         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22710         (__posix_fallocate64_l64): Likewise.
22711         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22712         [!__ASSUME_FALLOCATE]: Add comment.
22714 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22716         * sysdeps/unix/sysv/linux/i386/Makefile
22717         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22718         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22719         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22720         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22721         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22722         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22723         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22725 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22727         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22728         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22729         tgamma.
22730         * math/auto-libm-test-out: Regenerated.
22731         * sysdeps/i386/fpu/libm-test-ulps: Update.
22732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22734 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22736         * math/auto-libm-test-in: Add more tests of tgamma.
22737         * math/auto-libm-test-out: Regenerated.
22738         * sysdeps/i386/fpu/libm-test-ulps: Update.
22739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22741         * math/auto-libm-test-in: Add more tests of tanh.
22742         * math/auto-libm-test-out: Regenerated.
22743         * sysdeps/i386/fpu/libm-test-ulps: Update.
22744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22746         * math/auto-libm-test-in: Add more tests of tan.
22747         * math/auto-libm-test-out: Regenerated.
22748         * sysdeps/i386/fpu/libm-test-ulps: Update.
22749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22751         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22752         * math/auto-libm-test-out: Regenerated.
22753         * sysdeps/i386/fpu/libm-test-ulps: Update.
22754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22756         * math/auto-libm-test-in: Add another test of pow.
22757         * math/auto-libm-test-out: Regenerated.
22758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22760         * math/auto-libm-test-in: Add more tests of lgamma.
22761         * math/auto-libm-test-out: Regenerated.
22762         * sysdeps/i386/fpu/libm-test-ulps: Update.
22763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22765         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22766         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22773         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22774         Elf64_Chdr structs and ELFCOMPRESS constants.
22776 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22778         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22779         expm1.
22780         * math/auto-libm-test-out: Regenerated.
22781         * sysdeps/i386/fpu/libm-test-ulps: Update.
22782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784         * math/auto-libm-test-in: Add more tests of erf and erfc.
22785         * math/auto-libm-test-out: Regenerated.
22786         * sysdeps/i386/fpu/libm-test-ulps: Update.
22787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22789 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22791         * config.h.in (HAVE_AARCH64_BE): Add.
22793 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22795         * math/auto-libm-test-in: Add more tests of csqrt.
22796         * math/auto-libm-test-out: Regenerated.
22797         * sysdeps/i386/fpu/libm-test-ulps: Update.
22798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22800         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22801         * math/auto-libm-test-out: Regenerated.
22802         * sysdeps/i386/fpu/libm-test-ulps: Update.
22803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22805         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22807 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22809         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22810         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22812         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22813         (euidaccess, eaccess): Define as weak aliases.
22815         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22816         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22817         but __suseconds_t is often 'long int' so some sources assume that
22818         type is being used (e.g. they use %ld to print tv_usec).
22820 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22822         [BZ #18007]
22823         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22824         (CVE-2014-8121)
22825         * nss/tst-nss-getpwent.c: New file.
22826         * nss/Makefile (tests): Add new test.
22828 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22830         [BZ #18346]
22831         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22832         exponents less than 48 as cases where high part of mantissa needs
22833         examining to determine whether argument is integral.
22834         * math/libm-test.inc (round_test_data): Add more tests.
22836 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22838         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22840 2015-04-27  David S. Miller  <davem@davemloft.net>
22842         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22843         __tls_get_addr.
22844         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22846 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22848         [BZ#18333]
22849         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22851 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22853         [BZ#18333]
22854         * time/tzset.c (parse_tzname): Return error on memory allocation
22855         failure.
22856         * test-skeleton.c (struct temp_name_list): Change type of name
22857         member to non-const.
22858         (add_temp_file): Create a copy of the file name.
22859         (delete_temp_files): Deallocate memory.
22860         (create_temp_file): Add comment.
22862 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22864         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22865         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22867 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22869         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22870         * sysdeps/arm/configure: Regenerated.
22872 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22874         [BZ #17715]
22875         * time/tzfile.c (__tzfile_read): Check for large values of
22876         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22877         * time/tzset.c (__tzstring_len): New function, based on the old
22878         __tzstring function.
22879         (__tzstring): Call __tzstring_len.
22880         (parse_tzname): New helper function extracted from
22881         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22882         the input string.
22883         (parse_offset): New helper function extracted from
22884         __tzset_parse_tz.  Replace switch with fallthrough with
22885         initialization before sscanf.
22886         (parse_rule): Likewise.
22887         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22888         new-style function definition.
22889         * timezone/Makefile (tests): Add tst-tzset.
22890         (tst-tzset.out): Dependencies on time zone files.
22891         (tst-tzset-ENV): Set TZDIR.
22892         (testdata/XT%): Copy crafted time zone files.
22893         * timezone/README: Mention crafted time zone files.
22894         * timezone/testdata/XT1, timezone/testdata/XT2,
22895         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22896         files.
22897         * timezone/tst-tzset.c: New test.
22899 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22901         * Makeconfig (+gccwarn): Remove -Winline.
22903 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22905         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22907 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22909         * NEWS: Mention sysconf() cache information support for s390.
22910         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22912 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22914         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22915         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22916         (__nearbyint): Likewise.
22917         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22918         (copysignl): Likewise.
22920 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22922         [BZ #18287]
22923         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22924         based on padding.  (CVE-2015-1781)
22926 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22928         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22929         libc-vdso.h.
22930         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22931         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22932         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22933         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22934         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22935         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22938         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22941         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22942         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22943         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22944         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22945         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22946         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22947         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22948         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22949         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22950         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22951         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22952         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22954 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22956         * stdlib/setenv.c (__add_to_environ):
22957         Dump core quickly if setenv (..., NULL, ...) is called.
22958         This time, do it the right way, and pacify GCC with a pragma.
22960 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22962         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22963         IMAP->l_prev cannot be null, and #if out the code for the contrary
22964         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22965         believe that NS (&_dl_ns[NSID]) could point outside the array.
22967         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22968         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22969         before using NSID as an index.
22971 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22973         [BZ #17825]
22974         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22975         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22976         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22978 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22980         Add preliminary port to Google Native Client on ARM.
22981         * abi-tags (.*-.*-nacl.*): New entry.
22982         * sysdeps/arm/nacl: New directory.
22983         * sysdeps/nacl: New directory.
22985 2015-04-16  David S. Miller  <davem@davemloft.net>
22987         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22988         lowlevellock-futex.h
22990 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22992         * sysdeps/tile/configure.ac: New file.
22993         * sysdeps/tile/configure: Regenerated.
22995 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22997         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22998         conditionals for weak_alias and libc_hidden_weak.
22999         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23000         libc_hidden_weak and weak_alias.
23001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23002         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23003         and weak_alias for static one.
23005 2015-04-15  David S. Miller  <davem@davemloft.net>
23007         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23009 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23011         [BZ #18206]
23012         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23013           Use signed comparision instead of substraction to avoid
23014           overflow bug.
23015         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23016           Take the sign of ret.
23017         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23018           Do not expect precise return values. Only the sign matters.
23019         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23020         * wcsmbs/test-wcsncmp.c: New File.
23021         * string/test-strncmp.c: Add wcsncmp support.
23023 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23025         [BZ #6792]
23026         * math/w_log1p.c: New file.
23027         * math/w_log1pf.c: Likewise.
23028         * math/w_log1pl.c: Likewise.
23029         * math/Makefile (libm-calls): Add w_log1p.
23030         * math/s_log1pl.c (log1pl): Remove weak_alias.
23031         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23032         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23033         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23034         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23035         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23036         [NO_LONG_DOUBLE] (log1pl): Likewise.
23037         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23038         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23039         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23040         (log1p): Remove long_double_symbol.
23041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23042         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23043         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23044         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23045         remove weak_alias for corresponding log1p function.
23046         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23047         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23048         * sysdeps/ia64/fpu/w_log1p.c: New file.
23049         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23050         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23051         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23053 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23055         [BZ #18247]
23056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23057         decimal exponent by 1.
23058         * stdlib/tst-strtod-round-data: Add more tests.
23059         * stdlib/tst-strtod-round.c (tests): Regenerated.
23061 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23063         * math/auto-libm-test-in: Add more tests of clog and clog10.
23064         * math/auto-libm-test-out: Regenerated.
23065         * sysdeps/i386/fpu/libm-test-ulps: Update.
23066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23068 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23070         * Makeconfig (module-cppflags): Exclude all .v.i files.
23071         (skip-module-cppflags): Variable removed.
23073         * configure.ac (libc_config_ok): Initialize before reading
23074         preconfigure scripts, not after.
23075         * configure: Regenerated.
23077         * test-skeleton.c (TIMEOUT): Move #define to top level.
23078         (main): Grok environment variable TEST_DIRECT.  If set, print
23079         test expectation details into that file and then behave as if
23080         given --direct.
23082 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23084         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23085         warning on 32-bit.
23087 2015-04-08  David S. Miller  <davem@davemloft.net>
23089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23091 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23093         * math/auto-libm-test-in: Add more tests of atanh.
23094         * math/auto-libm-test-out: Regenerated.
23095         * sysdeps/i386/fpu/libm-test-ulps: Update.
23096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23098         * math/auto-libm-test-in: Add more tests of atan.
23099         * math/auto-libm-test-out: Regenerated.
23100         * sysdeps/i386/fpu/libm-test-ulps: Update.
23101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23103 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23105         * elf/pldd.c (main): Rewrite to use struct
23106         scratch_buffer instead of extend_alloca.
23107         * elf/pldd-xx.c (find_maps): Likewise.
23108         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23109         <alloca.h>.
23110         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23111         scratch_buffer instead of extend_alloca.
23112         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23113         grp/compat-initgroups.c.
23114         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23115         Rewrite to use struct scratch_buffer instead of extend_alloca.
23116         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23117         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23119 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23121         * math/auto-libm-test-in: Add more tests of cbrt.
23122         * math/auto-libm-test-out: Regenerated.
23123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23125         * math/auto-libm-test-in: Add more tests of cabs.
23126         * math/auto-libm-test-out: Regenerated.
23127         * sysdeps/i386/fpu/libm-test-ulps: Update.
23128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23130         [BZ #18210]
23131         [BZ #18211]
23132         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23133         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23134         computations.
23135         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23136         clog10.
23137         * math/auto-libm-test-out: Regenerated.
23138         * sysdeps/i386/fpu/libm-test-ulps: Update.
23139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23141         [BZ #18197]
23142         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23143         (atan): Set FE_TONEAREST mode for internal computations.
23144         * math/auto-libm-test-in: Add more tests of atan.
23145         * math/auto-libm-test-out: Regenerated.
23147 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23149         [BZ #17930]
23150         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23152 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23154         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23156 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23158         * include/scratch_buffer.h: New file.
23159         * malloc/scratch_buffer_grow.c: Likewise.
23160         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23161         * malloc/scratch_buffer_set_array_size.c: Likewise.
23162         * malloc/tst-scratch_buffer.c: Likewise.
23163         * malloc/Makefile (routines): Add scratch_buffer_grow.
23164         (tests): Add test case.
23165         * malloc/Versions (GLIBC_PRIVATE): Export
23166         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23167         __libc_scratch_buffer_set_array_size.
23169 2015-04-06  Richard Henderson  <rth@redhat.com>
23171         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23172         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23174         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23175         unsigned int before printing.
23177 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23179         [BZ #17596]
23180         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23181         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23183 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23185         * include/libc-internal.h (libc_max_align_t): Define.
23187 2015-04-02  Andreas Schwab  <schwab@suse.de>
23189         [BZ #16850]
23190         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23192 2015-04-02  Mel Gorman  <mgorman@suse.de>
23194         [BZ #17195]
23195         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23196         as well as the main arena.
23198 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23200         [BZ #18185]
23201         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23202         sharing L2 cache to 2 for Silvermont/Knights Landing.
23204 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23206         [BZ #17711]
23207         * config.make.in (have-protected-data): New.
23208         * configure.ac: Check linker support for protected data symbol.
23209         * configure: Regenerated.
23210         * elf/Makefile (modules-names): Add tst-protected1moda and
23211         tst-protected1modb if $(have-protected-data) is yes.
23212         (tests): Add tst-protected1a and tst-protected1b if
23213         $(have-protected-data) is yes.
23214         ($(objpfx)tst-protected1a): New.
23215         ($(objpfx)tst-protected1b): Likewise.
23216         (tst-protected1modb.so-no-z-defs): Likewise.
23217         * elf/tst-protected1a.c: New file.
23218         * elf/tst-protected1b.c: Likewise.
23219         * elf/tst-protected1mod.h: Likewise.
23220         * elf/tst-protected1moda.c: Likewise.
23221         * elf/tst-protected1modb.c: Likewise.
23223 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23225         [BZ #17711]
23226         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23227         indicates it is called from do_lookup_x on relocation against
23228         protected data, skip the data definion in the executable from
23229         copy reloc.
23230         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23231         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23232         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23233         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23234         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23235         otherwise to 0.
23236         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23237         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23238         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23239         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23240         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23241         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23243 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23245         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23246         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23248 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23250         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23251         THREAD_SETMEM_NC.
23252         * sysdeps/x86_64/nptl/tls.h: Ditto.
23254 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23256         * dlfcn/tststatic.c (main): Converted to ...
23257         (do_test): ... this.
23258         (TEST_FUNCTION): New macro.
23259         Include test-skeleton.c.
23261 2015-03-26  Alan Modra  <amodra@gmail.com>
23263         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23264         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23265         zero for undefined weak.
23266         (elf_machine_plt_conflict): Similarly.
23268 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23270         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23271         atanh.
23272         * math/auto-libm-test-out: Regenerated.
23273         * sysdeps/i386/fpu/libm-test-ulps: Update.
23274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23276         * math/auto-libm-test-in: Add another test of asin.
23277         * math/auto-libm-test-out: Regenerated.
23278         * sysdeps/i386/fpu/libm-test-ulps: Update.
23279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23282         Remove macro.
23283         (LLL_EBX_REG): Likewise.
23284         (LLL_ENTER_KERNEL): Likewise.
23286         * math/auto-libm-test-in: Add more tests of asin.
23287         * math/auto-libm-test-out: Regenerated.
23288         * sysdeps/i386/fpu/libm-test-ulps: Update.
23289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291         [BZ #18138]
23292         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23293         libc_do_syscall_args): New structure.
23294         (INTERNAL_SYSCALL_MAIN_0): New macro.
23295         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23296         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23297         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23298         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23299         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23300         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23301         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23302         Replace conditional definitions by conditional definitions of ....
23303         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23304         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23305         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23306         (libpthread-sysdep_routines): Add libc-do-syscall.
23307         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23309         to __NR_futex not 240.
23311 2015-03-25  Alan Modra  <amodra@gmail.com>
23313         * NEWS: Advertise TLS optimization.
23314         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23315         (DT_PPC_NUM): Increment.
23316         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23317         (CHECK_STATIC_TLS): Use here.
23318         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23319         TLS descriptors.
23320         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23321         * sysdeps/powerpc/dl-tls.c: New file.
23322         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23323         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23324         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23325         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23330 2015-03-25  Alan Modra  <amodra@gmail.com>
23332         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23333         for overlapping .opd entries" to "support...".
23334         * sysdeps/powerpc/powerpc64/configure: Regenerate
23336 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23338         * math/auto-libm-test-in: Add more tests of acos.
23339         * math/auto-libm-test-out: Regenerated.
23340         * sysdeps/i386/fpu/libm-test-ulps: Update.
23341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23343         * math/auto-libm-test-in: Add more tests of expm1.
23344         * math/auto-libm-test-out: Regenerated.
23345         * sysdeps/i386/fpu/libm-test-ulps: Update.
23346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23348 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23350         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23351         * math/auto-libm-test-out: Regenerated.
23352         * sysdeps/i386/fpu/libm-test-ulps: Update.
23353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23355         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23358         * math/auto-libm-test-in: Add more tests of log2.
23359         * math/auto-libm-test-out: Regenerated.
23360         * sysdeps/i386/fpu/libm-test-ulps: Update.
23361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23363 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23365         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23366         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23367         _IO_IS_APPENDING bit in READ_WRITE instead.
23369 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23372         (__determine_cpumask_size): Replace extend_alloca with a
23373         variable-length array.  Do not treat res == 0 as an error.
23375 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23377         [BZ #18100]
23378         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23379         and integer overflow.
23380         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23381         (main): Add integer overflow tests.
23382         * manual/pattern.texi (Calling Wordexp): Document additional use
23383         for WRDE_SYNTAX.
23385 2015-03-23  Alan Modra  <amodra@gmail.com>
23387         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23388         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23389         and false branch of conditional.
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23391         Likewise.
23393 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23395         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23396         libc-modules.h
23397         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23398         unused declaration of _hurd_intr_rpc_msg_in_trap.
23399         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23400         defined instead of whether it is non-zero.
23401         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23402         input constraint instead of both input and output constraint.  Use ecx
23403         clobber instead of %ecx.
23404         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23405         mutex_unlock): Use a statement expression instead of an expression list.
23406         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23407         type to vm_size_t instead of vm_address_t.
23408         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23409         defined instead of whether it is non-zero.
23410         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23411         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23412         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23413         comparisons with mapaddr.
23414         * nscd/nscd-client.h: Include <time.h>.
23415         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23416         9th parameter to __vm_region instead of int.
23417         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23418         * scripts/check-local-headers.sh (exclude): Add device/,
23419         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23420         cthreads.h.
23422 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23424         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23425         to account for alignment padding.
23426         * sysdeps/arm/memmove.S: Likewise.
23428 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23430         * sysdeps/unix/sysv/linux/generic/README: New file.
23432 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23434         [BZ #18138]
23435         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23436         (futex_abstimed_wait)
23437         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23438         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23439         of lll_futex_timed_wait.
23441 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23443         [BZ #17542]
23444         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23446 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23448         [BZ #17090]
23449         [BZ #17620]
23450         [BZ #17621]
23451         [BZ #17628]
23452         * NEWS: Update.
23453         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23454         entries with Static TLS too.  Skip entries past the end of the
23455         allocated DTV, from Alan Modra.
23456         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23457         Static TLS DTV entry set up from...
23458         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23459         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23460         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23461         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23462         for Static TLS.
23463         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23464         that the slot we find is associated with the given map before
23465         using its generation count.
23466         * nptl_db/db_info.c: Include ldsodefs.h.
23467         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23468         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23469         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23470         (link_map::l_tls_offset): New struct field.
23471         (dtv_t::counter): Likewise.
23472         (rtld_global): New struct.
23473         (_rtld_global): New rtld variable.
23474         (dl_tls_dtv_slotinfo_list): New rtld global field.
23475         (dtv_slotinfo_list): New struct.
23476         (dtv_slotinfo): Likewise.
23477         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23478         (td_lookup): Rename to...
23479         (td_mod_lookup): ... this.  Use new mod parameter instead of
23480         LIBPTHREAD_SO.
23481         * nptl_db/td_thr_tlsbase.c: Include link.h.
23482         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23483         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23484         addresses even if the DTV is out of date or missing them.
23485         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23486         index zero-length arrays.
23487         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23488         (td_lookup): Make it a macro implemented in terms of...
23489         (td_mod_lookup): ... this declaration.
23490         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23491         (DB_MAIN_VARIABLE): Likewise.
23493 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23495         [BZ #18134]
23496         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23498 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23500         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23502 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23504         [BZ #18128]
23505         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23506         (atomic_add, atomic_increment_and_test)
23507         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23509 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23511         * stdlib/setenv.c (__add_to_environ):
23512         Dump core quickly if setenv (..., NULL, ...) is called.
23514 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23516         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23517         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23518         all the necessary asm magic in one place.
23519         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23520         using those.
23522 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23524         [BZ #14906]
23525         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23526         traced file mtime. Use consistent log message.
23527         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23528         (register_traced_file): Call install_watches. Always set mtime.
23529         (invalidate_cache): Iterate over all trace files. Call install_watches.
23530         (inotify_check_files): Don't inline. Handle watching parent
23531         directories and configuration file movement in and out.
23532         (handle_inotify_events): New function.
23533         (main_loop_poll): Call handle_inotify_events.
23534         (main_loop_epoll): Likewise.
23535         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23536         (struct traced_file): Use array of inotify fds. Add parent directory,
23537         and basename.
23538         (struct database_dyn): Remove unused file_mtime.
23539         (init_traced_file): New inline function.
23540         (define_traced_file): New macro.
23541         * nss/nss_db/db-init.c: Use define_traced_file.
23542         (_nss_db_init): Use init_traced_file.
23543         * nss/nss_files/files-init.c: Use define_traced_file.
23544         (_nss_files_init): Use init_traced_file.
23546 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23548         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23549         [_LIBC]: Do not include <stdlib.h>.
23550         [!_LIBC] (abort): Remove declaration.
23551         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23552         _FP_STATIC_ASSERT instead of conditionally calling abort.
23553         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23554         (_FP_EXTEND_CNAN): Likewise.
23555         (FP_TRUNC): Likewise.
23556         (__FP_CLZ): Likewise.
23557         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23559 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23561         * manual/string.texi (XPG basename): Fix prototype.
23563 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23565         [BZ #18080]
23566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23567         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23568         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23569         (__setcontext): Likewise.
23570         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23571         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23572         Call rt_sigprocmask syscall one time to set new signal mask
23573         and retrieve the current signal mask instead of two calls.
23574         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23575         (__swapcontext): Likewise.
23576         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23577         * stdlib/tst-setcontext2.c: New file.
23579 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23581         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23583 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23585         [BZ #18093]
23586         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23587         the wrong size.
23589 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23591         [BZ #18043]
23592         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23594 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23596         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23597         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23598         Remove define.
23599         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23600         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23601         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23602         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23603         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23604         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23605         define.
23606         * nptl_db/td_symbol_list.c (td_lookup): Remove
23607         HAVE_ASM_GLOBAL_DOT_NAME code.
23608         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23609         HAVE_ASM_GLOBAL_DOT_NAME check.
23610         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23611         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23612         (DOT_LABEL): Remove define.
23613         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23614         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23615         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23616         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23617         (__TLS_GET_ADDR): Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23619         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23621 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23623         [BZ #18111]
23624         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23625         (_FPU_SETCW): Initialize cw from fpsr before storing.
23626         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23627         (fesetexceptflag): Rewrite using fpu_control.h.
23628         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23630 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23632         [BZ #18110]
23633         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23634         asms.
23635         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23637 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23639         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23640         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23641         abort.
23642         (_FP_FMA): Likewise.
23643         (_FP_DIV): Likewise.
23645 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23647         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23648         with 0 in that case.
23649         * Makefile (summarize-tests): New canned sequence, factored out of
23650         commands for targets tests and xtests.  Display summary lines that
23651         don't start with PASS: or XFAIL: rather than ones that do start with
23652         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23653         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23654         do start with ERROR: or FAIL:.
23655         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23656         (except for [$(build-shared) = yes]).
23657         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23658         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23659         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23660         * nptl/Makefile: Revert 2015-03-04 changes.
23661         [$(CXX) empty] (tests-unsupported): New variable.
23662         * debug/Makefile: Likewise.
23664         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23665         gnulib file.  Replace __attribute with __attribute__ throughout.
23667 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23669         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23671 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23673         [BZ #18104]
23674         * math/auto-libm-test-in: Add another test of pow.
23675         * math/auto-libm-test-out: Regenerated.
23677 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23679         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23680         $(config-cflags-nofma).
23682 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23684         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23685         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23686         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23687         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23688         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23689         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23690         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23691         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23692         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23693         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23694         Add comment on closing #endif.
23696 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23698         * posix/wordexp.c (CHAR_IN_SET): New macro.
23699         (parse_param): Use it.
23701 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23703         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23705 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23707         [BZ #18043]
23708         * posix/wordexp.c (parse_param): Fix buffer overflow.
23709         * posix/wordexp-test.c (test_case): Add test case.
23711 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23713         [BZ #18042]
23714         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23715         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23717 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23719         [BZ #18043]
23720         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23721         (do_bz18043): Delete.
23722         (at_page_end): New.
23723         (testit): Refactor to have words at the edge of unreadable page.
23725 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23727         [BZ #16734]
23728         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23729         Cleanup read-only streams as well.
23730         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23732 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23734         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23735         <bits/libc-lockP.h>
23737 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23739         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23740         on [__KERNEL__].
23741         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23742         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23743         * soft-fp/op-common.h (_FP_DECL): Likewise.
23745 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23747         * elf/ifuncdep2.c (global): Replace
23748         __attribute__((visibility("protected"))) with
23749         asm (".protected global").
23750         * elf/ifuncmod1.c (global): Likewise.
23751         * elf/ifuncmod5.c (global): Likewise.
23753 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23755         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23756         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23758 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23760         * manual/install.texi (Configuring and compiling):
23761         Document test-wrapper-env-only.
23762         * INSTALL: Regenerated.
23764 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23766         [BZ #18043]
23767         * posix/wordexp.c (parse_param): Fix buffer overflow.
23768         * posix/wordexp-test.c (do_bz18043): Add test case.
23770 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23772         * time/tst-strptime2.c (do_test): Ensure failing tests are
23773         reported correctly.
23774         * time/tst-strptime3.c (do_test): Likewise.
23776 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23778         Fix aio_error thread-safety.
23779         * sysdeps/pthread/aio_error.c: New file
23780         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23781         synchronization.
23783 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23785         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23786         (group_number, vfprintf): Use it.
23787         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23788         (JUMP, REF): Use it.
23789         (WORK_BUFFER_SIZE): New enum constant.
23790         (process_arg, vfprintf): Use it.
23792 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23794         * manual/errno.texi (Error Messages): Complete example function
23795         by adding missing #define.
23796         (program_invocation_name): Add statement indicating GNU
23797         extension and reference which header file declares the variable.
23798         (program_invocation_short_name): Likewise.
23800 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23802         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23803         compatibility note.
23805 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23807         * Makeconfig (test-wrapper-env-only): New variable.
23808         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23809         then use that with $(test-wrapper-env-only) rather than using
23810         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23812 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23814         [BZ #18082]
23815         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23816         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23817         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23818         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23819         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23820         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23821         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23822         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23823         Likewise.
23824         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23826         Likewise.
23827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23828         Likewise.
23829         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23830         Likewise.
23831         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23832         Likewise.
23833         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23834         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23835         Likewise.
23836         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23837         Likewise.
23838         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23839         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23841 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23843         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23844         (ETH_ALEN): New macro.
23845         (struct ether_addr): Use it for length of ether_addr_octet.
23847         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23848         (setdb): Don't call __nss_configure_lookup for "rpc".
23849         (do_test): Don't call test_rpc.
23850         (output_rpcent, test_rpc): Functions moved ...
23851         * sunrpc/test-rpcent.c: ... to this new file.
23852         * sunrpc/Makefile (tests): Add it.
23854         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23855         __xpg_sigpause.
23856         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23857         * nptl/tst-signal6.c: Likewise.
23858         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23859         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23861         * configure.ac (libc_cv_cxx_link_ok): New check.
23862         Reset CXX to empty if it fails to link.
23863         * configure: Regenerated.
23864         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23865         bug-atexit3-lib only if $(CXX) is nonempty.
23866         * nptl/Makefile (tests): Likewise for tst-cancel24.
23867         (tests, tests-static): Likewise for tst-cancel24-static.
23868         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23869         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23870         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23871         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23873 2015-03-04  Andreas Schwab  <schwab@suse.de>
23875         [BZ #17631]
23876         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23877         for non-GCC compilers.
23878         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23879         Likewise.
23881 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23883         [BZ #17776]
23884         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23885         integer before bitwise and assembly operations.
23886         (feclearexcept): Likewise.
23887         * math/test-fenvinline.c: New file.
23888         * math/Makefile: Add test-fenvinline test.
23890 2015-03-03  Alan Modra  <amodra@gmail.com>
23892         [BZ #16512]
23893         * scripts/localplt.awk: Strip off symbol version.
23894         * NEWS: Mention bug fix.
23896 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23898         * sysdeps/pthread/timer_routines.c
23899         (timer_free_list, thread_free_list, thread_active_list): Make static.
23901 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23903         [BZ #17779]
23904         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23905         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23906         Undefine.
23907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23908         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23909         Likewise.
23910         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23911         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23912         Likewise.
23914 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23916         [BZ #18036]
23917         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23918         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23920 2015-03-02  Andreas Schwab  <schwab@suse.de>
23922         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23923         variable name.
23925 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23927         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23928         Return error status.
23930 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23932         [BZ #15969]
23933         * locale/findlocale.c (_nl_find_locale): Introduce const
23934         version of loc_name and drop unsafe type casts.
23936 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23938         * dlfcn/tststatic2.c (main): Converted to ...
23939         (do_test): ... this.
23940         (TEST_FUNCTION): New macro.
23941         Include test-skeleton.c.
23943 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23945         [BZ #17711]
23946         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23947         (tests-pie): Add vismain.
23948         (CFLAGS-vismain.c): New.
23949         * elf/vismain.c: Add comments for PIE requirement.
23951 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23953         [BZ #18046]
23954         [BZ #18047]
23955         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23956         0x1p-56L as threshold for just returning the argument.
23957         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23958         0x1p-32L as threshold for just returning the argument.
23959         * math/auto-libm-test-in: Add more tests of atanh.
23960         * math/auto-libm-test-out: Regenerated.
23961         * sysdeps/i386/fpu/libm-test-ulps: Update.
23962         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23964 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23966         * string/bcopy.c (bcopy): Call memmove for performance.
23968 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23970         * string/bzero.c (__bzero): Call memset for performance.
23972 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23974         [BZ #18068]
23975         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23976         to 00100000.
23978 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23980         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23982 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23984         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23985         (__kernel_standard): Use CSTR macro when setting exc.name.
23986         * sysdeps/ieee754/Makefile [$(subdir) = math]
23987         (CFLAGS-k_standard.c): Remove variable.
23989         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23990         setting p and q from "else if" to "else".
23991         (qzero): Likewise.
23992         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23993         (qone): Likewise.
23994         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23995         (qzerof): Likewise.
23996         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23997         (qonef): Likewise.
23998         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23999         (qzero): Likewise.
24000         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24001         (qone): Likewise.
24003         [BZ #18038]
24004         [BZ #18039]
24005         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24006         return pi/2 for arguments below 0x1p-113L.
24007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24008         return pi/2 for arguments below 0x1p-106L.
24009         * math/auto-libm-test-in: Add more tests of acos.
24010         * math/auto-libm-test-out: Regenerated.
24012         [BZ #16351]
24013         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24014         (MO): New macro.
24015         (__ieee754_asin): Force underflow exception for results with small
24016         absolute value.
24017         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24018         (MO): New macro.
24019         (__ieee754_asinf): Force underflow exception for results with
24020         small absolute value.
24021         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24022         (__ieee754_asin): Force underflow exception for results with small
24023         absolute value.
24024         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24025         (__ieee754_asinf): Force underflow exception for results with
24026         small absolute value.
24027         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24028         (__ieee754_asinl): Force underflow exception for results with
24029         small absolute value.
24030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24031         (__ieee754_asinl): Force underflow exception for results with
24032         small absolute value.
24033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24034         (__ieee754_asinl): Force underflow exception for results with
24035         small absolute value.
24036         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24037         Include <math.h>.
24038         * math/auto-libm-test-in: Do not mark underflow exceptions as
24039         possibly missing for bug 16351.
24040         * math/auto-libm-test-out: Regenerated.
24042         [BZ #18030]
24043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24044         of power of 2 down when low part has opposite sign.
24045         * math/libm-test.inc (logb_test_data): Add more tests.
24047 2015-02-26  Andreas Schwab  <schwab@suse.de>
24049         [BZ #18032]
24050         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24051         over collating symbol inside a bracket expression.  Minor cleanup.
24052         * posix/tst-fnmatch3.c (do_test): Add test case.
24054 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24056         [BZ #18029]
24057         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24058         Adjust exponent of power of 2 down when low part has opposite
24059         sign.
24060         * math/libm-test.inc (ilogb_test_data): Add more tests.
24062 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24064         [BZ #15969]
24065         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24066         the previous change.
24068         [BZ #15969]
24069         * locale/findlocale.c (_nl_find_locale): Retry archive search
24070         after alias expansion.
24072 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24074         * iconv/tst-iconv3.c (main): Converted to ...
24075         (do_test): ... this.
24076         (TEST_FUNCTION): New macro.
24077         Include test-skeleton.c.
24079         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24080         (convert): Make function static.
24081         (test_unalign): Likewise.  Add const to argument pointee types.
24082         (main): Replace with static function do_test.
24083         Print "Succeeded." only if RET is zero.
24084         (TEST_FUNCTION): New macro.
24085         Include test-skeleton.c.
24087         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24088         returns a null pointer.
24090 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24092         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24093         to __memcpy_ppc only for static builds.
24095 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #18020]
24098         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24099         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24100         * math/auto-libm-test-in: Add more tests of asinh.
24101         * math/auto-libm-test-out: Regenerated.
24102         * sysdeps/i386/fpu/libm-test-ulps: Update.
24103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24105 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24107         [BZ #15850]
24108         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24109         and ip6_mtuinfo definitions here.
24110         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24111         in this define too.  Update comment.
24113 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24115         * elf/sprof.c (load_shobj): Tweak error message to match others.
24117 2015-02-24  Kevin Easton  <kevin@guarana.org>
24119         [BZ #16145] (partial fix)
24120         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24121         to reduce lock contention.
24123 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24125         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24126         (struct timex): Update time comment.
24127         (ADJ_SETOFFSET): Define.
24129 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24131         [BZ #18019]
24132         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24133         2**56 not 2**28 as threshold for log (2x) formula.
24134         * math/auto-libm-test-in: Add more tests of acosh.
24135         * math/auto-libm-test-out: Regenerated.
24136         * sysdeps/i386/fpu/libm-test-ulps: Update.
24137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24139 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24141         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24142         parenthesis around the buf assignment.
24143         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24145 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24147         [BZ #16783]
24148         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24149         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24150         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24151         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24152         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24153         * math/libm-test.inc (scalb_test_data): Add more tests.
24155 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24157         [BZ #17916]
24158         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24159         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24161 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24163         [BZ #17523]
24164         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24165         * io/bits/fcntl2.h (open): Use it.
24166         (openat): Likewise.
24167         * io/open.c (__libc_open): Likewise.
24168         * io/open64.c (__libc_open64): Likewise.
24169         * io/open64_2.c (__open64_2): Likewise.
24170         * io/open_2.c (__open_2): Likewise.
24171         * io/openat.c (__openat): Likewise.
24172         * io/openat64.c (__openat64): Likewise.
24173         * io/openat64_2.c (__openat64_2): Likewise.
24174         * io/openat_2.c (__openat_2): Likewise.
24175         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24176         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24177         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24178         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24179         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24180         (__open_nocancel): Likewise.
24181         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24182         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24183         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24185 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24187         [BZ #14841]
24188         * resolv/gethnamaddr.c (getanswer): Skip logging if
24189         RES_USE_DNSSEC is set.
24190         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24192 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24194         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24196 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24198         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24199         201304L, for Unicode 7.
24201 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24203         [BZ #17836]
24204         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24205         shared library.  Add gmon-start.os otherwise.
24206         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24207         $(objpfx)gmon-start.os if builing shared library.
24208         ($(objpfx)g$(static-start-installed-name)): Likewise.
24210 2015-02-23  Andreas Schwab  <schwab@suse.de>
24212         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24214 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24216         [BZ #17269]
24217         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24218         (enlarge_userbuf): Likewise.
24220 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24222         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24223         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24224         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24225         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24227 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24229         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24230         expression inside statement expression.
24232 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24234         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24235         <sysdeps/nptl/lowlevellock.h> and remove macros and
24236         functions that are now defined there.
24237         (SYS_futex): Remove.
24238         (lll_compare_and_swap): Remove.
24239         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24241 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24243         [BZ #17999]
24244         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24245         instead of scandirat.
24246         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24247         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24248         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24249         __scandirat.
24250         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24251         (__scandirat): Declare.  Use libc_hidden_proto.
24252         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24253         Remove variable.
24254         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24256 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24258         [BZ #15319]
24259         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24260         (MO): New macro.
24261         (__ieee754_atan2): For results with small absolute value, force
24262         underflow exception and remove excess range and precision from
24263         return value.
24264         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24265         (MO): New macro.
24266         (__ieee754_atan2f): For results with small absolute value, force
24267         underflow exception and remove excess range and precision from
24268         return value.
24269         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24270         (MO): New macro.
24271         (__atan): For results with small absolute value, force underflow
24272         exception and remove excess range and precision from return value.
24273         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24274         (MO): New macro.
24275         (__atanf): For results with small absolute value, force underflow
24276         exception and remove excess range and precision from return value.
24277         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24278         <math.h>.
24279         (__ieee754_atan2): Force underflow exception for results with
24280         small absolute value.
24281         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24282         <math_private.h>.
24283         (atan): Force underflow exception for results with small absolute
24284         value.
24285         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24286         (__atanf): Force underflow exception for results with small
24287         absolute value.
24288         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24289         <math.h>.
24290         (__atanl): Force underflow exception for results with small
24291         absolute value.
24292         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24293         (__atanl): Force underflow exception for results with small
24294         absolute value.
24295         * sysdeps/x86/fpu/bits/mathinline.h
24296         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24297         (__ieee754_atan2): Only define inline for long double.
24298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24299         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24300         * math/auto-libm-test-in: Do not mark underflow exceptions as
24301         possibly missing for bug 15319.  Add more tests of atan2.
24302         * math/auto-libm-test-out: Regenerated.
24303         * math/libm-test.inc (casin_test_data): Do not mark underflow
24304         exceptions as possibly missing for bug 15319.
24305         (casinh_test_data): Likewise.
24306         * sysdeps/i386/fpu/libm-test-ulps: Update.
24308 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24310         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24311         * sysdeps/mips/bits/endian.h: Fix comments.
24313 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24315         [BZ #17996]
24316         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24317         (hdestroy_r): Likewise.
24318         (hsearch_r): Likewise.
24319         (__hcreate_r): Declare and use libc_hidden_proto.
24320         (__hdestroy_r): Likewise.
24321         (__hsearch_r): Likewise.
24322         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24323         (hcreate): Call __hcreate_r instead of hcreate_r.
24324         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24325         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24326         as weak alias of __hcreate_r.
24327         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24328         __hdestroy_r.
24329         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24330         __hsearch_r.
24331         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24332         Remove variable.
24333         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24334         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24335         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24336         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24338 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24340         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24341         arena_lock into a single arena_get.
24343 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24345         * dl-reloc.c: Inlucde libc-internal.h.
24346         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24347         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24348         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24349         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24350         (grow_heap): Likewise.
24351         * malloc/malloc.c: Include libc-internal.h.
24352         (do_check_malloc): Call powerof2.
24353         (sysmalloc): Use pagesize. Call ALIGN_UP.
24354         (systrim): Use pagesize.
24355         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24356         (__libc_valloc): Use pagesize.
24357         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24359 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24361         [BZ #17991]
24362         * include/sys/resource.h (__getrlimit64): Declare.  Use
24363         libc_hidden_proto.
24364         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24365         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24366         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24367         getrlimit64.
24368         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24369         __getrlimit64.
24370         [!getrlimit64] (getrlimit64): Define as weak alias of
24371         __getrlimit64.  Use libc_hidden_weak.
24372         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24373         using __getrlimit64 not __new_getrlimit64.
24374         (__GI_getrlimit64): Likewise.
24375         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24376         Likewise.
24377         (__GI_getrlimit64): Likewise.
24378         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24380         (getrlimit): Add __getrlimit64 alias.
24381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24382         Likewise.
24383         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24384         Remove variable.
24385         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24386         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24388 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24390         * libio/fileops.c: Add missing sys/mman.h
24391         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24393 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24395         * manual/math.texi (Errors in Math Functions): Clarify goals
24396         regarding inexact and underflow exceptions.
24398 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24400         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24401         * sysdeps/mips/memset.S: Ditto.
24403 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24405         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24407 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24409         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24410         (__v1longjmp): Remove versioned symbol.
24411         (__v1siglongjmp): Remove alias and versioned symbol.
24412         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24413         (__v2siglongjmp): Likewise.
24415 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24417         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24419 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24421         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24423 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24425         [BZ #17987]
24426         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24427         zero result does not depend on the sign resulting from
24428         subtraction.
24429         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24430         Likewise.
24431         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24432         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24433         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24434         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24435         * math/libm-test.inc (remquo_test_data): Add more tests.
24437 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24439         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24440         Problem reported by J William Piggott.
24442 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24444         [BZ #17978]
24445         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24446         products 4 * y and 2 * y where those would overflow.
24447         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24448         Likewise.
24449         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24450         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24451         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24452         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24453         * math/libm-test.inc (remquo_test_data): Add more tests.
24455         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24457         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24458         [defined _COMPILING_NEWLIB].
24459         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24460         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24462         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24463         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24465 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24467         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24468         acquired.
24470 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24472         [BZ #17792]
24473         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24474         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24475         HOST_STACK_END_ADDR): Likewise.
24477 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24479         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24480         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24481         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24483 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24485         * sysdeps/generic/c++-types.data: New file.
24486         * sysdeps/generic/ld.abilist: New file.
24487         * sysdeps/generic/libBrokenLocale.abilist: New file.
24488         * sysdeps/generic/libanl.abilist: New file.
24489         * sysdeps/generic/libc.abilist: New file.
24490         * sysdeps/generic/libcrypt.abilist: New file.
24491         * sysdeps/generic/libdl.abilist: New file.
24492         * sysdeps/generic/libm.abilist: New file.
24493         * sysdeps/generic/libpthread.abilist: New file.
24494         * sysdeps/generic/libresolv.abilist: New file.
24495         * sysdeps/generic/librt.abilist: New file.
24497 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24499         [BZ #17569]
24500         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24501         Compute absolute value of x as modified by fmod, not original
24502         value of x.
24503         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24504         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24505         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24506         RUN_TEST_ffI_f1_mod8.
24507         (remquo_test_data): Add more tests.
24509 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24511         * sysdeps/init_array/pt-crti.S: New file.
24513 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24515         [BZ #17967]
24516         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24517         __builtin_fmaf instead of relying on contraction of a * b + c.
24519 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24521         [BZ #17969]
24522         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24523         node.
24525 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24527         [BZ #17964]
24528         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24529         __builtin_fma instead of relying on contraction of a * b + c.
24531 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24533         * Makeconfig (ASFLAGS): Add -Werror=undef.
24534         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24535         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24536         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24538         * Makeconfig (after-link): New variable.
24539         (+link-pie, +link-pie-tests): Use it.
24540         (+link-static, +link-static-tests): Likewise.
24541         (+link, +link-tests): Likewise.
24542         * Makerules (build-module, build-module-asneeded): Likewise.
24543         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24544         Likewise.
24545         * elf/Makefile ($(objpfx)ld.so): Likewise.
24547 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24549         [BZ #17965]
24550         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24551         both struct timeval and struct timespec.
24553 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24555         [BZ #16560]
24556         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24557         and redefine.
24558         (__ieee754_exp2l): Do not multiply small fractional parts by
24559         M_LN2l.
24560         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24561         small argument.
24562         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24563         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24564         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24565         * math/auto-libm-test-in: Add more tests of exp2.
24566         * math/auto-libm-test-out: Regenerated.
24568 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24570         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24571         unaligned path.
24573 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24575         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24576         little endian.
24578 2015-02-12  Andreas Schwab  <schwab@suse.de>
24580         [BZ #15790]
24581         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24582         Filter out elision flags from value returned in kind.
24583         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24584         * nptl/tst-pthread-mutexattr.c: New file.
24586 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24588         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24589         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24590         into gnu-gnu, and update comment to refer to abi-tags.
24592 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24594         [BZ #15467]
24595         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24596         (__sincos): Set errno to EDOM for infinite argument.
24597         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24598         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24599         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24600         (__sincosl): Set errno to EDOM for infinite argument.
24601         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24602         (__sincosl): Set errno to EDOM for infinite argument.
24603         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24604         (__sincosl): Set errno to EDOM for infinite argument.
24605         * math/libm-test.inc (sincos_test_data): Test errno setting.
24607 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24609         * string/strxfrm_l.c: Remove #define STRCMP.
24610         * string/strcoll_l.c: Remove #define STRLEN.
24611         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24612         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24614 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24616         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24617         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24618         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24619         * sysdeps/mips/mips64/Makefile: ... here.
24620         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24621         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24622         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24623         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24624         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24625         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24626         * sysdeps/mips/mips64/n64/Implies: Likewise.
24628 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24630         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24631         <sys/time.h>, <string.h>, and <errno.h>.
24632         (dest_offset, dest_address, value, zero): Remove unused variables.
24633         (ldouble): Remove typedef.
24634         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24635         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24636         1).  Fix code style.
24637         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24638         (check): Function removed.
24639         (CHECK): New macro.
24640         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24641         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24642         Don't call set_sigaction_FP and remove_sigaction_FP here.
24643         (ldouble_test): Just use 'long double' as macro argument, no need for
24644         the 'ldouble' typedef.
24645         (do_test): Set up SIGFPE handler at start, using plain signal rather
24646         than sigaction.  Fix code style.
24648 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24650         [BZ #17949]
24651         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24652         jump label.
24654 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24656         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24657         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24659         * sysdeps/powerpc/configure.ac: Remove file.
24660         * sysdeps/powerpc/configure: Likewise.
24662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24663         [sysdep_routines]: Remove wordcopy-power6 object.
24664         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24665         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24666         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24667         (__memmove_ppc32): Likewise.
24668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24669         file.
24670         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24672         Remove preprocessor.
24674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24675         [sysdep_routines]: Remove wide chars objects.
24676         [wcsmbs]: New rule for wide char objects.
24678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24679         Remove wordcopy-power6 obejct.
24680         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24681         Use local call for wordcopy and memcpy symbols.
24682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24684         implementation for loader.
24685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24688         Remove wordcopy-power7 object.
24689         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24691         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24692         (_wordcopy_fwd_dest_aligned): Likewise.
24693         (_wordcopy_bwd_aligned): Likewise.
24694         (_wordcopy_bwd_dest_aligned): Likewise.
24696         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24697         Rewrite to call __memmove_ppc instead of include default
24698         implementation.
24700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24701         Remove wide chars objects.
24702         [wcsmbs]: New rule for wide char objects.
24704 2015-02-09  Andreas Schwab  <schwab@suse.de>
24706         [BZ #17912]
24707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24708         in terms of __O_DIRECTORY.
24710 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24712         * time/getdate.c: Include <stdbool.h>.
24713         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24714         call PTR_MANGLE.
24715         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24716         PTR_DEMANGLE.
24718 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24720         Add ersatz _Static_assert on older C hosts
24721         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24722         pre-C11 C platform that is not known to support _Static_assert.
24724 2015-02-07  Richard Braun  <rbraun@sceen.net>
24726         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24727         sigstate.
24728         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24730 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24732         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24733         priority against unexistent AIO_PRIO_DELTA_MAX.
24734         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24735         instead of int.
24736         * misc/fchflags.c (fchflags): Likewise.
24737         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24738         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24739         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24740         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24741         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24742         Declare macros.
24743         [__USE_MISC] (chflags, fchflags): Declare functions.
24744         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24745         EINVAL when nfds is greater than FD_SETSIZE.
24746         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24747         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24748         45.
24749         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24750         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24751         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24752         MACH_RCV_TIMED_OUT.
24753         * hurd/hurd/signal.h (_hurd_self_sigstate,
24754         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24755         Explicit casts from void *.
24756         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24757         * abi-tags: Rename gnu-gnu os into gnu.
24759         [BZ #4719]
24760         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24761         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24762         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24763         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24764         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24765         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24767         [BZ #17944]
24768         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24769         duplicates ADDR->sun_path with sockaddr LEN limitation.
24770         * sysdeps/mach/hurd/connect.c: Include <string.h>
24771         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24772         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24773         * sysdeps/mach/hurd/sendto.c: Likewise.
24774         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24775         implementing it by hand.
24777 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24779         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24780         Use sfi_breg on ldr.
24781         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24782         Likewise.
24784         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24785         it's defined.
24786         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24787         Test SIGSETXID only if it's defined.
24789         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24791         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24792         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24794         * nptl/tst-align2.c: Moved ...
24795         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24796         * nptl/Makefile (tests): Remove tst-align2.
24797         * sysdeps/unix/sysv/linux/Makefile
24798         [$(subdir) = nptl] (tests): Add tst-align-clone.
24799         * nptl/tst-getpid1.c: Moved ...
24800         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24801         * nptl/tst-getpid2.c: Moved ...
24802         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24803         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24804         * sysdeps/unix/sysv/linux/Makefile
24805         [$(subdir) = nptl] (tests): ... here.
24806         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24807         * sysdeps/unix/sysv/linux/Makefile
24808         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24810         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24811         Drop trailing \n from perror argument.  Use return rather than exit.
24813         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24814         on [SA_SIGINFO].
24815         * nptl/tst-cancel21.c (do_test): Likewise.
24816         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24817         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24818         [!SA_SIGINFO]: Make it a stub test.
24820         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24821         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24823         * posix/tst-getlogin.c: Move to ...
24824         * login/tst-getlogin.c: ... here.
24825         * posix/Makefile (tests): Move tst-getlogin to ...
24826         * login/Makefile (tests): ... here.
24828         * libio/tst-atime.c (do_test): Move local variables SV and E
24829         inside [ST_NOATIME] conditional.
24831         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24833         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24835         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24836         (wait_code): New function replaces macro.
24837         Call nanosleep rather than syscall.
24839         * nptl/pt-system.c: Rewritten.  Put everything under
24840         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24841         Use IFUNC to redirect when possible.
24843         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24844         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24845         Use IFUNC to redirect when possible.
24847         * nptl/pt-fork.c: Rewritten.  Put everything under
24848         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24849         Use IFUNC to redirect when possible.
24850         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24852         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24853         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24854         unconditionally nowadays.  This included the only reference to
24855         __vdso_clock_gettime that appears outside libc proper.
24856         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24857         Remove version set (containing only __vdso_clock_gettime).
24858         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24859         Add attribute_hidden.
24860         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24861         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24862         libc_hidden_data_def.
24863         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24864         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24866         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24867         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24868         setrpcent, and getrpcport to ...
24869         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24870         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24871         getrpcbynumber_r, and getrpcent_r to ...
24872         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24873         * inet/getrpcbyname.c: Moved ...
24874         * sunrpc/getrpcbyname.c: ... here.
24875         * inet/getrpcbyname_r.c: Moved ...
24876         * sunrpc/getrpcbyname_r.c: ... here.
24877         * inet/getrpcbynumber.c: Moved ...
24878         * sunrpc/getrpcbynumber.c: ... here.
24879         * inet/getrpcbynumber_r.c: Moved ...
24880         * sunrpc/getrpcbynumber_r.c: ... here.
24881         * inet/getrpcent.c: Moved ...
24882         * sunrpc/getrpcent.c: ... here.
24883         * inet/getrpcent_r.c: Moved ...
24884         * sunrpc/getrpcent_r.c: ... here.
24885         * inet/Makefile (routines): Move those to ...
24886         * sunrpc/Makefile (routines): ... here.
24887         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24888         the $(subdirs) list.
24889         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24890         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24891         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24892         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24894         * elf/Makefile (routines): Include $(all-dl-routines), not just
24895         $(dl-routines).
24896         (rtld-routines): Likewise.  Use = rather than :=.
24897         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24898         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24899         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24900         * sysdeps/arm/Makefile: Likewise.
24901         * sysdeps/i386/Makefile: Likewise.
24902         * sysdeps/x86_64/Makefile: Likewise.
24903         * sysdeps/hppa/Makefile [$(subdir) = elf]
24904         (sysdep_routines, sysdep-rtld-routines): Don't add
24905         $(sysdep-dl-routines) to these.
24906         * sysdeps/ia64/Makefile: Likewise.
24907         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24908         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24909         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24910         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24911         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24912         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24913         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24914         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24915         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24916         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24917         these; sysdep-dl-routines alone is enough.
24919 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24921         [BZ #17932]
24922         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24923         where multiplication results in zero and third argument is finite
24924         and nonzero.
24925         * math/auto-libm-test-in: Add more tests of fma.
24926         * math/auto-libm-test-out: Regenerated.
24928         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24929         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24930         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24931         (_FP_CMP_EQ): Likewise.
24932         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24934         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24935         extra argument CHECK_NAN.  Redefine as wrapper around
24936         _FP_EXTEND_CNAN.
24938 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24940         * version.h (RELEASE): Set to "stable".
24941         (VERSION): Set to "2.21"
24942         * include/features.h (__GLIBC_MINOR__): Set to 21.
24944         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24946 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24947             Paul Eggert  <eggert@cs.ucla.edu>
24949         [BZ #16618]
24950         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24951         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24952         size in bytes. Store needed elements in wpmax. Use needed size
24953         in bytes for extend_alloca.
24955 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24957         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24958         binutls 2.25, and texinfo 5.2.
24959         * INSTALL: Regenerate.
24960         * sysdeps/nios2/configure: Regenerate.
24961         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24962         * manual/contrib.texi: Update.
24963         * po/be.po: Update.
24964         * po/bg.po: Update.
24965         * po/ca.po: Update.
24966         * po/cs.po: Update.
24967         * po/da.po: Update.
24968         * po/de.po: Update.
24969         * po/el.po: Update.
24970         * po/eo.po: Update.
24971         * po/es.po: Update.
24972         * po/fi.po: Update.
24973         * po/fr.po: Update.
24974         * po/gl.po: Update.
24975         * po/hr.po: Update.
24976         * po/hu.po: Update.
24977         * po/ia.po: Update.
24978         * po/id.po: Update.
24979         * po/it.po: Update.
24980         * po/ja.po: Update.
24981         * po/ko.po: Update.
24982         * po/lt.po: Update.
24983         * po/nb.po: Update.
24984         * po/nl.po: Update.
24985         * po/pl.po: Update.
24986         * po/pt_BR.po: Update.
24987         * po/ru.po: Update.
24988         * po/rw.po: Update.
24989         * po/sk.po: Update.
24990         * po/sl.po: Update.
24991         * po/sv.po: Update.
24992         * po/tr.po: Update.
24993         * po/uk.po: Update.
24994         * po/vi.po: Update.
24995         * po/zh_CN.po: Update.
24996         * po/zh_TW.po: Update.
24998         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24999         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25000         * sysdeps/hppa/dl-irel.h: Remove #warning.
25001         * sysdeps/hppa/entry.h: Provide prototype for
25002         __canonicalize_funcptr_for_compare and cast argument.
25003         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25004         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25005         * sysdeps/hppa/sotruss-lib.c: New file.
25006         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25007         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25008         (atomic_compare_and_exchange_bool_acq): Likewise.
25009         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25010         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25012         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25013         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25014         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25016 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25018         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25019         called function in non-PIC case.
25021 2015-01-31  David S. Miller  <davem@davemloft.net>
25023         * sysdeps/sparc/sparc32/bits/atomic.h
25024         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25025         unlock not after it.
25026         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25027         volatile register usage warnings from the compiler.
25029         * sysdeps/sparc/nptl/sem_init.c: Delete.
25030         * sysdeps/sparc/nptl/sem_post.c: Delete.
25031         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25032         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25033         * sysdeps/sparc/sparc32/sem_init.c: New file.
25034         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25035         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25036         padding explicitly initialized.
25037         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25038         padding for in-semaphore spinlock.
25039         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25040         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25041         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25042         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25043         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25044         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25045         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25046         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25047         version.
25048         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25049         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25051 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25053         [BZ #17801]
25054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25055         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25056         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25057         New.
25058         (index_AVX_Fast_Unaligned_Load): Likewise.
25059         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25060         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25061         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25062         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25063         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25064         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25065         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25066         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25067         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25069 2015-01-29  Andreas Schwab  <schwab@suse.de>
25071         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25073 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25075         [BZ #17892]
25076         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25078 2015-01-28  Martin Sebor  <msebor@redhat.com>
25080         * math/README.libm-test: Clarify. Add "How to read the test output."
25082 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25084         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25085         Define to 0.
25087 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25089         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25090         (__HAVE_64B_ATOMICS): Define to 0.
25092 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25094         [BZ #17885]
25095         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25096         value to set as new flag.
25098         [BZ #16576]
25099         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25100         and use _ARCH_PPCSQ instead.
25101         (__ieee754_sqrt): Likewise.
25102         (__ieee754_sqrtf): Likewise.
25103         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25104         _ARCH_PPCSQ is defined.
25105         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25106         fsqrt instruction.
25107         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25108         _ARCH_PPCSQ is defined.
25109         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25110         fsqrts instruction.
25111         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25113 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25115         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25116         bug (GCC BZ #64739).
25118 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25120         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25121         Mark _retval as used.
25122         (lll_futex_wake_unlock): Likewise.
25123         (lll_futex_timed_wait_requeue_pi): Likewise.
25125         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25126         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25127         register variables.
25129         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25130         libm_hidden_def.
25132         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25133         (__bswap_64): Mark as __always_inline.
25135 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25137         [BZ #15378]
25138         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25139         when none of the search directories exist.
25141 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25143         [BZ #17869]
25144         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25145         power8 in .machine directive.
25147         [BZ #17868]
25148         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25149         set dependency from opd value.
25151 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25154         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25155         architecture.
25157 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25159         [BZ #17870]
25160         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25161         with uint64_t.
25162         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25163         (uint64_t) 1.
25164         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25165         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25166         Replace 1UL with (uint64_t) 1.
25167         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25168         int with uint64_t.
25170 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25172         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25173         (if_freenameindex): Likewise.
25175         * resource/getrlimit64.c: Add missing libc_hidden_def.
25177 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25179         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25180         __label__.
25181         (_FP_FMA): Likewise.
25182         (_FP_TO_INT_ROUND): Likewise.
25183         (_FP_FROM_INT): Likewise.
25185 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25187         [BZ #16418]
25188         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25189         Make code racy and cancel safe.
25191 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25193         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25194         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25195         attribution.
25197         * pwd/tst-getpw.c: Rewrite.
25199         [BZ #17702]
25200         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25201         (modules-names): Add moddummy1 and moddummy2.
25202         ($(objpfx)tst-rec-dlopen): Define.
25203         * dlfcn/moddummy1.c: New file.
25204         * dlfcn/moddummy2.c: New file.
25205         * dlfcn/tst-rec-dlopen.c: New file.
25206         * elf/dl-cache.c (_dl_load_cache_lookup):
25207         Return char*. Copy result with alloca/strcpy/strdup.
25208         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25209         returns char*. Free cached. If not saving realname
25210         free cached.
25211         * elf/dl-open.c (dl_open_worker): Do not assert that
25212         _r_debug->r_state is RT_CONSISTENT.
25213         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25214         returns char*.
25216 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25217             Carlos O'Donell  <carlos@redhat.com>
25219         [BZ #12674]
25220         * nptl/sem_waitcommon.c: New file.
25221         * nptl/sem_wait.c: Include sem_waitcommon.c.
25222         (__sem_wait_cleanup, do_futex_wait): Remove.
25223         (__new_sem_wait): Adapt.
25224         (__new_sem_trywait): New function.
25225         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25226         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25227         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25228         (sem_timedwait): Adapt.
25229         * nptl/sem_post.c (__new_sem_post): Adapt.
25230         (futex_wake): New function.
25231         (__old_sem_post): Add release MO fence.
25232         * nptl/sem_open.c (sem_open): Adapt.
25233         * nptl/sem_init.c (__new_sem_init): Adapt.
25234         (futex_private_if_supported): New function.
25235         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25236         (__old_sem_getvalue): Add using previous code.
25237         * sysdeps/nptl/internaltypes.h: Adapt.
25238         * nptl/tst-sem13.c (do_test): Adapt.
25239         * nptl/tst-sem11.c (main): Adapt.
25240         * nptl/sem_trywait.c: Remove.
25241         * nptl/DESIGN-sem.txt: Remove.
25242         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25243         (gen-as-const-headers): Remove structsem.sym.
25244         * nptl/structsem.sym: Remove.
25245         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25246         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25247         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25248         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25249         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25250         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25251         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25252         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25253         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25254         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25255         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25256         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25257         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25258         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25259         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25260         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25261         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25262         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25263         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25264         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25265         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25266         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25268 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25270         * INSTALL: Regenerated.
25272         * po/libc.pot: Regenerated.
25274 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25275             Sandra Loosemore  <sandra@codesourcery.com>
25276             Andrew Jenner  <andrew@codesourcery.com>
25277             Joseph Myers  <joseph@codesourcery.com>
25278             Nathan Sidwell  <nathan@codesourcery.com>
25280         * NEWS: Mention new Nios II port.
25281         * sysdeps/nios2/Implies: New file.
25282         * sysdeps/nios2/Makefile: New file.
25283         * sysdeps/nios2/Subdirs: New file.
25284         * sysdeps/nios2/Versions: New file.
25285         * sysdeps/nios2/__longjmp.S: New file.
25286         * sysdeps/nios2/abort-instr.h: New file.
25287         * sysdeps/nios2/backtrace.c: New file.
25288         * sysdeps/nios2/bits/endian.h: New file.
25289         * sysdeps/nios2/bits/fenv.h: New file.
25290         * sysdeps/nios2/bits/link.h: New file.
25291         * sysdeps/nios2/bits/setjmp.h: New file.
25292         * sysdeps/nios2/bsd-_setjmp.S: New file.
25293         * sysdeps/nios2/bsd-setjmp.S: New file.
25294         * sysdeps/nios2/configure: New generated file.
25295         * sysdeps/nios2/configure.ac: New file.
25296         * sysdeps/nios2/crti.S: New file.
25297         * sysdeps/nios2/crtn.S: New file.
25298         * sysdeps/nios2/dl-init.c: New file.
25299         * sysdeps/nios2/dl-machine.h: New file.
25300         * sysdeps/nios2/dl-sysdep.h: New file.
25301         * sysdeps/nios2/dl-tls.h: New file.
25302         * sysdeps/nios2/dl-trampoline.S: New file.
25303         * sysdeps/nios2/gccframe.h: New file.
25304         * sysdeps/nios2/gmp-mparam.h: New file.
25305         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25306         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25307         * sysdeps/nios2/ldsodefs.h: New file.
25308         * sysdeps/nios2/libc-tls.c: New file.
25309         * sysdeps/nios2/libm-test-ulps: New file.
25310         * sysdeps/nios2/machine-gmon.h: New file.
25311         * sysdeps/nios2/math-tests.h: New file.
25312         * sysdeps/nios2/math_private.h: New file.
25313         * sysdeps/nios2/memusage.h: New file.
25314         * sysdeps/nios2/nptl/Makefile: New file.
25315         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25316         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25317         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25318         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25319         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25320         * sysdeps/nios2/nptl/tls.h: New file.
25321         * sysdeps/nios2/preconfigure: New file.
25322         * sysdeps/nios2/s_fma.c: New file.
25323         * sysdeps/nios2/s_fmaf.c: New file.
25324         * sysdeps/nios2/setjmp.S: New file.
25325         * sysdeps/nios2/sfp-machine.h: New file.
25326         * sysdeps/nios2/sotruss-lib.c: New file.
25327         * sysdeps/nios2/stackguard-macros.h: New file.
25328         * sysdeps/nios2/stackinfo.h: New file.
25329         * sysdeps/nios2/start.S: New file.
25330         * sysdeps/nios2/sysdep.h: New file.
25331         * sysdeps/nios2/tls-macros.h: New file.
25332         * sysdeps/nios2/tst-audit.h: New file.
25333         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25334         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25335         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25336         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25337         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25338         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25339         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25340         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25341         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25342         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25343         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25344         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25345         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25346         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25347         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25348         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25349         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25350         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25351         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25352         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25353         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25354         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25355         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25356         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25357         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25358         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25359         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25360         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25361         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25362         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25363         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25364         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25365         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25366         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25367         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25368         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25369         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25370         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25371         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25372         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25373         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25374         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25375         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25376         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25378 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25380         [BZ #17844]
25381         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25382         (getutent): Use weak_alias in non SHARED case
25383         and default_symbol_version in SHARED case.
25384         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25385         (getutent_r, pututline): Likewise.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25387         (getutid): Likewise.
25388         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25389         (getutid_r): Likewise.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25391         (getutline): Likewise.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25393         (getutline_r): Likewise.
25394         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25395         (updwtmp): Likewise.
25397 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25399         [BZ #17848]
25400         * sysdeps/s390/s390-32/memcmp.S
25401         (memcmp_g5): Rename to __memcmp_g5.
25402         * sysdeps/s390/s390-32/memcpy.S
25403         (memcpy_g5): Rename to __memcpy_g5.
25404         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25405         (memcpy_mvcle) Rename to __memcpy_mvcle.
25406         * sysdeps/s390/s390-32/memset.S
25407         (memset_g5): Rename to __memset_g5.
25408         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25409         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25410         and use prefixed functions.
25411         * sysdeps/s390/s390-32/multiarch/memcmp.S
25412         (memcmp_z196): Rename to __memcmp_z196.
25413         (memcmp_z10): Rename to __memcmp_z10.
25414         (memcmp): Set alias to __memcmp_g5.
25415         (bcmp): Set alias to __memcmp_g5.
25416         * sysdeps/s390/s390-32/multiarch/memcpy.S
25417         (memcpy_z196): Rename to __memcpy_z196.
25418         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25419         (memcpy_z10): Rename to __memcpy_z10.
25420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25421         (memcpy): Set alias to __memcpy_g5.
25422         * sysdeps/s390/s390-32/multiarch/memset.S
25423         (memset_z196): Rename to __memset_z196.
25424         Jump to __memset_mvcle instead of memset_mvcle.
25425         (memset_z10): Rename to __memset_z10.
25426         Jump to __memset_mvcle instead of memset_mvcle.
25427         (memset_mvcle) Rename to __memset_mvcle.
25428         (memset): Set alias to __memset_g5.
25429         * sysdeps/s390/s390-64/memcmp.S
25430         (memcmp_z900): Rename to __memcmp_z900.
25431         * sysdeps/s390/s390-64/memcpy.S
25432         (memcpy_z900): Rename to __memcpy_z900.
25433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25434         (memcpy_mvcle) Rename to __memcpy_mvcle.
25435         * sysdeps/s390/s390-64/memset.S
25436         (memset_z900): Rename to __memset_z900.
25437         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25438         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25439         and use prefixed functions.
25440         * sysdeps/s390/s390-64/multiarch/memcmp.S
25441         (memcmp_z196): Rename to __memcmp_z196.
25442         (memcmp_z10): Rename to __memcmp_z10.
25443         (memcmp): Set alias to __memcmp_z900.
25444         (bcmp): Set alias to __memcmp_z900.
25445         * sysdeps/s390/s390-64/multiarch/memcpy.S
25446         (memcpy_z196): Rename to __memcpy_z196.
25447         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25448         (memcpy_z10): Rename to __memcpy_z10.
25449         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25450         (memcpy): Set alias to __memcpy_z900.
25451         * sysdeps/s390/s390-64/multiarch/memset.S
25452         (memset_z196): Rename to __memset_z196.
25453         Jump to __memset_mvcle instead of memset_mvcle.
25454         (memset_z10): Rename to __memset_z10.
25455         Jump to __memset_mvcle instead of memset_mvcle.
25456         (memset_mvcle) Rename to __memset_mvcle.
25457         (memset): Set alias to __memset_z900.
25459 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25461         [BZ #17748]
25462         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25463         __fesetenv instead of fesetenv.
25465 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25467         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25468         macro.
25470 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25472         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25473         regression on LE.
25475         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25476         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25478         strncmp-power8 object.
25479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25480         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25481         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25482         * NEWS: Update.
25484 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25485             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25488         trailing byte check.
25490 2015-01-13  David S. Miller  <davem@davemloft.net>
25492         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25494 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25496         * login/logout.c (logout): Use memset rather than bzero.
25497         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25498         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25499         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25500         (_gethtbyaddr): Likewise.
25501         * locale/programs/simple-hash.c (bcopy): Macro removed.
25503 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25506         Add strcmp-power8 object.
25507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25508         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25509         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25510         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25511         __strcmp_power8 implementation.
25512         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25513         * NEWS: Update.
25515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25516         Add strncpy-power8 and stpncpy-power8 objects.
25517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25518         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25519         implementations.
25520         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25521         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25522         __stpncpy_power8 implementation.
25523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25524         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25525         __strncpy_power8 implementation.
25526         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25527         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25528         * NEWS: Update.
25530         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25531         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25532         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25534         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25535         strncat-power8 object.
25536         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25537         __strcat_power8 implementation.
25538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25539         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25540         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25541         optimized strcat for power8.
25543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25544         strcpy-power8 and stpcpy-power8 objects.
25545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25546         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25547         implementations.
25548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25549         multiarch stpcpy implementation for POWER8.
25550         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25551         multiarch strcpy implementation for POWER8.
25552         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25553         __strcpy_power8 function.
25554         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25555         stpcpy for POWER8.
25556         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25557         strcpy for POWER8.
25558         * NEWS: Update.
25560 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25562         [BZ #16009]
25563         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25564         weights and rules. Use do_xfrm_cached if data fits in cache,
25565         do_xfrm otherwise.  Moved former main loop to...
25566         * (do_xfrm_cached): New function.
25567         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25568         find_idx, find_position and stack_push.
25569         * (find_idx): New function.
25570         * (find_position): Likewise.
25571         * localedata/sort-test.sh: Added test run for do_xfrm.
25572         * localedata/xfrm-test.c (main): Added command line option
25573         -nocache to run the test with strings that are too large for
25574         the STRXFRM cache.
25576 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25578         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25579         variable to lll_futex_wake call, not the value itself.
25581 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25583         [BZ #17803]
25584         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25585         twom64.  Adjust value to 0x1p-64L.
25586         (__scalblnl): Only return standard underflowing result for K <=
25587         -64 not K <= -63; adjust exponent for underflowing result by 64
25588         not 63.
25589         * math/libm-test.inc (scalbn_test_data): Add more tests.
25590         (scalbln_test_data): Likewise.
25592         [BZ #17834]
25593         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25594         0x1p63L.
25595         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25596         not HX.
25597         * math/libm-test.inc (scalbn_test_data): Add more tests.
25598         (scalbln_test_data): Likewise.
25600 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25601             Stefani Seibold  <stefani@seibold.net>
25603         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25604         (sysdep_routines): Add dl-vdso here, ...
25605         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25606         (sysdep_routines): ... not here.
25607         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25608         fallback when vDSO is not presented.
25609         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25610         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25611         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25612         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25613         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25614         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25615         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25616         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25617         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25618         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25619         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25620         fallback configurable symbol when vDSO is not available.
25621         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25622         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25623         be able to redefine fallback symbol when vDSO is not available.
25624         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25625         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25627 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25629         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25630         (TLS_INIT_TP): Add tm_capable initialization.
25631         (TLS_DEFINE_INIT_TP): Likewise.
25632         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25633         TCB.
25634         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25635         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25636         calculation.
25637         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25638         transactoion is lock elision is built and TCB tm_capable is set.
25639         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25641         (INTERNAL_SYSCALL_NCS): Likewise.
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25643         (INTERNAL_SYSCALL_NCS): Likewise.
25644         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25646         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25647         for powerpc.
25648         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25649         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25650         and remove it for 32 bits case.
25651         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25653         initialization.
25654         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25655         Disable lock elision with rdlocks if elision is not available.
25657         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25658         (sysdep_routines): Add lock elision objects.
25659         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25660         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25661         [pthread_mutex_t] (__elision): Add field.
25662         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25663         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25664         elision definitions for powerpc.
25665         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25666         implementation of lock elision for powerpc.
25667         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25668         implementation of timed lock elision for powerpc.
25669         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25670         implementation of trylock with lock elision for powerpc.
25671         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25672         implementaion of unlock for lock elision for powerpc.
25673         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25674         automatic enable lock elision for mutexes.
25675         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25676         transaction execution definitions for powerpc.
25677         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25678         definitions.
25679         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25680         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25681         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25682         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25683         * NEWS: Update.
25685 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25687         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25688         for #include of <shm-directory.h>.
25690 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25692         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25693         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25695 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25697         [BZ #17791]
25698         * NEWS: Mention bug fix.
25699         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25700         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25701         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25703 2015-01-09  Torvald Riegel <triegel@redhat.com>
25705         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25707 2015-01-09  Torvald Riegel <triegel@redhat.com>
25709         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25711 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25713         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25714         pointer and cast to uintptr_t.
25716 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25718         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25719         removed.
25720         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25722 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25724         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25725         of 0.
25727 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25729         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25730         <nptl/pthreadP.h> instead.
25731         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25733         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25734         already defined.
25735         [__SIGRTMIN] (init): Function removed.
25736         [__SIGRTMIN] (initialized): Variable removed.
25737         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25738         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25739         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25740         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25741         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25742         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25743         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25744         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25745         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25746         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25747         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25748         * sysdeps/nptl/allocrtsig.c: New file.
25749         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25750         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25751         * sysdeps/generic/testrtsig.h: File removed.
25753         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25754         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25756         * nptl/nptl-init.c (pthread_functions): Conditionalize
25757         .ptr__nptl_setxid initialization on [SIGSETXID].
25759         * sysdeps/nptl/sys/procfs.h: New file.
25760         * nptl_db/Makefile (headers): Add it.
25761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25763         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25764         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25765         * nptl/pthread_attr_setaffinity.c: Include it.
25766         * nptl/pthread_setattr_default_np.c: Likewise.
25767         * nptl/check-cpuset.h: New file.
25769 2015-01-08  Richard Henderson  <rth@redhat.com>
25771         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25772         (CFLAGS-tst-execstack-prog.c): Likewise.
25773         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25775 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25776             Sandra Loosemore  <sandra@codesourcery.com>
25777             Andrew Jenner  <andrew@codesourcery.com>
25778             Joseph Myers  <joseph@codesourcery.com>
25779             Nathan Sidwell  <nathan@codesourcery.com>
25781         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25782         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25783         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25784         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25785         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25786         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25787         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25788         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25789         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25790         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25791         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25792         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25793         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25794         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25795         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25796         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25797         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25799 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25801         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25802         timespec struct member in syscall macro.
25803         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25804         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25805         first timeval struct member in syscall macro.
25806         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25808 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25810         [BZ #17748]
25811         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25812         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25813         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25814         __feupdateenv and define as weak alias of __feupdateenv.  Use
25815         libm_hidden_weak.
25816         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25817         libm_hidden_def.
25818         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25819         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25820         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25821         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25822         libm_hidden_def.
25823         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25824         __feupdateenv and define as weak alias of __feupdateenv.  Use
25825         libm_hidden_weak.
25826         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25827         libm_hidden_def.
25828         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25829         __feupdateenv and define as weak alias of __feupdateenv.  Use
25830         libm_hidden_weak.
25831         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25832         libm_hidden_def.
25833         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25834         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25835         (__feupdateenv): Likewise.
25836         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25837         __feupdateenv and define as weak alias of __feupdateenv.  Use
25838         libm_hidden_weak.
25839         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25840         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25841         libm_hidden_def.
25842         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25843         function.
25844         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25845         libm_hidden_def.
25846         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25847         __feupdateenv instead of feupdateenv.
25848         (default_libc_feupdateenv_test): Likewise.
25849         (libc_feresetround_ctx): Likewise.
25851 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25853         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25854         prototype.
25856 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25858         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25859         COLL_SYM in a couple of places to avoid uninitialized variable
25860         wanings on tilegx gcc 4.8.2.
25862 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25864         * sysdeps/aarch64/strcpy.S: New file.
25865         * sysdeps/aarch64/stpcpy.S: New file.
25866         * NEWS: Updated.
25868 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25870         * sysdeps/aarch64/strrchr.S: New file.
25871         * NEWS: Updated.
25873 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25875         [BZ #17658]
25876         * stdlib/setenv.c: Fix memory leak when setting large,
25877         duplicate string.
25879 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25881         [BZ #17273]
25882         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25883         and tabs from buffer before parsing fstab entry.
25884         * misc/tst-mntent.c (main): Add test for mount entry with
25885         trailing spaces and tabs.
25887 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #17748]
25890         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25891         * math/fesetround.c (fesetround): Rename to __fesetround and
25892         define as weak alias of __fesetround.  Use libm_hidden_weak.
25893         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25894         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25895         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25896         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25897         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25898         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25899         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25900         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25901         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25902         __fesetround_inline.
25903         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25904         __fesetround_inline instead of __fesetround.
25905         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25906         __fesetround and define as weak alias of __fesetround.  Use
25907         libm_hidden_weak.  Call __fesetround_inline instead of
25908         __fesetround.
25909         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25910         __fesetround and define as weak alias of __fesetround.  Use
25911         libm_hidden_weak.
25912         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25913         Likewise.
25914         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25915         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25916         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25917         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25918         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25919         __fesetround and define as weak alias of __fesetround.  Use
25920         libm_hidden_weak.
25921         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25922         __fesetround instead of fesetround.
25923         (default_libc_feholdexcept_setround): Likewise.
25924         (libc_feholdsetround_ctx): Likewise.
25925         (libc_feholdsetround_noex_ctx): Likewise.
25927         [BZ #17748]
25928         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25929         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25931         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25932         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25933         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25934         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25935         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25936         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25937         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25938         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25939         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25940         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25941         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25942         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25943         libm_hidden_def.
25944         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25945         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25946         Likewise.
25947         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25948         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25949         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25950         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25951         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25952         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25953         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25954         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25955         __fesetenv instead of fesetenv.
25956         (libc_feresetround_noex_ctx): Likewise.
25957         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25958         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25959         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25960         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25961         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25962         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25963         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25964         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25965         (__feupdateenv): Likewise.
25966         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25967         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25968         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25969         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25971 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25973         [BZ #17806]
25974         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25975         addresses have been freed.
25977 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25979         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25980         and nservall.
25982 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25984         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25985         Clean up check_pf allocation pattern. addresses
25987 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25989         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25990         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25991         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25992         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25993         * nptl/pthread_join.c (pthread_join): Likewise.
25994         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25995         * sysdeps/posix/waitid.c (__waitid): Likewise.
25996         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25997         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25998         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25999         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26000         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26001         Likewise.
26002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26003         (__libc_pread64): Likewise.
26004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26005         (__libc_pwrite): Likewise.
26006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26007         (__libc_pwrite64): Likewsie.
26008         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26009         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26010         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26011         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26012         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26013         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26014         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26016         Likewise.
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26018         (__libc_pread64): Likewise.
26019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26020         Likewise.
26021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26022         (__libc_pwrite64): Likewise.
26023         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26024         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26025         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26026         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26027         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26028         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26029         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26030         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26031         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26032         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26033         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26034         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26035         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26036         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26037         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26038         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26039         Likewise.
26041 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26043         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26044         (CFLAGS-test-double.c): Likewise.
26045         (CFLAGS-test-ldouble.c): Likewise.
26046         (CPPFLAGS-test-ifloat.c): Likewise.
26047         (CPPFLAGS-test-idouble.c): Likewise.
26048         (CPPFLAGS-test-ildoubl.c): Likewise.
26049         (CFLAGS-test-test-fenv.c): Remove variable.
26050         (CFLAGS-test-misc.c): Likewise.
26052 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26054         [BZ #17797]
26055         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26056         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26057         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26058         CLOCKS_PER_SEC == 1000000.
26059         * time/clocktest.c (main): Replace %ld with %jd and cast to
26060         intmax_t.
26062 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26064         * sysdeps/generic/unwind-resume.h: New file.
26065         * sysdeps/gnu/unwind-resume.c: Include it.
26066         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26067         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26068         argument list.
26069         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26070         global rather than static.
26071         (_Unwind_Resume): Update user.
26072         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26073         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26074         rather than static.  Add __attribute__ ((cold)).
26075         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26076         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26077         * sysdeps/arm/arm-unwind-resume.S: New file.
26078         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26079         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26080         * sysdeps/arm/Makefile [$(subdir) = csu]
26081         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26082         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26083         Add rt-arm-unwind-resume.
26084         [$(subdir) = nptl]
26085         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26086         Add pt-arm-unwind-resume.
26087         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26088         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26090 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26092         [BZ #17748]
26093         * include/fenv.h (__feholdexcept): Declare.  Use
26094         libm_hidden_proto.
26095         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26096         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26097         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26098         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26099         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26100         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26101         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26102         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26103         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26104         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26105         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26106         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26107         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26108         (feholdexcept): Likewise.
26109         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26110         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26111         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26112         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26113         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26114         __feholdexcept instead of feholdexcept.
26115         (default_libc_feholdexcept_setround): Likewise.
26117 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26119         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26120         to avoid using stl/str to align destination.
26122 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26124         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26126 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #17796]
26129         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26130         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26131         Define as weak alias not strong alias.
26133 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26135         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26136         bltzal with addiupc.
26137         (RTLD_START): Ditto.
26139 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26141         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26142         for __vdso_* functions in declarations.
26143         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26144         definitions.
26145         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26146         INTERNAL_VSYSCALL): Use struct return types to check for error.
26148         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26149         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26150         function with cast from llround().
26151         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26152         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26153         Define.
26155 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26157         [BZ #17793]
26158         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26159         Define as weak alias not strong alias.
26161         [BZ #17635]
26162         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26163         ...
26164         * ctype/ctype-extn.c: ... here.
26165         (__isblank_l): Move to ...
26166         * ctype/ctype-c99_l.c: ... here.  New file.
26167         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26168         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26169         Remove variable.
26170         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26171         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26172         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26173         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26174         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26176         [BZ #17777]
26177         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26178         (posix_fadvise64): Define as weak alias not strong alias.
26179         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26180         (posix_fallocate64): Likewise.
26181         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26182         Remove variable.
26183         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26184         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26185         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26186         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26187         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26189 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26191         [BZ #16191]
26192         * NEWS: Mention bug fix.
26193         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26194         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26195         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26196         (HOST_STACK_END_ADDR): Likewise.
26198 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26200         [BZ #17748]
26201         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26202         * math/fegetround.c (fegetround): Rename to __fegetround and
26203         define as weak alias of __fegetround.  Use libm_hidden_weak.
26204         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26205         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26206         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26207         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26208         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26209         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26210         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26211         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26212         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26213         Undefine after rather than before function definition; use
26214         parentheses around function name in definition.
26215         (__fegetround): Also undefine macro after function definition.
26216         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26217         __fegetround and define as weak alias of __fegetround.  Use
26218         libm_hidden_weak.  Do not undefine as macro.
26219         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26220         Likewise.
26221         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26222         __fegetround and define as weak alias of __fegetround.  Use
26223         libm_hidden_weak.
26224         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26225         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26226         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26227         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26228         __fegetround and define as weak alias of __fegetround.  Use
26229         libm_hidden_weak.
26230         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26231         __fegetround instead of fegetround.
26233         [BZ #17782]
26234         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26235         Condition macro definition on [__USE_MISC].
26237         [BZ #17781]
26238         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26239         (struct sigaction): Change type of sa_flags field to int.
26241         [BZ #17780]
26242         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26243         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26244         __glibc_reserved0.
26246         * nptl/version.c (banner): Use single year in copyright notice.
26248         * NEWS: Update copyright dates.
26249         * catgets/gencat.c (print_version): Likewise.
26250         * csu/version.c (banner): Likewise.
26251         * debug/catchsegv.sh: Likewise.
26252         * debug/pcprofiledump.c (print_version): Likewise.
26253         * debug/xtrace.sh (do_version): Likewise.
26254         * elf/ldconfig.c (print_version): Likewise.
26255         * elf/ldd.bash.in: Likewise.
26256         * elf/pldd.c (print_version): Likewise.
26257         * elf/sotruss.sh: Likewise.
26258         * elf/sprof.c (print_version): Likewise.
26259         * iconv/iconv_prog.c (print_version): Likewise.
26260         * iconv/iconvconfig.c (print_version): Likewise.
26261         * locale/programs/locale.c (print_version): Likewise.
26262         * locale/programs/localedef.c (print_version): Likewise.
26263         * login/programs/pt_chown.c (print_version): Likewise.
26264         * malloc/memusage.sh (do_version): Likewise.
26265         * malloc/memusagestat.c (print_version): Likewise.
26266         * malloc/mtrace.pl: Likewise.
26267         * manual/libc.texinfo: Likewise.
26268         * nptl/version.c (banner): Likewise.
26269         * nscd/nscd.c (print_version): Likewise.
26270         * nss/getent.c (print_version): Likewise.
26271         * nss/makedb.c (print_version): Likewise.
26272         * posix/getconf.c (main): Likewise.
26273         * scripts/test-installation.pl: Likewise.
26274         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26276 2015-01-02  Will Newton  <will.newton@linaro.org>
26278         * sysdeps/arm/armv7/configure: Removed.
26279         * sysdeps/arm/armv7/configure.ac: Likewise.
26281 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26283         * All files with FSF copyright notices: Update copyright dates
26284         using scripts/update-copyrights.
26285         * intl/plural.c: Regenerated.
26286         * locale/programs/charmap-kw.h: Likewise.
26287         * locale/programs/locfile-kw.h: Likewise.
26289 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26291         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26293 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26295         [BZ #17748]
26296         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26297         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26298         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26299         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26300         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26301         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26302         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26303         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26304         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26305         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26306         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26307         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26308         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26309         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26310         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26311         libm_hidden_def.
26312         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26313         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26314         Likewise.
26315         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26316         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26317         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26318         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26319         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26320         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26321         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26322         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26323         __fegetenv instead of fegetenv.
26324         (libc_feholdsetround_noex_ctx): Likewise.
26326 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26328         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26329         (Elf_MIPS_ABIFlags_v0): New structure.
26330         (EF_MIPS_FP64): Define.
26331         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26332         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26333         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26334         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26335         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26336         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26337         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26338         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26339         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26340         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26341         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26342         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26343         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26344         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26345         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26346         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26347         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26348         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26349         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26350         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26351         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26352         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26353         field.
26354         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26355         EF_MIPS_FP64.
26356         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26357         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26358         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26359         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26360         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26361         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26362         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26363         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26364         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26365         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26366         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26367         record the current FP ABI extension.
26368         (mips-mode-switch): Define to show if kernel headers support mode
26369         switching.
26370         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26371         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26372         supported SYSV ABI version to 3.
26373         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26374         feature.
26376 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26377             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26379         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26380         path.
26381         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26383 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26385         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26386         __fegetround and redefine to call __fegetround.  Remove condition
26387         on [!__NO_MATH_INLINES].
26388         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26389         function.
26390         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26391         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26392         Remove macro.
26393         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26394         instead of <fenv_libc.h>.
26395         (__llrintl): Call fegetround instead of __fegetround.
26396         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26397         instead of <fenv_libc.h>.
26398         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26399         (__lrintl): Call fegetround instead of __fegetround.
26400         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26401         instead of <fenv_libc.h>.
26402         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26403         (__rintl): Call fegetround instead of __fegetround.
26405 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26407         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26408         arrays.
26410 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26412         [BZ #17775]
26413         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26414         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26415         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26417 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26419         * sysdeps/i386/tls-macros.h: Include <features.h>.
26420         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26421         (TLS_IE): Likewise.
26422         (TLS_LD): Likewise.
26423         (TLS_GD): Likewise.
26424         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26425         define for GCC >= 5.0.
26427 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26429         * math/test-fenv.c (test_single_exception, set_single_exc,
26430         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26431         feexcp_mask_test, feenable_test, fe_single_test): Add
26432         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26433         case where they are not used.
26434         * math/libm-test.inc: Likewise.
26435         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26436         unused in the absence of FP rounding/exception support.
26437         * stdio-common/tst-printf-round.c: Likewise.
26438         * stdlib/tst-strtod-round.c: Likewise.
26439         * stdlib/tst-strtod-underflow.c: Likewise.
26441 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26443         [BZ #17723]
26444         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26445         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26446         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26447         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26448         libm_hidden_weak.
26449         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26450         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26451         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26452         libm_hidden_def.
26453         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26454         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26455         libm_hidden_weak.
26456         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26457         Likewise.
26458         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26459         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26461         libm_hidden_weak.
26462         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26463         libm_hidden_def.
26464         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26465         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26466         (__feraiseexcept): Likewise.
26467         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26468         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26469         libm_hidden_weak.
26470         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26471         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26472         libm_hidden_def.
26473         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26474         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26475         Use libm_hidden_def.
26476         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26477         libm_hidden_def.
26478         (feraiseexcept): Define as weak not strong alias.  Use
26479         libm_hidden_weak.
26480         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26481         New inline function.  Factored out of ...
26482         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26483         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26484         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26485         feraiseexcept.
26486         * math/w_acos.c (__acos): Likewise.
26487         * math/w_asin.c (__asin): Likewise.
26488         * math/w_ilogb.c (__ilogb): Likewise.
26489         * math/w_j0.c (y0): Likewise.
26490         * math/w_j1.c (y1): Likewise.
26491         * math/w_jn.c (yn): Likewise.
26492         * math/w_log.c (__log): Likewise.
26493         * math/w_log10.c (__log10): Likewise.
26494         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26495         * sysdeps/aarch64/fpu/math_private.h
26496         (libc_feupdateenv_test_aarch64): Likewise.
26497         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26498         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26499         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26500         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26501         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26502         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26503         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26504         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26505         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26506         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26508 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26510         [BZ #17732]
26511         * io/test-utime.c (main): Replace %ld with %jd and cast to
26512         intmax_t.
26513         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26514         * nptl/tst-mutex5.c: Include <stdint.h>.
26515         (do_test): Replace %ld with %jd and cast to intmax_t.
26516         * posix/tst-regex.c (run_test): Likewise.
26517         (run_test_backwards): Likewise.
26518         * rt/tst-clock.c: Include <stdint.h>.
26519         (clock_test): Replace %ld with %jd and cast to intmax_t.
26520         * rt/tst-cpuclock1.c: Include <stdint.h>.
26521         (do_test): Replace %lu with %ju and cast to uintmax_t.
26522         * rt/tst-cpuclock2.c: Include <stdint.h>.
26523         (do_test): Replace %lu with %ju and cast to uintmax_t.
26524         * rt/tst-mqueue1.c: Include <stdint.h>.
26525         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26526         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26527         intmax_t.
26528         * rt/tst-mqueue4.c (do_test): Likewise.
26529         * rt/tst-timer4.c: Include <stdint.h>.
26530         (check_ts): Replace %ld with %jd and cast to intmax_t.
26531         (do_test): Likewise.
26532         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26533         and cast to intmax_t.
26534         * sysdeps/pthread/tst-timer.c (main): Likewise.
26535         * time/clocktest.c (main): Likewise.
26536         * time/tst-posixtz.c (do_test): Likewise.
26537         * timezone/tst-timezone.c (main): Likewise.
26539 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26540             H.J. Lu  <hongjiu.lu@intel.com>
26542         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26543         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26544         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26545         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26546         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26547         version if bit_Fast_Unaligned_Load is set.
26548         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26549         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26550         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26551         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26552         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26553         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26555         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26556         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26557         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26558         to 4.
26559         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26560         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26561         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26562         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26564 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26566         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26567         instead of #if to avoid a Wundef warning.
26568         * stdlib/tst-limits.c (do_test): Likewise.
26570         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26571         parallel other exception macros.
26572         (fegetenv): Convert from macro to extern inline so that it applies
26573         retroactively to inline functions already seen by the compiler.
26574         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26576         * posix/Makefile (before-compile): Use $(objpfx) for
26577         posix-conf-vars-def.h.
26579 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26581         * posix/getconf.c (main): Use size_t for type of I.
26582         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26583         NSPEC.
26585         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26586         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26587         * posix/posix-envs.def: Likewise.
26588         * sysdeps/posix/sysconf.c: Likewise.
26589         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26590         (specs): Remove array.
26591         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26592         array.
26594         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26595         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26596         (__sysconf): Use CONF_IS_* macros.
26598         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26599         ($(objpfx)posix-conf-vars-def.h): New target.
26600         * posix/posix-conf-vars.list: New file.
26601         * posix/posix-conf-vars.h: New file.
26602         * posix/confstr.c: Include posix-conf-vars.h.
26603         (confstr): Use CONF_IS_* macros.
26604         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26605         CONF_IS_* macros.
26606         * scripts/gen-posix-conf-vars.awk: New file.
26608 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26610         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26611         fegetround): Add no-op macros to avoid linknamespace issues.
26613         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26614         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26616         * sysdeps/unix/sysv/linux/tile/sysdep.h
26617         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26618         assembly-specific section to avoid a redefinition warning.
26620         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26621         long before casting to pointer to avoid a cast warning.
26623 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26625         * sysdeps/tile/tilegx/Implies: New file.
26627 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26629         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26631 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26633         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26635 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26638         not define.
26639         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26640         <kernel-features.h>.
26641         (__utimes) [__NR_utimes]: Make code unconditional.
26642         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26643         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26644         (__ASSUME_UTIMES): Do not undefine.
26645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26646         (__ASSUME_UTIMES): Likewise.
26647         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26648         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26649         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26650         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26652 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26654         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26656 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26658         [BZ #17747]
26659         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26660         alias to weak alias for j0l, y0l.
26661         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26662         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26664         [BZ #17746]
26665         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26666         conversion.
26668 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26670         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26671         to zero if not already defined.
26673 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26675         [BZ #17724]
26676         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26677         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26678         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26679         (char *) casts added.
26680         * sysdeps/ieee754/k_standardf.c: New file.
26681         * sysdeps/ieee754/k_standardl.c: Likewise.
26682         * math/Makefile (libm-support): Remove k_standard.
26683         (libm-calls): Add k_standard.
26685 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26687         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26688         Optimize to avoid an unnecessary FPCR read.
26690 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26692         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26693         Optimize to reduce FPCR/FPSR accesses.
26695 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26697         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26698         Call libc_fetestexcept_aarch64.
26700 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26702         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26703         Call libc_fesetround_aarch64.
26705 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26707         [BZ #17733]
26708         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26709         (__bind): Do not define as weak alias.
26710         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26711         define.
26712         (__getsockname): Do not define as weak alias.
26714 2014-12-22  Will Newton  <will.newton@linaro.org>
26716         * manual/install.texi: Document that we require bison 2.7
26717         or above.
26718         * INSTALL: Regenerate.
26719         * configure.ac: Use AC_CHECK_PROG_VER instead of
26720         AC_PATH_PROG when checking for bison and check for
26721         version 2.7 or above.
26722         * configure: Regenerate.
26724 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26726         [BZ #17745]
26727         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26728         * sysdeps/tile/ffsll.c (ffsll): To here.
26730         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26732 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26734         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26735         if not defined.
26736         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26737         definition.
26738         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26739         hidden ___tls_get_addr.
26740         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26741         hidden __tls_get_addr.
26742         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26743         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26744         Likewise.
26746 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26748         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26749         _dl_init call.
26751 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26753         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26754         from "call _dl_init@PLT".
26755         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26757 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26759         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26760         guarantees.
26762 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26764         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26766 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26768         [BZ #17744]
26769         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26770         strnlen.
26772 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26774         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26775         of multu on MIPSr6.
26776         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26777         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26778         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26779         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26780         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26782 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26784         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26785         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26786         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26787         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26788         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26789         mips32r6/mips64r6.
26790         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26792 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26794         * string/strncat.c (STRNCAT): Simplify implementation.
26796 2014-12-19  David S. Miller  <davem@davemloft.net>
26798         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26799         access the quad as both a long double and as a series of 4 words.
26801         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26802         link_map->l_info array access.
26804 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26806         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26808         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26809         * math/atest-exp2.c (TIMEOUT): Likewise.
26810         * math/atest-sincos.c (TIMEOUT): Likewise.
26812 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26814         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26815         -Wno-error with -fno-builtin-lround.
26817 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26819         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26820         Contains futex constants and functions moved over from ...
26821         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26822         <lowlevellock-futex.h>.
26823         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26824         (lll_timedwait_tid): Add comments and parentheses around macro
26825         arguments.
26827 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26829         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26830         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26831         (__lll_private_flag): Remove.
26832         (lll_futex_wait): Likewise.
26833         (lll_futex_timed_wait): Likewise.
26834         (lll_futex_wake): Likewise.
26835         (lll_futex_requeue): Likewise.
26836         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26837         (__lll_timedwait_tid): Spell out argument names.
26838         (lll_timedwait_tid): Add comments and parentheses around macro
26839         arguments.
26840         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26841         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26843 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26845         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26846         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26847         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26848         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26849         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26850         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26851         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26852         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26853         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26854         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26856         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26859         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26860         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26861         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26862         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26863         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26865 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26867         * sysdeps/x86_64/x32/Makefile: New file.
26869 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26871         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26872         1L with (mp_limb_t) 1.
26874 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26876         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26877         * nptl/libc_pthread_init.c: ... here.
26878         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26879         * nptl/register-atfork.c: ... here.
26881         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26882         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26883         Use assert_perror to check its return value.
26884         (__gai_create_helper_thread): Likewise.
26886         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26888         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26890 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26892         [BZ #17725]
26893         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26894         __profil_counter.
26895         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26896         Likewise.
26897         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26898         Likewise.
26899         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26900         Likewise.
26901         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26902         (profil_counter): Likewise.
26903         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26904         (profil_counter): Likewise.
26905         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26906         Likewise.
26907         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26908         Likewise.
26909         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26910         (profil_counter): Likewise.
26911         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26912         Likewise.
26913         [!__profil_counter] (profil_counter): Define as weak alias of
26914         __profil_counter.
26915         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26916         (profil_counter): Rename to __profil_counter.
26917         [!__profil_counter] (profil_counter): Define as weak alias of
26918         __profil_counter.
26919         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26920         (profil_counter): Rename to __profil_counter.
26921         [!__profil_counter] (profil_counter): Define as weak alias of
26922         __profil_counter.
26923         * sysdeps/posix/profil.c: Update comment referring to
26924         profil_counter.
26925         (__profil): Use __profil_counter instead of profil_counter.
26926         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26927         __profil_counter.  Use __profil_counter_ushort and
26928         __profil_counter_uint in definitions.
26929         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26930         instead of profil_counter_uint and profil_counter_ushort.
26932         [BZ #17722]
26933         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26934         define as weak alias of __inet_makeaddr.
26935         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26936         as weak alias of __inet_addr.
26937         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26938         as weak alias of __inet_pton.  Use libc_hidden_weak.
26939         * include/arpa/inet.h (__inet_pton): Declare.  Use
26940         libc_hidden_proto.
26941         (inet_makeaddr): Don't use libc_hidden_proto.
26942         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26943         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26944         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26945         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26946         Remove variable.
26947         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26948         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26950 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26952         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26954 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26956         * stdio-common/bug-vfprintf-nargs.c (do_test):
26957         Cast value to intptr_t to avoid format warning
26958         for usage with PRIdPTR printing macro.
26960 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26962         * libio/tst-widetext.c (do_test):
26963         Use format type %td instead of %Zd for ptrdiff_t
26964         in order to avoid format warning.
26966 2014-12-17  Andreas Schwab  <schwab@suse.de>
26968         * nscd/mem.c (gc): Add size_t cast to match printf format.
26970 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26972         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26973         (init): Apply PTR_MANGLE to pointers before storing them.
26974         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26975         before using them.
26977 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26979         [BZ #17719]
26980         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26981         define as weak alias of __memrchr.
26982         (__memrchr): Do not define as strong alias of memrchr.
26983         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26984         Remove variable.
26985         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26986         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26987         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26989         [BZ #17717]
26990         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26991         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26992         (if_indextoname): Rename to __if_indextoname and define as weak
26993         alias of __if_indextoname.  Use libc_hidden_weak.
26994         (if_freenameindex): Rename to __if_freenameindex and define as
26995         weak alias of __if_freenameindex.
26996         (if_nameindex): Rename to __if_nameindex and define as weak alias
26997         of __if_nameindex.
26998         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26999         __if_nametoindex and define as weak alias of __if_nametoindex.
27000         Use libc_hidden_weak.
27001         (if_freenameindex): Rename to __if_freenameindex and define as
27002         weak alias of __if_freenameindex.
27003         (if_nameindex): Rename to __if_nameindex and define as weak alias
27004         of __if_nameindex.
27005         (if_indextoname): Rename to __if_indextoname and define as weak
27006         alias of __if_indextoname.  Use libc_hidden_weak.
27007         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27008         __if_nametoindex and define as weak alias of __if_nametoindex.
27009         Use libc_hidden_weak.
27010         (if_freenameindex): Rename to __if_freenameindex and define as
27011         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27012         (if_nameindex_netlink): Use __if_freenameindex instead of
27013         if_freenameindex.
27014         (if_nameindex): Rename to __if_nameindex and define as weak alias
27015         of __if_nameindex.  Use libc_hidden_weak.
27016         (if_indextoname): Rename to __if_indextoname and define as weak
27017         alias of __if_indextoname.  Use libc_hidden_weak.
27018         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27019         libc_hidden_proto.
27020         [!_ISOMAC] (__if_freenameindex): Likewise.
27021         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27022         if_nametoindex.
27023         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27024         variable.
27025         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27026         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27027         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27028         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27029         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27030         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27031         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27033         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27034         Remove variable.
27035         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27036         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27038 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27040         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27041         subscript above bounds'
27043         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27044         bounds.
27046 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27048         * libio/tst-fopenloc.c: Use test-skeleton.c.
27050         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27051         (entry): Rename to ITEM.
27052         (do_test, comp): Adjust.
27054         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27056 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27058         * string/tester.c: Include <libc-internal.h>.
27059         (test_memset): Ignore -Wmemset-transposed-args.
27061 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27063         * misc/tst-mntent2.c (do_test): Fix warning.
27065 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27067         * elf/tst-unique4lib.cc(a): Mark as used.
27069 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27071         [BZ #17630]
27072         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27073         names.
27075 2014-12-16  Allan McRae  <allan@archlinux.org>
27077         * stdio-common/Makefile (tests): Re-add bug26.
27079 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27081         [BZ #17657]
27082         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27083         static array.
27085 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27087         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27088         (__lll_lock_wait): Likewise.
27089         (__lll_timedlock_wait): Likewise.
27090         (__lll_timedwait_tid): Likewise.
27091         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27092         (__lll_robust_timedlock_wait): Likewise.
27093         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27094         (lll_cond_trylock): Likewise.
27095         (__lll_lock): Likewise.
27096         (__lll_robust_lock): Likewise.
27097         (__lll_cond_lock): Likewise.
27098         (lll_robust_cond_lock): Likewise.
27099         (__lll_timedlock): Likewise.
27100         (__lll_robust_timedlock): Likewise.
27101         (__lll_unlock): Likewise.
27102         (__lll_robust_unlock): Likewise.
27103         (lll_wait_tid): Likewise.
27104         (lll_timedwait_tid): Likewise.
27106 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27108         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27110 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27112         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27114 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27116         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27117         * stdio-common/tst-sprintf.c: Likewise.
27119 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27121         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27123 2014-12-15  Jeff Law  <law@redhat.com>
27125         [BZ #16617]
27126         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27127         on the heap.  (CVE-2012-3406)
27128         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27129         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27130         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27132 2014-12-15  Will Newton  <will.newton@linaro.org>
27134         * manual/install.texi: Bump required version of texinfo
27135         to 4.7 from 4.5.
27136         * INSTALL: Regenerated.
27137         * configure.ac: Check for makeinfo version 4.7 and above.
27138         * configure: Regenerated.
27140 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27142         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27143         PREFIX, string constant to insert between directory and name.
27144         * sysdeps/posix/shm_open.c: Update caller.
27145         * sysdeps/posix/shm_unlink.c: Likewise.
27146         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27147         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27148         (SEM_SHM_PREFIX): New macro.
27149         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27150         [$(have-thread-library) = no].
27151         * nptl/Makefile (libpthread-routines): Add shm-directory.
27152         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27153         * sysdeps/nptl/shm-directory.h: New file.
27154         * sysdeps/posix/shm-directory.c
27155         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27156         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27157         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27158         INTERNAL_SYSCALL.
27159         (__where_is_shmfs): Function removed.
27160         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27161         Variables removed.
27162         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27163         Use SHM_GET_NAME.
27164         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27166         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27167         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27168         unconditional for use inside libpthread.
27169         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27171 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27173         * nptl/pthread_getaffinity.c: New file.
27174         * nptl/pthread_setaffinity.c: New file.
27175         * nptl/pthread_getname.c: New file.
27176         * nptl/pthread_setname.c: New file.
27178         * nptl/pthread_create.c (START_THREAD_DEFN)
27179         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27181 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27182             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27184         * resolv/res_send.c (send_vc): Disable warning resplen may
27185         be used uninitialized.
27187 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27189         * nptl/tst-mutex6.c
27190         (ATTR_NULL): New define checks ATTR against NULL.
27191         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27192         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27194 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27196         [BZ #17581]
27197         * malloc/hooks.c
27198         (mem2mem_check): Revert my previous change.
27199         (malloc_check_get_size): Revert my previous change.
27200         (mem2chunk_check): Revert my previous change.
27202 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27204         * sysdeps/posix/shm-directory.c: New file.
27205         * sysdeps/posix/shm-directory.h: New file.
27206         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27207         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27208         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27209         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27210         Transmute EPERM to EACCES.
27211         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27212         from ...
27213         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27214         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27216 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27218         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27219         pointer and cast to uintptr_t.
27220         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27221         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27222         Add cast to avoid warning.
27223         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27225 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27227         * nptl/semaphore.h: Move to ...
27228         * sysdeps/pthread/semaphore.h: ... here.
27229         * Makefile (installed-headers): Change nptl/semaphore.h to
27230         sysdeps/pthread/semaphore.h.
27232 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27234         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27235         generated error format strings.
27237         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27238         -Wformat-extra-args warnings for scanf formats.
27239         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27240         test of zero-length format (duh).
27241         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27242         corner-case scanf format test.
27243         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27244         generated fprintf format string.
27245         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27246         corner-case sprintf format tests.
27247         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27248         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27249         -Wformat-extra-args warnings throughout.
27250         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27251         (CFLAGS-scanf4.c): Likewise.
27252         (CFLAGS-scanf7.c): Likewise.
27253         (CFLAGS-tst-sprintf.c): Likewise.
27254         (CFLAGS-tst-printf.c): Likewise.
27255         (CFLAGS-tst-printfsz.c): Likewise.
27257 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27259         * include/cpio.h: New file.
27260         * include/fmtmsg.h: Likewise.
27262         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27263         corresponding format argument to size_t.
27264         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27265         arguments.
27266         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27267         corresponding format argument to size_t.
27268         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27269         arguments.
27270         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27271         corresponding format argument to size_t.
27272         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27273         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27274         (CFLAGS-tst-mbswcs2.c): Likewise.
27275         (CFLAGS-tst-mbswcs3.c): Likewise.
27276         (CFLAGS-tst-mbswcs4.c): Likewise.
27277         (CFLAGS-tst-mbswcs5.c): Likewise.
27278         (CFLAGS-tst-trans.c): Likewise.
27280 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27282         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27283         rather than assuming they won't contain any '%'s.
27285 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27287         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27288         inhibit_loop_to_libcall to avoid recursive calls.
27289         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27290         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27292 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27294         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27295         prototype.
27297 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27299         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27300         integer value instead of boolean.
27302 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27304         * malloc/malloc.c: Fix powerof2 check.
27306 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27308         * locale/programs/locfile.h (maybe_swap_uint32):
27309         Remove inline and add unused attribute.
27311 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27314         Truncating assembler expression to a .long expression.
27316 2014-12-11  Andreas Schwab  <schwab@suse.de>
27318         * elf/rtld.c (struct map_args): Constify str member.
27319         (do_preload): Constify fname argument.
27321 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27323         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27324         constants definition.
27326 2014-12-11  Andreas Schwab  <schwab@suse.de>
27328         [BZ #16657]
27329         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27330         FORCE_ELISION instead of DO_ELISION.
27331         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27332         Remove.
27333         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27334         Likewise.
27336         * iconvdata/gconv-modules: Remove duplicate entry.
27338 2014-12-11  Will Newton  <will.newton@linaro.org>
27340         Merge gettext 0.19.3 into intl/.
27342         This involves a number of cosmetic changes to comments
27343         and ANSI function definitions and prototypes throughout
27344         all the files. The gettext copyright header is used but
27345         with the date ranges taken from the glibc copy.
27347         * NEWS: Add gettext merge to 2.21.
27348         * intl/bindtextdom.c: Switch to gettext copyright.
27349         Use ANSI definitions and prototypes.
27350         Use gl_* locking primitives rather than __libc_* ones.
27351         Use __builtin_expect rather than __glibc_likely/unlikely.
27352         * intl/dcgettext.c: Switch to gettext copyright.
27353         Use ANSI definitions and prototypes.
27354         * intl/dcigettext.c: Switch to gettext copyright.
27355         Use ANSI definitions and prototypes.
27356         (INTDIV0_RAISES_SIGFPE): New define.
27357         Use gl_* locking primitives rather than __libc_* ones.
27358         Include eval-plural.h instead of plural-eval.c.
27359         Use __builtin_expect rather than __glibc_likely/unlikely.
27360         * intl/dcngettext.c: Switch to gettext copyright.
27361         Use ANSI definitions and prototypes.
27362         * intl/dgettext.c: Likewise.
27363         * intl/dngettext.c: Likewise.
27364         * intl/plural-eval.c: Renamed to...
27365         * intl/eval-plural.h: ...this.
27366         * intl/explodename.c: Switch to gettext copyright.
27367         Use ANSI definitions and prototypes.
27368         (_nl_explode_name): Use strchr instead of __rawmemchr.
27369         * intl/finddomain.c: Switch to gettext copyright.
27370         Use ANSI definitions and prototypes.
27371         Use gl_* locking primitives rather than __libc_* ones.
27372         (_nl_find_domain): Use malloc rather than alloca for
27373         allocation of temporary locale name.
27374         * intl/gettext.c: Switch to gettext copyright.
27375         Use ANSI definitions and prototypes.
27376         * intl/gettextP.h: Switch to gettext copyright.
27377         Use ANSI definitions and prototypes.
27378         Use gl_* locking primitives rather than __libc_* ones.
27379         * intl/gmo.h: Switch to gettext copyright.
27380         (struct sysdep_string): Move struct segment_pair outside of
27381         struct definition.
27382         * intl/hash-string.c: Use ANSI definitions and prototypes.
27383         * intl/hash-string.h: Switch to gettext copyright.
27384         Use ANSI definitions and prototypes.
27385         * intl/l10nflist.c: Switch to gettext copyright.
27386         Use ANSI definitions and prototypes.
27387         (_nl_normalize_codeset): Avoid integer overflow.
27388         * intl/loadinfo.h: Switch to gettext copyright.
27389         Use ANSI definitions and prototypes.
27390         (LIBINTL_DLL_EXPORTED): New define.
27391         (PATH_SEPARATOR): New define.
27392         * intl/loadmsgcat.c: Switch to gettext copyright.
27393         * intl/localealias.c: Switch to gettext copyright.
27394         Use ANSI definitions and prototypes.
27395         (_nl_expand_alias): Use PATH_SEPARATOR.
27396         * intl/ngettext.c: Switch to gettext copyright.
27397         Use ANSI definitions and prototypes.
27398         * intl/plural-exp.c: Likewise.
27399         * intl/plural-exp.h: Switch to gettext copyright.
27400         Use ANSI definitions and prototypes.
27401         (struct expression): Move definition of enum operator outside
27402         of struct definition.
27403         * intl/plural.c: Regenerate.
27404         * intl/plural.y: Switch to gettext copyright.
27405         Use ANSI definitions and prototypes.
27406         Port to bison 3.0.
27407         * intl/textdomain.c: Switch to gettext copyright.
27408         Use ANSI definitions and prototypes.
27409         Use gl_* locking primitives rather than __libc_* ones.
27411 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27413         * debug/warning-nop.c: Add used atrribute.
27415 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27417         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27419         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27420         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27421         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27423 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27426         [BZ #17634]
27427         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27428         Undefine after defining function.  Define as weak alias of
27429         __wcschr.  Use libc_hidden_weak.
27430         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27431         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27432         (libc_hidden_def): Also define __GI___wcschr alias.
27433         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27434         __wcschr and define as weak alias of __wcschr.
27435         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27436         __wcschr.
27437         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27438         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27439         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27440         libc_hidden_weak.  Do not use libc_hidden_def.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27442         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27443         __GI___wcschr alias.
27444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27445         [IS_IN (libc)] (wcschr): Define as macro expanding to
27446         __redirect_wcschr.
27447         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27448         [IS_IN (libc)] (__wcschr_power6): Likewise.
27449         [IS_IN (libc)] (__wcschr_power7): Likewise.
27450         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27451         instead of wcschr.
27452         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27453         __libc_wcschr.
27454         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27455         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27456         __wcschr and define as weak alias of __wcschr.  Use
27457         libc_hidden_builtin_def.
27458         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27459         as weak alias of __wcschr.  Use libc_hidden_weak.
27460         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27461         wcschr.
27462         * time/era.c (_nl_init_era_entries): Likewise.
27463         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27464         variable.
27465         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27466         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27468 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27470         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27471         format for long int variable.
27473 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27475         [BZ #10672]
27476         * manual/search.texi: (Array Sort Function): Remove claim how to make
27477         qsort stable.
27479 2014-12-10  Andreas Schwab  <schwab@suse.de>
27481         [BZ #12847]
27482         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27483         user-controlled locks.
27485 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27487         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27488         register.
27490 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27492         * configure.ac (--disable-werror): New configure option.
27493         (enable_werror): New AC_SUBST.
27494         * configure: Regenerated.
27495         * config.make.in (enable-werror): New variable.
27496         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27497         -Wno-error=undef.
27498         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27499         * manual/install.texi (Configuring and compiling): Document
27500         --disable-werror.
27501         * INSTALL: Regenerated.
27502         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27503         (CFLAGS-tst-chk2.c): Likewise.
27504         (CFLAGS-tst-chk3.c): Likewise.
27505         (CFLAGS-tst-chk4.cc): Likewise.
27506         (CFLAGS-tst-chk5.cc): Likewise.
27507         (CFLAGS-tst-chk6.cc): Likewise.
27508         (CFLAGS-tst-lfschk1.c): Likewise.
27509         (CFLAGS-tst-lfschk2.c): Likewise.
27510         (CFLAGS-tst-lfschk3.c): Likewise.
27511         (CFLAGS-tst-lfschk4.cc): Likewise.
27512         (CFLAGS-tst-lfschk5.cc): Likewise.
27513         (CFLAGS-tst-lfschk6.cc): Likewise.
27515         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27516         (main): Disable -Wdeprecated-declarations around calls to
27517         register_printf_function.
27519         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27520         (do_test): Disable -Wdiv-by-zero around some calls to
27521         fwrite_unlocked and fread_unlocked.
27523         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27524         (DIAG_POP_NEEDS_COMMENT): Likewise.
27525         (_DIAG_STR1): Likewise.
27526         (_DIAG_STR): Likewise.
27527         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27528         * stdio-common/bug21.c: Include <libc-internal.h>.
27529         (do_test): Disable -Wformat around call to sscanf.
27530         * stdio-common/scanf14.c: Include <libc-internal.h>.
27531         (main): Disable -Wformat around some calls to scanf functions.
27533 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27535         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27537 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27539         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27540         stack variable alignment.
27542 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27544         [BZ #17682]
27545         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27546         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27547         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27548         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27549         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27550         __getrlimit instead of getrlimit.
27551         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27552         __gettimeofday instead of gettimeofday.
27553         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27554         Likewise.
27555         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27556         Likewise.
27557         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27558         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27559         Remove variable.
27560         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27561         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27563 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27565         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27566         for wide-character tests.
27568 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27570         * io/openat64.c: #include <libc-internal.h>
27571         (__openat64): Prototypify.  Use ignore_value on MODE.
27572         * io/openat.c: Likewise.
27573         * misc/reboot.c: #include <libc-internal.h>
27574         (reboot): Prototypify.  Use ignore_value on HOWTO.
27575         * misc/ptrace.c: #include <libc-internal.h>
27576         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27578 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27580         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27581         XPG4, UNIX98 and XOPEN2K.
27582         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27583         Remove variable.
27584         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27586 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588         * libio/fileops.c: Use ISO C style for function definitions.
27589         * libio/iofopen.c: Likewise.
27590         * libio/wfileops.c: Likewise.
27592         [BZ #17653]
27593         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27594         offset on EOF.
27595         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27596         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27597         (fgets_func): Function pointer to fgets and fgetws.
27598         (do_ftell_test): Add test to verify ftell value after read
27599         EOF.
27600         (do_test): Set fgets_func.
27602         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27603         O_TRUNC flag for w and w+ modes.
27604         (do_rewind_test): Likewise.
27605         (do_ftell_test): Likewise.
27606         (do_write_test): Likewise.
27608         [BZ #17647]
27609         * libio/fileops.c (do_ftell): Seek only when there are
27610         unflushed writes.
27611         * libio/wfileops.c (do_ftell_wide): Likewise.
27612         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27613         test case.
27614         (do_one_test): Call it.
27616 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27618         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27619         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27620         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27621         Remove variable.
27622         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27623         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27624         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27626 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27628         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27629         Remove variable.
27630         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27632         [BZ #17668]
27633         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27634         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27635         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27636         __freeifaddrs.  Use libc_hidden_weak.
27637         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27638         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27639         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27640         __freeifaddrs.  Use libc_hidden_weak.
27641         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27642         __getifaddrs and define as weak alias of __getifaddrs.  Use
27643         libc_hidden_weak.
27644         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27645         __freeifaddrs.  Use libc_hidden_weak.
27646         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27647         Remove variable.
27648         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27649         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27651 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27653         [BZ #17601]
27654         * sysdeps/mips/start.S (__start): Use indirect jump to call
27655         __libc_start_main.
27657 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27659         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27661         * nptl/tst-mutex1.c: Include <stdbool.h>.
27662         [!ATTR] (ATTR_NULL): New macro.
27663         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27664         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27665         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27667         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27668         to char *.
27670         [BZ #17665]
27671         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27672         Change conditional to [__USE_MISC].
27674         [BZ #17664]
27675         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27676         fgets_unlocked.
27677         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27678         __fgets_unlocked.
27679         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27680         fgets_unlocked.
27681         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27682         Remove variable.
27683         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27684         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27685         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27686         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27687         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27688         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27689         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27690         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27691         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27693         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27695 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27698         Remove strpbrk objects.
27699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27700         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27701         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27702         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27703         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27704         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27707         Remove strcspn objects.
27708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27709         (__libc_ifunc_impl_list): Remove strcspn implementation.
27710         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27711         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27712         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27713         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27716         Remove strspn objetcs.
27717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27718         (__libc_ifunc_impl_list): Remove strspn implementation.
27719         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27720         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27721         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27722         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27724 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27726         [BZ #17581]
27727         * malloc/hooks.c
27728         (mem2mem_check): Add a terminator to the chain of checking blocks.
27729         (malloc_check_get_size): Use it here.
27730         (mem2chunk_check): Ditto.
27732 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27734         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27735         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27737 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27739         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27741         * nptl/nptl-init.c: Include libc-internal.h.
27742         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27744         * elf/ldconfig.c (search_dir): Expand comment.
27746 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27748         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27749         variable.
27750         (linknamespace-symlist-stdlibs-tests): Likewise.
27751         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27752         instead of $(objpfx)symlist-stdlibs.
27753         (linknamespace-libs-isoc): New variable.
27754         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27755         (linknamespace-libs-ISO): New variable.
27756         (linknamespace-libs-ISO99): Likewise.
27757         (linknamespace-libs-ISO11): Likewise.
27758         (linknamespace-libs-XPG3): Likewise.
27759         (linknamespace-libs-XPG4): Likewise.
27760         (linknamespace-libs-POSIX): Likewise.
27761         (linknamespace-libs-UNIX98): Likewise.
27762         (linknamespace-libs-XOPEN2K): Likewise.
27763         (linknamespace-libs-POSIX2008): Likewise.
27764         (linknamespace-libs-XOPEN2K8): Likewise.
27765         ($(objpfx)symlist-stdlibs): Replace by
27766         $(linknamespace-symlist-stdlibs-tests).  Use
27767         $(linknamespace-libs-$*) as set of libraries.
27768         ($(linknamespace-header-tests)): Update dependencies.  Use
27769         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27770         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27771         * conform/linknamespace.pl: Remove comment about considering
27772         definitions of symbols from irrelevant libraries.
27774 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27776         [BZ #13862]
27777         * elf/dl-tls.c: Include <atomic.h>.
27778         (oom): Remove #ifdef SHARED/#endif.
27779         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27780         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27781         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27782         big enough.
27783         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27784         * nptl/Makefile (tests): Add tst-stack4.
27785         (modules-names): Add tst-stack4mod.
27786         ($(objpfx)tst-stack4): New.
27787         (tst-stack4mod.sos): Likewise.
27788         ($(objpfx)tst-stack4.out): Likewise.
27789         ($(tst-stack4mod.sos)): Likewise.
27790         (clean): Likewise.
27791         * nptl/tst-stack4.c: New file.
27792         * nptl/tst-stack4mod.c: Likewise.
27794 2014-11-27  J. Brown  <jb999@gmx.de>
27796         * sysdeps/x86/bits/string.h: Add recent CPUs.
27798 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27800         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27801         sigblock.
27803         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27804         feof.
27806         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27807         variable.
27809 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27811         * nscd/connections.c: Include libc-internal.h because of macro
27812         usage ignore_value.
27814 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27816         * string/bits/string3.h (__warn_memset_zero_len): Don't
27817         declare for gcc newer than 5.0.
27818         (memset): Don't test for zero-length __LEN for gcc newer than
27819         5.0.
27821 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27823         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27824         size_t for %zu format.
27826         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27827         difference, not %ju.
27829 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27831         * include/libc-internal.h (ignore_value): New macro.
27832         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27833         with ignore_value.
27835         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27836         definition.
27838         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27839         pthread_cleanup_push to void *.
27841         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27842         Undefine.
27844         [BZ #16619]
27845         [BZ #16740]
27846         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27847         instead of 1L << 52.
27849         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27850         * libio/bug-rewind2.c (do_test): Likewise.
27852         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27853         * debug/test-strcpy_chk-ifunc.c: Likewise.
27854         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27855         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27856         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27857         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27858         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27859         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27860         * Rules [$(multi-arch) = no] (tests): Do not filter out
27861         $(tests-ifunc).
27862         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27863         * debug/Makefile (tests-ifunc): Remove variable.
27864         (tests): Do not add $(tests-ifunc).
27865         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27866         (tests): Do not add $(tests-ifunc).
27867         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27868         [TEST_IFUNC]: Remove conditionals.
27869         * string/test-string.h (TEST_IFUNC): Remove macro.
27870         [TEST_IFUNC]: Remove conditionals.
27872         * string/test-strchr.c [!WIDE] (L): New macro.
27873         [WIDE] (L): Likewise.
27874         (check1): Use CHAR instead of char.  Use L on string and character
27875         constants.
27877 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27879         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27880         tests.
27881         * sysdeps/powerpc/bits/atomic.h
27882         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27883         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27884         (atomic_exchange_and_add_acq): Likewise.
27885         (atomic_exchange_and_add_rel): Likewise.
27886         * sysdeps/powerpc/powerpc32/bits/atomic.h
27887         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27888         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27889         * sysdeps/powerpc/powerpc64/bits/atomic.h
27890         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27891         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27893 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27895         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27896         Change synchronization of __sched_fifo_min_prio and
27897         __sched_fifo_max_prio.
27898         * nptl/pthread_mutexattr_getprioceiling.c
27899         (pthread_mutexattr_getprioceiling): Likewise.
27900         * nptl/pthread_mutexattr_setprioceiling.c
27901         (pthread_mutexattr_setprioceiling): Likewise.
27902         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27903         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27904         Likewise.
27906 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27908         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27909         void.
27911 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27913         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27914         third argument const.
27916 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27918         fnmatch: work around GCC compiler warning bug with uninit var
27919         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27920         This works around a bug with x86-64 GCC 4.9.2 and earlier
27921         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27922         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27923         used uninitialized in this function [-Wmaybe-uninitialized]".
27925 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27927         * posix/bug-regex31.c (main): Return RES not 0.
27929 2014-11-25  Anton Blanchard <anton@samba.org>
27931         * sysdeps/powerpc/bits/atomic.h
27932         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27934 2014-11-24  Sterling Augustine  <saugustine@google.com>
27936         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27938 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27940         [BZ #17608]
27941         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27943 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27945         [BZ #17633]
27946         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27947         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27948         variable.
27949         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27950         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27952 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27954         * string/strncpy.c (strncpy): Improve performance by using memset.
27956 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27958         * string/strcpy.c (strcpy):
27959         Improve performance by using strlen and memcpy.
27961 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27963         * string/strcoll_l.c (get_next_seq): __always_inline.
27964         * string/strcoll_l.c (do_compare): __always_inline.
27966 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27968         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27969         defined.
27970         * include/mqueue.h: Likewise.
27971         * include/stdlib.h: Likewise.
27973         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27974         (get_null_defines): Adjust.
27975         * sunrpc/Makefile: Adjust comment.
27976         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27977         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27978         (CFLAGS-interp.c): Likewise.
27979         (CFLAGS-ldconfig.c): Likewise.
27980         (CPPFLAGS-.os): Likewise.
27981         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27982         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27983         * extra-modules.mk (extra-modules.mk): Likewise.
27984         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27985         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27986         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27987         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27988         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27989         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27990         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27991         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27992         * iconvdata/Makefile (CPPFLAGS): Likewise.
27993         (cpp-srcs-left): Add libof for all iconvdata routines.
27994         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27995         * include/assert.h: Likewise.
27996         * include/ctype.h: Likewise.
27997         * include/errno.h: Likewise.
27998         * include/libc-symbols.h: Likewise.
27999         * include/math.h: Likewise.
28000         * include/netdb.h: Likewise.
28001         * include/resolv.h: Likewise.
28002         * include/stdio.h: Likewise.
28003         * include/stdlib.h: Likewise.
28004         * include/string.h: Likewise.
28005         * include/sys/stat.h: Likewise.
28006         * include/wctype.h: Likewise.
28007         * intl/l10nflist.c: Likewise.
28008         * libidn/idn-stub.c: Likewise.
28009         * libio/libioP.h: Likewise.
28010         * nptl/libc_multiple_threads.c: Likewise.
28011         * nptl/pthreadP.h: Likewise.
28012         * posix/regex_internal.h: Likewise.
28013         * resolv/res_hconf.c: Likewise.
28014         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28015         * sysdeps/arm/memmove.S: Likewise.
28016         * sysdeps/arm/sysdep.h: Likewise.
28017         * sysdeps/generic/_itoa.h: Likewise.
28018         * sysdeps/generic/symbol-hacks.h: Likewise.
28019         * sysdeps/gnu/errlist.awk: Likewise.
28020         * sysdeps/gnu/errlist.c: Likewise.
28021         * sysdeps/i386/i586/memcpy.S: Likewise.
28022         * sysdeps/i386/i586/memset.S: Likewise.
28023         * sysdeps/i386/i686/memcpy.S: Likewise.
28024         * sysdeps/i386/i686/memmove.S: Likewise.
28025         * sysdeps/i386/i686/mempcpy.S: Likewise.
28026         * sysdeps/i386/i686/memset.S: Likewise.
28027         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28028         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28029         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28030         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28031         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28032         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28033         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28034         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28035         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28037         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28038         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28039         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28040         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28041         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28042         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28043         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28044         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28045         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28046         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28047         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28048         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28049         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28050         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28051         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28052         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28053         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28054         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28056         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28063         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28064         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28065         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28066         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28067         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28068         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28069         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28070         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28071         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28072         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28073         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28074         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28075         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28076         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28077         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28078         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28079         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28080         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28081         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28082         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28083         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28084         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28085         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28086         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28087         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28088         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28089         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28090         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28091         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28092         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28093         * sysdeps/posix/closedir.c: Likewise.
28094         * sysdeps/posix/opendir.c: Likewise.
28095         * sysdeps/posix/readdir.c: Likewise.
28096         * sysdeps/posix/rewinddir.c: Likewise.
28097         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28098         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28099         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28100         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28101         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28103         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28109         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28111         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28117         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28120         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28133         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28134         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28135         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28136         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28137         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28138         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28139         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28140         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28141         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28142         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28143         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28145         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28146         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28147         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28148         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28149         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28151         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28154         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28155         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28156         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28157         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28158         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28160         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28161         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28162         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28163         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28164         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28165         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28166         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28167         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28168         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28169         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28170         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28171         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28173         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28174         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28175         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28176         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28177         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28181         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28183         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28184         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28185         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28186         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28187         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28188         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28189         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28190         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28192         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28193         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28195         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28196         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28197         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28198         * sysdeps/unix/alpha/sysdep.S: Likewise.
28199         * sysdeps/unix/alpha/sysdep.h: Likewise.
28200         * sysdeps/unix/make-syscalls.sh: Likewise.
28201         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28203         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28204         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28205         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28206         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28207         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28208         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28209         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28210         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28211         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28212         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28213         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28214         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28215         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28216         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28217         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28218         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28219         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28220         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28221         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28222         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28223         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28224         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28225         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28226         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28230         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28231         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28235         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28236         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28239         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28240         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28242         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28243         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28244         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28245         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28248         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28252         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28253         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28254         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28255         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28257         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28259         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28260         * sysdeps/x86_64/memcpy.S: Likewise.
28261         * sysdeps/x86_64/memmove.c: Likewise.
28262         * sysdeps/x86_64/memset.S: Likewise.
28263         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28264         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28265         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28266         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28267         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28269         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28270         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28271         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28272         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28273         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28275         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28276         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28277         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28278         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28279         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28280         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28281         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28282         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28283         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28284         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28285         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28286         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28287         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28288         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28289         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28290         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28291         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28292         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28293         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28294         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28295         * sysdeps/x86_64/strcmp.S: Likewise.
28297         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28299         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28300         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28301         * elf/rtld-Rules: Likewise.
28302         * elf/setup-vdso.h: Likewise.
28303         * include/assert.h: Likewise.
28304         * include/bits/stdlib-float.h: Likewise.
28305         * include/errno.h: Likewise.
28306         * include/sys/stat.h: Likewise.
28307         * include/unistd.h: Likewise.
28308         * sysdeps/aarch64/setjmp.S: Likewise.
28309         * sysdeps/alpha/setjmp.S: Likewise.
28310         * sysdeps/arm/__longjmp.S: Likewise.
28311         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28312         * sysdeps/arm/setjmp.S: Likewise.
28313         * sysdeps/arm/sysdep.h: Likewise.
28314         * sysdeps/generic/_itoa.h: Likewise.
28315         * sysdeps/generic/dl-sysdep.h: Likewise.
28316         * sysdeps/generic/ldsodefs.h: Likewise.
28317         * sysdeps/i386/dl-tls.h: Likewise.
28318         * sysdeps/i386/setjmp.S: Likewise.
28319         * sysdeps/m68k/setjmp.c: Likewise.
28320         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28321         * sysdeps/mach/hurd/opendir.c: Likewise.
28322         * sysdeps/posix/getcwd.c: Likewise.
28323         * sysdeps/posix/opendir.c: Likewise.
28324         * sysdeps/posix/profil.c: Likewise.
28325         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28326         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28327         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28328         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28329         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28330         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28331         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28332         * sysdeps/s390/dl-tls.h: Likewise.
28333         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28334         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28335         * sysdeps/sh/sh3/setjmp.S: Likewise.
28336         * sysdeps/sh/sh4/setjmp.S: Likewise.
28337         * sysdeps/unix/alpha/sysdep.h: Likewise.
28338         * sysdeps/unix/arm/sysdep.S: Likewise.
28339         * sysdeps/unix/i386/sysdep.S: Likewise.
28340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28341         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28342         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28343         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28344         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28345         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28346         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28347         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28348         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28349         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28350         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28351         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28352         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28355         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28358         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28359         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28360         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28363         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28364         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28367         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28368         * sysdeps/x86_64/setjmp.S: Likewise.
28370         * include/math.h: Use IS_IN instead of IS_IN_libm.
28371         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28372         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28373         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28374         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28375         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28376         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28377         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28378         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28380         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28381         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28382         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28383         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28384         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28385         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28386         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28387         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28388         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28389         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28390         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28391         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28392         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28393         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28394         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28395         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28396         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28397         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28398         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28399         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28400         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28401         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28402         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28403         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28405         Likewise.
28406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28407         Likewise.
28408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28409         Likewise.
28410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28411         Likewise.
28412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28413         Likewise.
28414         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28415         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28416         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28417         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28418         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28419         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28425         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28426         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28427         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28428         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28430         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28431         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28432         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28433         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28434         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28438         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28440         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28442         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28443         * nptl/pthreadP.h: Likewise.
28444         * nptl_db/structs.def: Likewise.
28445         * sysdeps/arm/sysdep.h: Likewise.
28446         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28447         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28448         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28449         * sysdeps/unix/alpha/sysdep.h: Likewise.
28450         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28452         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28453         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28454         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28455         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28456         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28457         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28458         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28459         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28460         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28461         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28462         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28463         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28468         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28471         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28472         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28473         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28474         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28475         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28477         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28478         * nptl/pthreadP.h: Likewise.
28479         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28480         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28481         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28482         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28483         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28484         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28485         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28486         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28487         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28488         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28489         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28490         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28492         Likewise.
28493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28494         Likewise.
28495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28497         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28498         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28500         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28501         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28502         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28504         * dlfcn/dladdr.c: Use IS_IN.
28505         * dlfcn/dladdr1.c: Likewise.
28506         * dlfcn/dlclose.c: Likewise.
28507         * dlfcn/dlerror.c: Likewise.
28508         * dlfcn/dlinfo.c: Likewise.
28509         * dlfcn/dlmopen.c: Likewise.
28510         * dlfcn/dlopen.c: Likewise.
28511         * dlfcn/dlsym.c: Likewise.
28512         * dlfcn/dlvsym.c: Likewise.
28514         * include/ifaddrs.h: Use IS_IN.
28515         * inet/check_pf.c: Likewise.
28516         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28517         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28519         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28520         IS_IN_ldconfig.
28521         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28522         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28524         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28525         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28526         IS_IN (libc).
28528         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28530         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28531         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28532         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28533         * include/libc-symbols.h (IS_IN_LIB): New macro.
28534         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28535         * include/netdb.h: Likewise.
28536         * include/stap-probe.h: Remove all uses of IN_LIB.
28538         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28539         instead of IN_MODULE.
28540         * include/libc-symbols.h (IN_MODULE): Define using
28541         MODULE_NAME.
28542         (PASTE_NAME, PASTE_NAME1): New macros.
28543         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28544         of IN_LIB.
28545         (STAP_PROBE_ASM): Likewise.
28547 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28549         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28550         __mach_init in dlopened libc.
28552 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28554         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28555         * sysdeps/arm/preconfigure: Regenerate.
28557 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28559         * nptl/pthread_create.c (__pthread_create_2_1): Set
28560         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28561         when copying values from IATTR into PD.
28563 2014-11-21  Will Newton  <will.newton@linaro.org>
28564             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28566         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28567         Refactor inline-asm.  Also add comment.
28569         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28570         ElfW macro instead of hardcoded Elf64 types.
28571         (la_aarch64_gnu_pltenter): Likewise.
28572         * sysdeps/aarch64/dl-machine.h
28573         (elf_machine_runtime_setup): Use ElfW(Addr).
28575         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28576         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28577         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28578         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28579         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28580         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28581         (R_AARCH64_TLS_DTPMOD): This.
28582         (R_AARCH64_TLS_DTPREL64): Rename to ...
28583         (R_AARCH64_TLS_DTPREL): This.
28584         (R_AARCH64_TLS_TPREL64): Rename to ...
28585         (R_AARCH64_TLS_TPREL): This.
28586         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28587         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28588         R_AARCH64_TLS_TPREL64.
28589         (elf_machine_rela): Likewise.
28591 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28593         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28594         by setting it to 0.  64b atomics are not supported currently.
28596 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28598         [BZ #16469]
28599         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28600         search domain names.
28602 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28604         [BZ #16469]
28605         * NEWS: Update.
28606         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28607         trailing dot.
28608         * posix/tst-getaddrinfo5.c: New.
28609         * posix/Makefile (tests): Add it.
28611 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28613         [BZ #14498]
28614         * NEWS: Fixed.
28615         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28616         after parsing line but before break_if_match.
28617         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28618         if there is a protocol mismatch.
28620 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28622         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28623         because the potential race is on the user-supplied stream.
28625 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28627         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28628         string literal if not passed a buffer.
28629         * manual/job.texi (ctermid): Update reasoning, note deviation
28630         from posix, suggest mtasurace when not passed a buffer, for
28631         future non-preliminary safety notes.
28633 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28635         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28636         of not passing it a buffer.
28637         Reported by Peng Haitao.
28639 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28641         * manual/Makefile ($(objpfx)stamp-summary): Require
28642         check-safety.sh to pass.
28643         * manual/check-safety.sh: Wish for verification that every
28644         @deftypefn and @deftypefun is followed by a @safety remark.
28646 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28648         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28650         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28651         PTHREAD_CANCEL_ASYNCHRONOUS.
28652         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28653         send SIGCANCEL.
28655         * nptl/default-sched.h: New file.
28656         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28657         * nptl/pthread_create.c: Include it.
28658         (__pthread_create_2_1): Use collect_default_sched instead of making
28659         Linux syscalls here directly.
28661 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28663         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28664         __pthread_once): Use C11 atomics.
28666 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28668         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28670 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28672         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28673         atomic_thread_fence_acquire, atomic_thread_fence_release,
28674         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28675         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28676         atomic_compare_exchange_weak_relaxed,
28677         atomic_compare_exchange_weak_acquire,
28678         atomic_compare_exchange_weak_release,
28679         atomic_exchange_acquire, atomic_exchange_release,
28680         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28681         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28682         atomic_fetch_and_acquire,
28683         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28685 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28687         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28688         USE_ATOMIC_COMPILER_BUILTINS): Define.
28689         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28691         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28693         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28695         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28697         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28699         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28701         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28703         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28705         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28707         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28709         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28711         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28713         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28715         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28717         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28719         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28721         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28723         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28724         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28725         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28727         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28730 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28732         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28733         the sched_priority value here.  It was already checked when the user
28734         called pthread_attr_setschedparam.
28736         * nptl/tst-bad-schedattr.c: New file.
28737         * nptl/Makefile (tests): Add it.
28739 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28740             Florian Weimer  <fweimer@redhat.com>
28741             Joseph Myers  <joseph@codesourcery.com>
28742             Adam Conrad  <adconrad@0c3.net>
28743             Andreas Schwab  <schwab@suse.de>
28744             Brooks  <bmoses@google.com>
28746         [BZ #17625]
28747         * wordexp-test.c (__dso_handle): Add prototype.
28748         (__register_atfork): Likewise.
28749         (__app_register_atfork): New function.
28750         (registered_forks): New global.
28751         (register_fork): New function.
28752         (test_case): Add 3 new tests for WRDE_CMDSUB.
28753         (main): Call __app_register_atfork.
28754         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28755         fork count is non-zero fail the test.
28756         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28757         is set.
28758         (parse_dollars): Remove check for WRDE_NOCMD.
28759         (parse_dquote): Likewise.
28761 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28763         * Makeconfig (built-modules): List non-library modules to be
28764         built.
28765         (module-cppflags): Include libc-modules.h for
28766         everything except shlib-versions.v.i.
28767         (CPPFLAGS): Use it.
28768         (before-compile): Add libc-modules.h.
28769         ($(common-objpfx)libc-modules.h,
28770         $(common-objpfx)libc-modules.stmp): New targets.
28771         (common-generated): Add libc-modules.h and libc-modules.stmp.
28772         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28773         * include/libc-symbols.h: Don't include libc-modules.h.
28774         * include/libc-modules.h: Remove file.
28775         * scripts/gen-libc-modules.awk: New script to generate
28776         libc-modules.h.
28777         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28778         Depend on libc-modules.stmp.
28780         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28782         * Makeconfig (in-module): Get value of libof set for the
28783         translation unit.
28784         (CPPFLAGS): Use $(in-module).
28785         * Makerules: Don't suffix routine names for nonlib.
28786         * include/libc-modules.h: New file.
28787         * include/libc-symbols.h: Include libc-modules.h
28788         (IS_IN): New macro to replace IS_IN_* macros.
28789         * elf/Makefile: Set libof-* for each routine.
28790         * elf/rtld-Rules: Likewise.
28791         * extra-modules.mk: Likewise.
28792         * iconv/Makefile: Likewise.
28793         * iconvdata/Makefile: Likewise.
28794         * locale/Makefile: Likewise.
28795         * malloc/Makefile: Likewise.
28796         * nss/Makefile: Likewise.
28797         * sysdeps/gnu/Makefile: Likewise.
28798         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28799         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28800         * sysdeps/s390/s390-64/Makefile: Likewise.
28801         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28802         CPPFLAGS for nscd instead of nonlib.
28804 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28806         * nptl/createthread.c: New file.
28808         * nptl/createthread.c: Moved ...
28809         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28811         * nptl/createthread.c: Add proper top-line comment.
28812         (do_clone): Folded into ...
28813         (create_thread): ... here.  Take new arguments STOPPED_START and
28814         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28815         increment __nptl_threads, do event-reporting logic, do
28816         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28817         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28818         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28819         just send SIGCANCEL.
28820         * nptl/pthread_create.c: Forward-declare create_thread before
28821         including createthread.c.
28822         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28823         declaration, and new macro START_THREAD_SELF to replace argument.
28824         Remove return statement.
28825         (report_thread_creation): New function.
28826         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28827         synchronization logic, and __nptl_nthreads increment here, around
28828         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28829         PD->parent_cancelhandling here, before create_thread.  When
28830         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28831         __deallocate_stack, and ENOMEM translation here.
28833 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28835         [BZ #17616]
28836         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28837         (mptwo): Rename to __mptwo.
28838         (__inv): Use __mptwo instead of mptwo.
28839         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28840         (mptwo): Rename to __mptwo.
28841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28842         of mpone and __mptwo instead of mptwo.
28843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28844         instead of mpone.
28845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28846         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28847         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28848         of mpone and __mptwo instead of mptwo.
28849         (__mpranred): Use __mpone instead of mpone.
28850         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28851         variable.
28852         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28853         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28854         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28855         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28856         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28857         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28858         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28859         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28860         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28861         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28862         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28863         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28864         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28865         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28866         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28867         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28868         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28869         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28870         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28872 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28874         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28875         replace BSD Handler xref with BSD Signal Handling.
28877 2014-11-17  Richard Henderson  <rth@redhat.com>
28879         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28880         (_FP_PACK_RAW_2): Remove.
28881         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28882         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28883         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28884         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28885         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28886         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28887         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28888         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28889         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28890         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28891         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28892         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28893         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28894         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28895         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28896         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28898 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28900         * signal/signal.h [__USE_MISC]
28901         (struct sigvec): Remove type.
28902         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28903         (sigvec): Remove declaration.
28904         * sysdeps/posix/sigvec.c: Moved ...
28905         * signal/sigvec.c: ... here, replacing old file.
28906         (struct sigvec): New type, copied from old signal.h definition.
28907         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28908         (__sigvec): Convert definition to prototype.
28909         (sigvec): Replace weak_alias with compat_symbol.
28910         * signal/Versions (libc: GLIBC_2.21): New version set.
28911         * include/signal.h: Remove __sigvec declaration.
28912         * sysdeps/unix/bsd/sigvec.c: Remove file.
28913         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28914         * manual/signal.texi (BSD Handler): Remove subsection.
28915         Move siginterrupt up to ...
28916         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28917         (Blocking in BSD): Fold subsection into its parent.
28918         * NEWS: Mention sigvec removal.
28920 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28922         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28923         (DLA_FMS): Make definition conditional only on [__FMA4__].
28924         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28925         definition.
28927         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28928         Make definition conditional only on [PROF].
28929         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28930         definition.
28931         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28932         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28934         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28935         !__GNUC__].
28936         * include/signal.h (__sigpause): Move declaration above call to
28937         libc_hidden_proto.
28938         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28939         variable.
28940         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28941         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28943 2014-11-14  David S. Miller  <davem@davemloft.net>
28945         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28946         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28948 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28950         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28951         * configure: Regenerated.
28952         * manual/install.texi (Tools for Compilation): Document a
28953         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28954         compiler verified to work.
28955         * INSTALL: Regenerated.
28957         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28958         redeclare with asm name.
28959         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28960         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28961         including <string.h>.
28962         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28963         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28964         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28965         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28966         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28968         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28970 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28972         * stdlib/strtol.c (__strtol): Use prototype definition.
28974         [BZ #17594]
28975         * stdlib/strtol.c (SYM__): New macro.
28976         (SYM__1): Likewise.
28977         (__strtol): Likewise.
28978         (strtol): Rename to __strtol and define as weak alias of
28979         __strtol.  Use libc_hidden_weak.
28981 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28983         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28984         Use numbered labels in inline assembly.
28986 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28988         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28989         Add setjmp LIBC_PROBE.
28990         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28991         Likewise.
28992         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28993         Add longjmp, longjmp_target LIBC_PROBE.
28994         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28995         Likewise.
28997 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29000         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29001         to get rid of unused variable warning.
29003 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29005         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29006         Check for unwind_backtrace ==  NULL only in SHARED case.
29007         (__backchain_backtrace): Compile only in SHARED case.
29008         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29009         Likewise.
29010         (__backchain_backtrace): Declare as static.
29012 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29014         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29015         (__libc_multiple_threads_ptr): Variable moved ...
29016         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29018 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29020         * conform/GlibcConform.pm: New file.
29021         * conform/conformtest.pl: Use GlibcConform module.
29022         * conform/linknamespace.pl: New file.
29023         * conform/list-header-symbols.pl: Likewise.
29024         * conform/Makefile (linknamespace-symlists-base): New variable.
29025         (linknamespace-symlists-tests): Likewise.
29026         (linknamespace-header-base): Likewise.
29027         (linknamespace-header-tests): Likewise.
29028         (tests-special): Add new tests.
29029         ($(linknamespace-symlists-tests)): New rule.
29030         (linknamespace-libs): New variable.
29031         ($(objpfx)symlist-stdlibs): New rule.
29032         ($(linknamespace-header-tests)): Likewise.
29033         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29034         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29035         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29036         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29037         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29038         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29039         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29040         (test-xfail-ISO/math.h/linknamespace): Likewise.
29041         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29042         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29043         (test-xfail-ISO/time.h/linknamespace): Likewise.
29044         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29045         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29046         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29047         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29048         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29049         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29050         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29051         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29052         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29053         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29054         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29055         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29056         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29057         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29058         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29059         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29060         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29061         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29062         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29063         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29064         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29065         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29066         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29067         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29068         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29069         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29070         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29071         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29072         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29073         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29074         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29075         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29076         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29077         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29078         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29079         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29080         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29081         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29082         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29083         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29084         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29085         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29086         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29087         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29088         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29089         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29090         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29091         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29092         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29093         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29094         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29095         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29096         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29097         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29098         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29099         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29100         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29101         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29102         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29103         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29104         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29105         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29106         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29107         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29108         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29109         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29110         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29111         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29112         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29113         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29114         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29115         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29116         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29117         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29118         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29119         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29120         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29121         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29122         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29123         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29124         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29125         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29126         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29127         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29128         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29129         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29130         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29131         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29132         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29133         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29134         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29135         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29136         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29137         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29138         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29139         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29140         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29141         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29142         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29143         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29144         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29145         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29146         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29147         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29148         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29149         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29150         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29151         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29152         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29153         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29154         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29155         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29156         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29157         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29158         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29159         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29160         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29161         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29162         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29163         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29164         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29165         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29166         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29167         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29168         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29169         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29170         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29171         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29172         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29173         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29174         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29175         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29176         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29177         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29178         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29179         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29180         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29181         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29182         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29183         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29184         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29185         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29186         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29187         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29188         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29189         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29190         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29191         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29192         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29193         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29195         [BZ #17589]
29196         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29197         of fgets_unlocked.
29199         [BZ #17585]
29200         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29201         (memmem): Rename to __memmem and define as weak alias of
29202         __memmem.  Use libc_hidden_weak.
29203         (__memmem): Use libc_hidden_def.
29204         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29205         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29206         memmem.
29208         [BZ #17582]
29209         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29210         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29211         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29212         and define as weak alias of __fgets_unlocked.  Use
29213         libc_hidden_weak.
29214         (__fgets_unlocked): Use libc_hidden_def.
29215         * include/stdio.h (__fgets_unlocked): Declare.  Use
29216         libc_hidden_proto.
29217         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29218         __fgets_unlocked instead of fgets_unlocked.
29219         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29220         (GET_NPROCS_CONF_PARSER): Likewise.
29221         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29222         (GET_NPROCS_CONF_PARSER): Likewise.
29224         [BZ #17574]
29225         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29226         weak alias of __wmemset.  Use libc_hidden_weak.
29227         (__wmemset): Use libc_hidden_def.
29228         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29229         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29230         of wmemset.
29232         [BZ #17573]
29233         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29234         with asm name __mempcpy.
29235         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29237         [BZ #17572]
29238         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29239         and define as weak alias of __rawmemchr.
29240         (__rawmemchr): Do not define as strong alias of rawmemchr.
29242         [BZ #17571]
29243         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29244         alias of __qsort_r.
29245         (qsort): Call __qsort_r instead of qsort_r.
29246         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29247         (__qsort_r): Declare.  Call libc_hidden_proto.
29248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29249         instead of qsort_r.
29250         * nscd/gai.c (__qsort_r): Define to qsort_r.
29251         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29252         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29253         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29255         [BZ #17570]
29256         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29257         define as weak alias of __malloc_info.
29259         [BZ #17584]
29260         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29261         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29262         (__rewinddir): Use libc_hidden_def.
29263         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29264         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29265         (__rewinddir): Use libc_hidden_def.
29266         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29267         weak alias of __rewinddir.  Don't use libc_hidden_def.
29268         (__rewinddir): Use libc_hidden_def.
29269         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29270         (__rewinddir): Use libc_hidden_proto.
29271         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29272         rewinddir.
29273         (__getcwd): Use __rewinddir instead of rewinddir.
29275         [BZ #17583]
29276         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29277         alias of __fileno.  Use libc_hidden_weak.
29278         (__fileno): Use libc_hidden_def.
29279         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29280         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29281         alias of __ftello.
29282         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29283         __ftello.
29284         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29285         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29286         libc_hidden_def.
29287         (fread_unlocked): Don't use libc_hidden_ver.
29288         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29289         and define as weak alias of __fread_unlocked.  Don't use
29290         libc_hidden_def.
29291         (__fread_unlocked): Use libc_hidden_def.
29292         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29293         (ftello): Don't use libc_hidden_proto.
29294         (__ftello): Declare.  Use libc_hidden_proto.
29295         (fread_unlocked): Don't use libc_hidden_proto.
29296         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29297         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29298         and __ftello instead of fileno, fread_unlocked and ftello.
29300 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29302         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29303         GOT12.
29304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29305         Likewise.
29306         (_dl_start_user): Likewise.
29307         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29309 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29310             Siddhesh Poyarekar  <siddhesh@redhat.com>
29312         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29313         Move argv and envp down instead of moving argc up.
29314         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29316 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29318         [BZ #17506]
29319         * test-skeleton.c (main): Return successful if one of
29320         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29321         * string/tst-strcoll-overflow.c: Define expected status.
29323 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29325         [BZ #17475]
29326         * locale/iso-639.def: Define Bhili and Tulu language codes.
29328 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29330         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29332 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29334         [BZ #17555]
29335         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29337 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29339         * configure.ac: Updated check of minimal required version to
29340         2.22.
29341         * manual/install.texi (Tools for Compilation): Updated version
29342         number.
29343         * configure: Regenerated.
29344         * INSTALL: Likewise.
29346 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29348         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29349         __tls_get_addr.
29351 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29353         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29354         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29355         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29356         libc_hidden_weak.
29357         (waitpid): Define as alias of __waitpid.
29358         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29359         __waitpid.
29360         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29361         libc_hidden_weak.
29362         (waitpid): Define as alias of __waitpid.
29363         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29364         __libc_waitpid alias.
29365         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29366         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29367         Likewise.
29368         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29369         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29370         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29371         alias.
29372         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29373         __waitpid.
29374         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29375         libc_hidden_weak.
29376         (waitpid): Define as alias of __waitpid.
29378 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29380         * manual/llio.texi: Add comment that write safety has been
29381         fixed in Linux.
29383         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29384         (localplt-build-dso): Add elf/ld.so.
29385         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29386         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29387         and free for ld.so.
29388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29389         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29391         Likewise.
29392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29393         Likewise.
29394         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29395         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29396         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29397         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29398         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29399         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29400         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29401         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29402         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29403         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29404         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29406 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29408         [BZ #14132]
29409         * include/libc-symbols.h (INTUSE): Remove macro.
29410         (INTDEF): Likewise.
29411         (INTVARDEF): Likewise.
29412         (_INTVARDEF): Likewise.
29413         (INTDEF2): Likewise.
29414         (INTVARDEF2): Likewise.
29415         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29416         rtld_hidden_def instead of INTVARDEF.
29417         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29418         (_dl_starting_up_internal): Remove declaration.
29419         (_dl_starting_up): Use rtld_hidden_proto.
29420         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29421         declaration.
29422         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29423         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29424         _dl_starting_up.
29425         * elf/dl-writev.h (_dl_writev): Likewise.
29426         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29427         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29428         _dl_starting_up_internal.
29430 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29432         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29433         test-skeleton.c.
29435 2014-11-05  Will Newton  <will.newton@linaro.org>
29437         * benchtests/Makefile: (bench-malloc): Add malloc thread
29438         scalability benchmark.
29439         * benchtests/bench-malloc-threads.c: New file.
29441 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29443         * sysdeps/aarch64/strchrnul.S: New file.
29445 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29447         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29448         definition.
29449         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29450         Likwise.
29451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29452         Likewise.
29453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29454         Likewise.
29455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29456         Likewise.
29457         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29458         Likewise.
29460 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29462         * catgets/test-gencat.c: Use test-skeleton.c.
29463         * catgets/tst-catgets.c: Likewise.
29464         * csu/tst-empty.c: Likewise.
29465         * elf/tst-audit2.c: Likewise.
29466         * elf/tst-global1.c: Likewise.
29467         * elf/tst-pathopt.c: Likewise.
29468         * elf/tst-piemod1.c: Likewise.
29469         * elf/tst-tls10.c: Likewise.
29470         * elf/tst-tls11.c: Likewise.
29471         * elf/tst-tls12.c: Likewise.
29472         * gnulib/tst-gcc.c: Likewise.
29473         * iconvdata/tst-e2big.c: Likewise.
29474         * iconvdata/tst-loading.c: Likewise.
29475         * iconv/tst-iconv1.c: Likewise.
29476         * iconv/tst-iconv2.c: Likewise.
29477         * inet/test-inet6_opt.c: Likewise.
29478         * inet/tst-gethnm.c: Likewise.
29479         * inet/tst-network.c: Likewise.
29480         * inet/tst-ntoa.c: Likewise.
29481         * intl/tst-codeset.c: Likewise.
29482         * intl/tst-gettext2.c: Likewise.
29483         * intl/tst-gettext3.c: Likewise.
29484         * intl/tst-ngettext.c: Likewise.
29485         * intl/tst-translit.c: Likewise.
29486         * io/test-stat.c: Likewise.
29487         * libio/test-fmemopen.c: Likewise.
29488         * libio/tst-freopen.c: Likewise.
29489         * libio/tst-sscanf.c: Likewise.
29490         * libio/tst-ungetwc1.c: Likewise.
29491         * libio/tst-ungetwc2.c: Likewise.
29492         * libio/tst-widetext.c: Likewise.
29493         * localedata/tst-ctype.c: Likewise.
29494         * localedata/tst-digits.c: Likewise.
29495         * localedata/tst-leaks.c: Likewise.
29496         * localedata/tst-mbswcs1.c: Likewise.
29497         * localedata/tst-mbswcs2.c: Likewise.
29498         * localedata/tst-mbswcs3.c: Likewise.
29499         * localedata/tst-mbswcs4.c: Likewise.
29500         * localedata/tst-mbswcs5.c: Likewise.
29501         * localedata/tst-setlocale.c: Likewise.
29502         * localedata/tst-trans.c: Likewise.
29503         * localedata/tst-wctype.c: Likewise.
29504         * localedata/tst-xlocale1.c: Likewise.
29505         * login/tst-grantpt.c: Likewise.
29506         * malloc/tst-calloc.c: Likewise.
29507         * malloc/tst-malloc.c: Likewise.
29508         * malloc/tst-mallocstate.c: Likewise.
29509         * malloc/tst-mcheck.c: Likewise.
29510         * malloc/tst-mtrace.c: Likewise.
29511         * malloc/tst-obstack.c: Likewise.
29512         * math/atest-exp2.c: Likewise.
29513         * math/atest-exp.c: Likewise.
29514         * math/atest-sincos.c: Likewise.
29515         * math/test-matherr.c: Likewise.
29516         * math/test-misc.c: Likewise.
29517         * math/test-powl.c: Likewise.
29518         * math/tst-definitions.c: Likewise.
29519         * misc/tst-dirname.c: Likewise.
29520         * misc/tst-efgcvt.c: Likewise.
29521         * misc/tst-fdset.c: Likewise.
29522         * misc/tst-hsearch.c: Likewise.
29523         * misc/tst-mntent2.c: Likewise.
29524         * nptl/tst-sem7.c: Likewise.
29525         * nptl/tst-sem8.c: Likewise.
29526         * nptl/tst-sem9.c: Likewise.
29527         * nss/test-netdb.c: Likewise.
29528         * posix/tst-fnmatch.c: Likewise.
29529         * posix/tst-getlogin.c: Likewise.
29530         * posix/tst-gnuglob.c: Likewise.
29531         * posix/tst-mmap.c: Likewise.
29532         * pwd/tst-getpw.c: Likewise.
29533         * resolv/tst-inet_ntop.c: Likewise.
29534         * rt/tst-timer.c: Likewise.
29535         * stdio-common/test-fseek.c: Likewise.
29536         * stdio-common/test-popen.c: Likewise.
29537         * stdio-common/test-vfprintf.c: Likewise.
29538         * stdio-common/tst-cookie.c: Likewise.
29539         * stdio-common/tst-fileno.c: Likewise.
29540         * stdio-common/tst-gets.c: Likewise.
29541         * stdio-common/tst-obprintf.c: Likewise.
29542         * stdio-common/tst-perror.c: Likewise.
29543         * stdio-common/tst-sprintf2.c: Likewise.
29544         * stdio-common/tst-sprintf3.c: Likewise.
29545         * stdio-common/tst-sprintf.c: Likewise.
29546         * stdio-common/tst-swprintf.c: Likewise.
29547         * stdio-common/tst-tmpnam.c: Likewise.
29548         * stdio-common/tst-unbputc.c: Likewise.
29549         * stdio-common/tst-wc-printf.c: Likewise.
29550         * stdlib/tst-environ.c: Likewise.
29551         * stdlib/tst-fmtmsg.c: Likewise.
29552         * stdlib/tst-limits.c: Likewise.
29553         * stdlib/tst-rand48-2.c: Likewise.
29554         * stdlib/tst-rand48.c: Likewise.
29555         * stdlib/tst-random2.c: Likewise.
29556         * stdlib/tst-random.c: Likewise.
29557         * stdlib/tst-strtol.c: Likewise.
29558         * stdlib/tst-strtoll.c: Likewise.
29559         * stdlib/tst-tls-atexit.c: Likewise.
29560         * stdlib/tst-xpg-basename.c: Likewise.
29561         * string/test-ffs.c: Likewise.
29562         * string/tst-bswap.c: Likewise.
29563         * string/tst-inlcall.c: Likewise.
29564         * string/tst-strtok.c: Likewise.
29565         * string/tst-strxfrm.c: Likewise.
29566         * sysdeps/x86_64/tst-audit10.c: Likewise.
29567         * sysdeps/x86_64/tst-audit3.c: Likewise.
29568         * sysdeps/x86_64/tst-audit4.c: Likewise.
29569         * sysdeps/x86_64/tst-audit5.c: Likewise.
29570         * time/tst-ftime_l.c: Likewise.
29571         * time/tst-getdate.c: Likewise.
29572         * time/tst-mktime3.c: Likewise.
29573         * time/tst-mktime.c: Likewise.
29574         * time/tst-posixtz.c: Likewise.
29575         * time/tst-strptime2.c: Likewise.
29576         * time/tst-strptime3.c: Likewise.
29577         * wcsmbs/tst-btowc.c: Likewise.
29578         * wcsmbs/tst-mbrtowc.c: Likewise.
29579         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29580         * wcsmbs/tst-wchar-h.c: Likewise.
29581         * wcsmbs/tst-wcpncpy.c: Likewise.
29582         * wcsmbs/tst-wcrtomb.c: Likewise.
29583         * wcsmbs/tst-wcsnlen.c: Likewise.
29584         * wcsmbs/tst-wcstof.c: Likewise.
29586 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29588         [BZ #14132]
29589         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29590         INTDEF.
29591         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29592         declaration.
29593         (_dl_mcount): Use rtld_hidden_proto.
29594         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29595         _dl_mcount.
29596         * elf/rtld.c (_rtld_global_ro): Likewise.
29598         [BZ #14132]
29599         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29600         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29601         of _dl_init_internal.
29602         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29603         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29604         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29605         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29606         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29607         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29608         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29609         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29610         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29611         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29612         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29613         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29614         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29615         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29616         * sysdeps/tile/dl-start.S (_start): Likewise.
29617         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29618         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29620         [BZ #14132]
29621         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29622         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29623         (rtld_progname): Make macro definition unconditional.
29624         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29625         INTDEF.
29626         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29627         (dl_main): Likewise.
29628         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29629         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29630         instead of _dl_argv_internal.
29631         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29632         __GI__dl_argv instead of INTUSE(_dl_argv).
29633         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29634         __GI__dl_argv instead of _dl_argv_internal.
29636         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29637         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29638         macro.
29639         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29640         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29641         New macro.
29642         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29643         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29644         macro.
29645         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29646         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29648 2014-11-04  Andreas Schwab  <schwab@suse.de>
29650         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29652 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29654         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29655         mtvsrd instruction in binary form.
29657 2014-11-03  Andreas Schwab  <schwab@suse.de>
29659         [BZ #17522]
29660         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29661         for less than MB_LEN_MAX use a local buffer of that size.
29662         * libio/tst-fputws.c: New file.
29663         * libio/Makefile (tests): Add tst-fputws.
29665 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29667         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29668         the size of the fpu_fr.fpu_dregs[] array.
29670 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29672         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29673         (__nanosleep): Do not define as alias.
29674         (nanosleep): Define as alias of __nanosleep.
29675         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29676         __libc_nanosleep name.
29678 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29680         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29681         install.texi in comment.
29683 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29685         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29686         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29687         ... add here and use lwsync or sync ...
29688         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29689         ... and add here using lwsync.
29691 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29693         * elf/dl-machine-reject-phdr.h: New file.
29694         * elf/dl-load.c: #include that.
29695         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29696         if that returned true.
29698 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29700         [BZ #17496]
29701         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29702         gen-as-const-headers chunk.  Add a big scare comment after the last
29703         safe place to touch before-compile.
29705 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29707         * manual/install.texi (Tools for Compilation): Update autoconf
29708         version requirements.
29709         * INSTALL: Regenerated.
29711         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29712         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29713         (__libc_pselect): Likewise.
29715         [BZ #14138]
29716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29721 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29723         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29724         correct barrier instruction.
29725         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29726         Likewise.
29727         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29728         Likewise.
29730 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29732         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29733         after defining inlines.  Instead, just use parens to defeat macro
29734         expansion of __isctype in its declaration.
29736 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29738         * include/sys/uio.h (__libc_readv): Remove declaration.
29739         (__libc_writev): Likewise.
29740         * misc/readv.c (__libc_readv): Rename to __readv.
29741         (__readv): Do not define as alias.
29742         (readv): Define as alias of __readv.
29743         * misc/writev.c (__libc_writev): Rename to __writev.
29744         (__writev): Do not define as alias.
29745         (writev): Define as alias of __writev.
29746         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29747         (__readv): Do not define as alias.
29748         (readv): Define unconditionally as alias of __readv.
29749         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29750         (__writev): Do not define as alias.
29751         (writev): Define unconditionally as alias of __writev.
29752         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29753         name.
29754         (writev): Do not define __libc_writev name.
29756 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29758         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29759         (convert_charseq): New function, broken out of ...
29760         (use_from_charmap): ... here.  Call it.
29761         (use_to_charmap): Use convert_charseq and free instead of duplicating
29762         its code with a variable-length stack struct.
29764 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29766         * include/fcntl.h (__libc_creat): Remove declaration.
29767         * io/creat.c (__libc_creat): Rename to creat.
29768         (creat): Do not define as alias.
29769         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29770         of creat instead of __libc_creat.
29771         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29772         to creat.
29773         (creat): Do not define as alias.
29774         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29775         __libc_creat.
29776         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29777         __libc_creat name.
29778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29779         Likewise.
29781 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29783         * manual/llio.texi: Add comments discussing why write() may be
29784         considered MT-unsafe on Linux.
29786 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29788         * dl-load.c (local_strdup): Remove.
29789         (expand_dynamic_string_token): Use __strdup.
29790         (decompose_rpath): Likewise.
29791         (_dl_map_object): Likewise.
29793 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29795         [BZ #14132]
29796         * sysdeps/generic/unwind-dw2-fde.c
29797         (__register_frame_info_bases_internal): Do not declare.
29798         (__register_frame_info_table_bases_internal): Likewise.
29799         (__deregister_frame_info_bases_internal): Likewise.
29800         (__register_frame_info_bases): Declare and use hidden_proto before
29801         definition.  Use hidden_def instead of INTDEF.
29802         (__register_frame_info_table_bases): Likewise.
29803         (__deregister_frame_info_bases): Likewise.
29804         (__register_frame_info): Do not use INTUSE.
29805         (__register_frame): Likewise.
29806         (__register_frame_info_table): Likewise.
29807         (__register_frame_table): Likewise.
29808         (__deregister_frame_info): Likewise.
29809         (__deregister_frame): Likewise.
29811 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29813         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29814         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29815         not undefine.
29816         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29817         Likewise.
29818         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29819         Likewise.
29821 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29823         [BZ #14138]
29824         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29825         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29826         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29827         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29828         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29829         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29830         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29831         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29832         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29833         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29834         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29835         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29836         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29837         syscall.
29838         (setfsuid): Likewise.
29839         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29840         (setfsuid): Likewise.
29841         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29842         (setfsuid): Likewise.
29843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29844         Likewise.
29845         (setfsuid): Likewise.
29846         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29847         (setfsuid): Likewise.
29848         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29849         Likewise.
29850         (setfsuid): Likewise.
29852 2014-10-27  Andreas Schwab  <schwab@suse.de>
29854         [BZ #17501]
29855         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29856         check for Slow_SSE4_2 feature bit.
29857         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29858         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29859         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29860         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29862 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29864         * configure.ac: Validate compiler version with a empirical test of
29865         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29866         $CC -v output.
29867         * configure: Regenerated.
29869         * inet/htons.c (htons): Prototypify.
29870         * inet/htonl.c (htonl): Likewise.
29872 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29874         * string/strncat.c (strncat): Improve performance by using strlen.
29876 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29878         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29880 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29882         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29883         Call libc_fetestexcept_aarch64.
29885 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29887         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29888         Call libc_feholdexcept_aarch64.
29890 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29892         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29893         Call get_rounding_mode.
29895 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29897         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29898         Simplify logic.
29900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29902         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29903         Simplify logic.
29905 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #14138]
29908         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29909         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29910         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29911         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29912         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29913         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29914         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29915         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29916         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29917         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29918         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29919         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29920         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29921         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29922         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29923         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29924         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29925         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29926         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29927         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29928         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29929         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29930         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29931         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29932         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29933         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29934         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29935         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29936         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29937         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29938         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29939         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29940         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29941         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29942         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29943         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29944         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29945         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29946         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29947         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29948         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29949         syscall.
29950         (geteuid): Likewise.
29951         (getgid): Likewise.
29952         (getuid): Likewise.
29953         (getresgid): Likewise.
29954         (getresuid): Likewise.
29955         (getgroups): Likewise.
29956         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29957         (geteuid): Likewise.
29958         (getgid): Likewise.
29959         (getuid): Likewise.
29960         (getresgid): Likewise.
29961         (getresuid): Likewise.
29962         (getgroups): Likewise.
29963         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29964         (geteuid): Likewise.
29965         (getgid): Likewise.
29966         (getuid): Likewise.
29967         (getresgid): Likewise.
29968         (getresuid): Likewise.
29969         (getgroups): Likewise.
29970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29971         Likewise.
29972         (geteuid): Likewise.
29973         (getgid): Likewise.
29974         (getuid): Likewise.
29975         (getresgid): Likewise.
29976         (getresuid): Likewise.
29977         (getgroups): Likewise.
29978         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29979         (geteuid): Likewise.
29980         (getgid): Likewise.
29981         (getuid): Likewise.
29982         (getresgid): Likewise.
29983         (getresuid): Likewise.
29984         (getgroups): Likewise.
29985         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29986         Likewise.
29987         (geteuid): Likewise.
29988         (getgid): Likewise.
29989         (getuid): Likewise.
29990         (getgroups): Likewise.
29992         [BZ #14138]
29993         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29994         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29995         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29996         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29997         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29998         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29999         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30000         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30001         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30002         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30003         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30004         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30005         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30006         __chown.
30007         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30008         (lchown): Likewise.
30009         (fchown): Likewise.
30010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30011         Likewise.
30012         (lchown): Likewise.
30013         (fchown): Likewise.
30014         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30015         (lchown): Likewise.
30016         (fchown): Likewise.
30017         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30018         Likewise.
30019         (lchown): Likewise.
30020         (fchown): Likewise.
30022 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30024         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30025         Simplify logic.
30027 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30029         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30030         Cleanup logic.
30032 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30034         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30035         Remove unused include.
30037 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30039         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30041         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30042         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30044 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30045             Helge Deller <deller@gmx.de>
30047         [BZ #17508]
30048         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30049         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30050         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30052 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30054         [BZ #14132]
30055         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30056         Remove macro definition.
30057         (__ashrdi3_v_glibc20): Likewise.
30058         (__lshrdi3_v_glibc20): Likewise.
30059         (__cmpdi2_v_glibc20): Likewise.
30060         (__ucmpdi2_v_glibc20): Likewise.
30061         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30062         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30063         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30064         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30065         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30066         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30068 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30070         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30071         old GNU extension [0] syntax.
30072         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30073         alloca rather than an array member with variable length.
30074         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30075         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30076         (parse_opt): ... here.  Likewise use alloca there.
30077         Validate the -i argument before checking for rootness.
30078         (send_shutdown): New function, broken out of ...
30079         (parse_opt): ... here.
30081 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30083         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30084         macro to get at the _rt_local_ro field.
30085         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30086         ([PIC] case) or _dl_hwcap ([!PIC] case).
30087         * sysdeps/arm/setjmp.S: Likewise.
30089         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30090         * sysdeps/arm/configure.ac: New check to define it.
30091         * sysdeps/arm/configure: Regenerated.
30092         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30093         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30094         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30095         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30096         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30097         Use move/movt pair instead of a load.
30098         (LDST_GLOBAL): Macro removed.
30099         (LDR_GLOBAL): New macro replaces it.
30100         (LDR_HIDDEN): New macro.
30101         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30102         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30104         * setjmp/tst-setjmp-static.c: New file.
30105         * setjmp/Makefile (tests): Add it.
30106         (tests-static): New variable.
30108 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30110         [BZ #17485]
30111         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30113 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30115         [BZ #14132]
30116         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30118 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30120         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30122 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30124         * io/fts.c (dirent_not_directory): New function.
30125         (fts_build): Call it.
30127 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30129         * nptl/version.c (__nptl_main): Use normal __write rather than
30130         INTERNAL_SYSCALL.
30131         (banner): Update copyright years.
30133         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30134         gettimeofday.
30135         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30136         * nptl/pthread_cond_timedwait.c: Likewise.
30137         * nptl/pthread_mutex_timedlock.c: Likewise.
30138         * nptl/sem_timedwait.c: Likewise.
30140         * sysdeps/nptl/bits/libc-lock.h
30141         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30142         (__libc_lock_init_recursive): Return void, not 0.
30143         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30144         (__libc_rwlock_init): Likewise.
30145         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30147 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30149         [BZ #15215]
30150         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30151         (__pthread_once_slow): ... here.
30152         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30153         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30155 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30157         [BZ #15215]
30158         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30159         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30160         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30161         * nptl/pthread_once.c (__pthread_once): Likewise.
30162         Update comments.
30164 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30166         [BZ #14138]
30167         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30168         name.
30169         (writev): Use __libc_writev as strong name.
30170         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30171         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30173 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30175         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30177         * sysdeps/i386/nptl/tls.h
30178         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30179         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30180         New macros.
30181         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30182         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30183         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30184         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30185         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30186         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30188         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30189         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30190         on [__NR_futex].
30191         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30192         broken out of ...
30193         (__pthread_mutex_init): ... here.  Call it.
30194         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30195         Conditionalize PI cases on [__NR_futex].
30196         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30197         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30198         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30200         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30201         conditional on [SIGSETXID].
30202         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30203         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30204         is defined.  Likewise for SIGSETXID.
30205         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30206         Conditionalize definitions on [SIGSETXID].
30207         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30208         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30209         unblocking on [SIGCANCEL].
30211         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30212         [__NR_set_robust_list].
30214 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30216         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30217         (do_compare): Likewise.
30219 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30221         [BZ #15884]
30222         * string/strcoll_l.c: Don't include stdio.h.
30223         (coll_seq): Remove members idxarr and rulearr.
30224         (get_next_seq_cached): Remove function.
30225         (get_next_seq): Likewise.
30226         (get_next_seq_nocache): Rename to get_next_seq.
30227         (do_compare): Remove function.
30228         (do_compare_nocache): Rename to do_compare.
30229         (STRCOLL): Remove weight and rules cache.
30231 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30233         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30234         * sysdeps/arm/sfp-machine.h: ... to here.
30235         * sysdeps/arm/Implies: Remove arm/soft-fp.
30237 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30239         * conform/data/sys/utsname.h-data (*_t): Allow.
30240         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30241         [POSIX] (WEXITED): Do not expect constant.
30242         [POSIX] (WSTOPPED): Likewise.
30243         [POSIX] (WNOHANG): Likewise.
30244         [POSIX] (WNOWAIT): Likewise.
30245         [POSIX] (siginfo_t): Do not expect type or elements.
30246         [POSIX] (pid_t): Do not expect type.
30247         [POSIX] (signal.h): Do not allow header.
30248         [POSIX] (sys/resource.h): Likewise.
30249         [POSIX] (si_*): Do not allow pattern.
30250         [POSIX] (W*): Likewise.
30251         [POSIX] (P_*): Likewise.
30252         [POSIX] (BUS_*): Likewise.
30253         [POSIX] (CLD_*): Likewise.
30254         [POSIX] (FPE_*): Likewise.
30255         [POSIX] (ILL_*): Likewise.
30256         [POSIX] (POLL_*): Likewise.
30257         [POSIX] (SEGV_*): Likewise.
30258         [POSIX] (SI_*): Likewise.
30259         [POSIX] (TRAP_*): Likewise.
30260         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30261         variable.
30263 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30265         [BZ #12926]
30266         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30267         infinite loop when __recvmsg returns 0.
30269 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30271         * CANCEL-FCT-WAIVE: Remove file.
30272         * CANCEL-FILE-WAIVE: Likewise.
30274         [BZ #14132]
30275         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30276         instead of INTVARDEF.
30277         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30278         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30279         rtld_hidden_data_def instead of INTVARDEF.
30280         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30281         * elf/dl-deps.c (expand_dst): Likewise.
30282         * elf/dl-load.c (_dl_dst_count): Likewise.
30283         (_dl_dst_substitute): Likewise.
30284         (decompose_rpath): Likewise.
30285         (_dl_init_paths): Likewise.
30286         (open_path): Likewise.
30287         (_dl_map_object): Likewise.
30288         * elf/rtld.c (dl_main): Likewise.
30289         (process_dl_audit): Likewise.
30290         (process_envvars): Likewise.
30291         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30292         Remove declaration.
30293         (__libc_enable_secure): Use rtld_hidden_proto.
30295 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30297         * elf/dl-load.c
30298         (add_path): New function broken out of _dl_rtld_di_serinfo.
30299         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30301 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30303         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30304         parentheses around macro arguments.
30305         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30311         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30315         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30316         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30317         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30318         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30319         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30320         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30321         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30322         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30323         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30334         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30335         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30336         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30338         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30339         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30340         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30341         Likewise.
30342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30343         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30344         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30349         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30350         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30351         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30352         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30353         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30354         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30363         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30366         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30367         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30368         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30369         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30370         (_FP_FRAC_SRS_1): Likewise.
30371         (_FP_FRAC_CLZ_1): Likewise.
30372         (_FP_MUL_MEAT_1_imm): Likewise.
30373         (_FP_MUL_MEAT_1_wide): Likewise.
30374         (_FP_MUL_MEAT_1_hard): Likewise.
30375         (_FP_SQRT_MEAT_1): Likewise.
30376         (_FP_FRAC_ASSEMBLE_1): Likewise.
30377         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30378         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30379         (__FP_CLZ_2): Likewise.
30380         (_FP_MUL_MEAT_2_wide): Likewise.
30381         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30382         (_FP_MUL_MEAT_2_gmp): Likewise.
30383         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30384         (_FP_SQRT_MEAT_2): Likewise.
30385         (_FP_FRAC_ASSEMBLE_2): Likewise.
30386         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30387         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30388         (_FP_FRAC_CLZ_4): Likewise.
30389         (_FP_MUL_MEAT_4_wide): Likewise.
30390         (_FP_MUL_MEAT_4_gmp): Likewise.
30391         (_FP_SQRT_MEAT_4): Likewise.
30392         (_FP_FRAC_ASSEMBLE_4): Likewise.
30393         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30394         * soft-fp/op-common.h (_FP_CMP): Likewise.
30395         (_FP_CMP_EQ): Likewise.
30396         (_FP_CMP_UNORD): Likewise.
30397         (_FP_TO_INT): Likewise.
30398         (_FP_FROM_INT): Likewise.
30399         [!__FP_CLZ] (__FP_CLZ): Likewise.
30400         (_FP_DIV_HELP_imm): Likewise.
30401         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30402         Likewise.
30403         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30414         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30417         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30418         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30419         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30432         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30436         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30437         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30438         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30439         (FP_UNPACK_RAW_SP): Likewise.
30440         (FP_PACK_RAW_S): Likewise.
30441         (FP_PACK_RAW_SP): Likewise.
30442         (FP_UNPACK_S): Likewise.
30443         (FP_UNPACK_SP): Likewise.
30444         (FP_UNPACK_SEMIRAW_S): Likewise.
30445         (FP_UNPACK_SEMIRAW_SP): Likewise.
30446         (FP_PACK_S): Likewise.
30447         (FP_PACK_SP): Likewise.
30448         (FP_PACK_SEMIRAW_S): Likewise.
30449         (FP_PACK_SEMIRAW_SP): Likewise.
30450         (_FP_SQRT_MEAT_S): Likewise.
30451         (FP_CMP_S): Likewise.
30452         (FP_CMP_EQ_S): Likewise.
30453         (FP_CMP_UNORD_S): Likewise.
30454         (FP_TO_INT_S): Likewise.
30455         (FP_FROM_INT_S): Likewise.
30457         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30459         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30460         (FP_EX_INVALID_IMZ): Likewise.
30461         (FP_EX_INVALID_IMZ_FMA): Likewise.
30462         (FP_EX_INVALID_ISI): Likewise.
30463         (FP_EX_INVALID_ZDZ): Likewise.
30464         (FP_EX_INVALID_IDI): Likewise.
30465         (FP_EX_INVALID_SQRT): Likewise.
30466         (FP_EX_INVALID_CVI): Likewise.
30467         (FP_EX_INVALID_VC): Likewise.
30468         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30469         "invalid" exceptions.
30470         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30471         (_FP_ADD_INTERNAL): Likewise.
30472         (_FP_MUL): Likewise.
30473         (_FP_FMA): Likewise.
30474         (_FP_DIV): Likewise.
30475         (_FP_CMP_CHECK_NAN): Likewise.
30476         (_FP_SQRT): Likewise.
30477         (_FP_TO_INT): Likewise.
30478         (FP_EXTEND): Likewise.
30480 2014-10-09  Allan McRae  <allan@archlinux.org>
30482         * po/fr.po: Update French translation from translation project.
30484 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30486         [BZ #14132]
30487         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30488         of INTDEF.
30489         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30490         (__cxa_atexit): Use libc_hidden_proto.
30491         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30493         [BZ #14132]
30494         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30495         declaration.
30496         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30497         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30498         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30499         [!_ISOMAC] (__iswctype_internal): Likewise.
30500         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30501         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30502         alias.
30503         (fcntl): Remove __fcntl_internal alias.
30504         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30505         __connect_internal alias.
30506         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30507         Likewise.
30509         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30510         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30511         FP_DENORM_ZERO.
30512         (_FP_CHECK_FLUSH_ZERO): New macro.
30513         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30514         (_FP_CMP): Likewise.
30515         (_FP_CMP_EQ): Likewise.
30516         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30517         FP_DENORM_ZERO.
30518         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30519         (FP_TRUNC): Likewise.
30521         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30522         treated as invalid conversion, not as normal exponent.
30524         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30525         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30526         (_FP_CMP_EQ): Likewise.
30527         (_FP_CMP_UNORD): Likewise.
30528         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30529         (FP_CMP_EQ_D): Likewise.
30530         (FP_CMP_UNORD_D): Likewise.
30531         * soft-fp/extended.h (FP_CMP_E): Likewise.
30532         (FP_CMP_EQ_E): Likewise.
30533         (FP_CMP_UNORD_E): Likewise.
30534         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30535         (FP_CMP_EQ_Q): Likewise.
30536         (FP_CMP_UNORD_Q): Likewise.
30537         * soft-fp/single.h (FP_CMP_S): Likewise.
30538         (FP_CMP_EQ_S): Likewise.
30539         (FP_CMP_UNORD_S): Likewise.
30540         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30541         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30542         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30543         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30544         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30545         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30546         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30547         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30548         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30549         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30550         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30551         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30552         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30553         to FP_CMP_Q.
30554         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30555         FP_CMP_Q.
30556         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30557         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30558         FP_CMP_EQ_Q.
30559         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30560         FP_CMP_Q.
30561         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30562         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30563         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30564         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30565         FP_CMP_EQ_Q.
30566         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30567         FP_CMP_Q.
30568         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30569         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30570         FP_CMP_EQ_Q.
30571         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30572         FP_CMP_Q.
30573         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30574         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30575         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30576         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30577         FP_CMP_EQ_Q.
30579         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30580         a subnormal result, set the underflow exception if trapping on
30581         underflow is enabled.
30582         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30583         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30584         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30585         redefine to 0.
30586         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30587         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30588         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30589         * soft-fp/extendxftf2.c (__extendxftf2): Use
30590         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30592         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30593         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30594         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30595         FP_HANDLE_EXCEPTIONS.
30596         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30597         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30598         FP_HANDLE_EXCEPTIONS.
30599         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30600         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30601         FP_HANDLE_EXCEPTIONS.
30602         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30603         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30604         FP_HANDLE_EXCEPTIONS.
30606 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30608         [BZ #14132]
30609         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30610         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30611         use INTUSE.
30612         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30613         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30614         Remove alias.
30615         (__adjtimex): Define using libc_hidden_ver.
30616         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30617         Remove declaration.
30618         (ntp_gettime): Call __adjtimex directly.
30619         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30620         Remove declaration.
30621         (ntp_gettimex): Call __adjtimex directly.
30622         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30623         __adjtimex_internal alias.
30625 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30627         [BZ #17460]
30628         * nscd/nscd.c (more_help): Rewrite list of tables collection
30629         using xstrdup and asprintf.
30631         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30633 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30634             Roland McGrath  <roland@hack.frob.com>
30636         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30637         (do_lookup_unique): ... local function 'enter' here; update callers.
30639 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30641         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30642         compat_symbol calls on [SHARED].
30643         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30644         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30645         Remove.
30646         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30647         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30648         (oldsetrlimit): Remove.
30649         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30651         (lchown): New syscall entry.
30652         (oldsetrlimit): Remove.
30653         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30655         (oldsetrlimit): Remove.
30656         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30658         [BZ #14138]
30659         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30660         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30661         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30662         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30663         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30664         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30665         (fchown): Likewise.
30666         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30667         (fchown): Likewise.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30669         Likewise.
30671 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30673         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30674         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30675         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30676         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30677         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30678         Likewise.
30679         (__old_sem_post): Likewise.
30681 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30683         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30684         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30685         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30686         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30687         Use INLINE_VSYSCALL macro.
30688         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30689         __vdso_clock_gettime.
30690         * sysdeps/unix/sysv/linux/tile/init-first.c
30691         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30692         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30693         __vdso_clock_gettime.
30695         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30696         to set up frame more cleanly.
30698         * sysdeps/tile/memcmp.c: New file.
30700         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30702         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30703         * sysdeps/tile/tilegx/strcasestr.c: New file.
30704         * sysdeps/tile/tilegx/strnlen.c: New file.
30705         * sysdeps/tile/tilegx/strstr.c: New file.
30707         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30709 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30711         * nptl/tst-setuid3.c: Write errors to stdout.
30713 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30715         * elf/dl-deps.c
30716         (preload): New functions broken out of _dl_map_object_deps.
30717         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30719 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30721         [BZ #14138]
30722         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30723         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30725 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30727         * sysdeps/mips/strcmp.S: New.
30729 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30731         [BZ #14138]
30732         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30733         (linkat): Likewise.
30734         (mkdirat): Likewise.
30735         (readlinkat): Likewise.
30736         (renameat): Likewise.
30737         (symlinkat): Likewise.
30738         (unlinkat): Likewise.
30739         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30740         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30741         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30742         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30743         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30744         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30745         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30747 2014-09-30  Will Newton  <will.newton@linaro.org>
30749         * math/math.h: Define long double math functions if
30750         _LIBC_TEST is defined.
30751         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30753         * localedata/Makefile: Move assignment to tests-special
30754         into an ifdef testing run-built-tests.
30755         * timezone/Makefile: Likewise.
30757 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30759         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30760         with $(BASH) not $(SHELL).
30762 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30763             Matthew LeGendre  <legendre1@llnl.gov>
30765         [BZ #17411]
30766         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30767         l_reloc_result.
30769 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30771         * stdio-common/printf_fp.c
30772         (hack_digit): New function, broken out of ...
30773         (__printf_fp): ... local function here.  Update call sites.
30774         hack_digit now takes an additional parameter that is a pointer
30775         to a struct of the referenced locals.  Those locals moved inside
30776         the struct and references updated.
30778 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30780         * aclocal.m4: Require autoconf 2.69.
30781         * configure: Regenerated.
30782         * sysdeps/aarch64/configure: Likewise.
30783         * sysdeps/alpha/configure: Likewise.
30784         * sysdeps/arm/armv7/configure: Likewise.
30785         * sysdeps/arm/configure: Likewise.
30786         * sysdeps/ia64/configure: Likewise.
30787         * sysdeps/mach/configure: Likewise.
30788         * sysdeps/mips/configure: Likewise.
30789         * sysdeps/s390/configure: Likewise.
30790         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30793         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30794         file.
30795         * sysdeps/ia64/configure.ac: Likewise.
30797 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30800         specify symbol version for ld.so.  Do not include entry for
30801         libpthread.
30802         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30803         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30804         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30806         [BZ #14171]
30807         * Makeconfig [$(build-shared) = yes]
30808         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30809         makefiles.
30810         [$(build-shared) = yes && $(soversions.mk-done) = t]
30811         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30812         [$(build-shared) = yes && $(soversions.mk-done) = t]
30813         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30814         to Makerules.
30815         [$(build-shared) = yes && $(soversions.mk-done) = t]
30816         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30817         here.
30818         [$(build-shared) = yes && $(soversions.mk-done) = t]
30819         (common-generated): Don't append gnu/lib-names.h and
30820         gnu/lib-names.stmp here.
30821         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30822         (lib-names-h-abi): New variable.
30823         [$(build-shared) = yes && $(soversions.mk-done) = t]
30824         (lib-names-stmp-abi): Likewise.
30825         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30826         abi-variants] (before-compile): Append
30827         $(common-objpfx)$(lib-names-h-abi).
30828         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30829         abi-variants] (common-generated): Append gnu/lib-names.h.
30830         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30831         abi-variants] (install-others-nosubdir): Depend on
30832         $(inst_includedir)/$(lib-names-h-abi).
30833         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30834         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30835         [$(build-shared) = yes && $(soversions.mk-done) = t]
30836         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30837         [$(build-shared) = yes && $(soversions.mk-done) = t]
30838         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30839         [$(build-shared) = yes && $(soversions.mk-done) = t]
30840         (common-generated): Append $(lib-names-h-abi) and
30841         $(lib-names-stmp-abi).
30842         * scripts/lib-names.awk: Do not handle multi being set.
30843         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30844         Remove variable.
30845         (abi-lp64_be-ld-soname): Likewise.
30846         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30847         Likewise.
30848         (abi-hard-ld-soname): Likewise.
30849         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30850         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30851         Remove variable.
30852         (abi-o32_hard-ld-soname): Likewise.
30853         (abi-o32_soft_2008-ld-soname): Likewise.
30854         (abi-o32_hard_2008-ld-soname): Likewise.
30855         (abi-n32_soft-ld-soname): Likewise.
30856         (abi-n32_hard-ld-soname): Likewise.
30857         (abi-n32_soft_2008-ld-soname): Likewise.
30858         (abi-n32_hard_2008-ld-soname): Likewise.
30859         (abi-n64_soft-ld-soname): Likewise.
30860         (abi-n64_hard-ld-soname): Likewise.
30861         (abi-n64_soft_2008-ld-soname): Likewise.
30862         (abi-n64_hard_2008-ld-soname): Likewise.
30863         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30864         Likewise.
30865         (abi-64-v2-ld-soname): Likewise.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30867         ld.so entries.
30868         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30869         variable.
30870         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30871         entry.
30872         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30873         variable.
30874         (abi-64-ld-soname): Likewise.
30875         (abi-x32-ld-soname): Likewise.
30876         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30877         entry.
30878         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30880 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30882         [BZ #14138]
30883         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30884         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30885         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30886         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30887         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30888         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30889         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30890         syscall entry for GLIBC_2.2 symbol version.
30891         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30892         Likewise.
30893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30894         (setrlimit): Likewise.
30895         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30896         Likewise.
30898 2014-09-23  Will Newton  <will.newton@linaro.org>
30900         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30901         _LINUX_ARM_SYSDEP_H include guard too.
30902         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30903         define.
30905 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30907         * sysdeps/unix/sysv/linux/eventfd.c:
30908         Make first argument unsigned.
30909         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30910         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30912 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30914         [BZ #16852]
30915         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30916         * socket/sys/socket.h: Likewise.
30917         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30919 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30921         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30923 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30925         * time/tst-ftime.c: New test.
30926         * time/Makefile (tests): Add tst-ftime.
30928 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30930         * soft-fp/extended.h: Fix comment formatting.
30931         * soft-fp/op-1.h: Likewise.
30932         * soft-fp/op-2.h: Likewise.
30933         * soft-fp/op-4.h: Likewise.
30934         * soft-fp/op-8.h: Likewise.
30935         * soft-fp/op-common.h: Likewise.
30936         * soft-fp/soft-fp.h: Likewise.
30938         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30940 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30942         [BZ #6652]
30943         * Makeconfig (soversions-default-setname): Remove variable.
30944         ($(common-objpfx)soversions.i): Don't pass default_setname to
30945         soversions.awk.
30946         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30947         oldest_abi to abi-versions.awk.
30948         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30949         * config.make.in (oldest-abi): Remove variable.
30950         * configure.ac (--enable-oldest-abi): Remove configure option.
30951         * configure: Regenerated.
30952         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30953         text.
30954         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30955         * scripts/soversions.awk: Do not handle default_setname variable.
30956         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30957         variable.
30958         * sysdeps/mach/hurd/configure: Regenerated.
30959         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30960         variable.
30961         * sysdeps/unix/sysv/linux/configure: Regenerated.
30963 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30965         * elf/Makefile (CFLAGS-interp.c): Remove.
30966         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30967         path string.
30968         * elf/interp.c: Include generated runtime-linker.h
30970         * Makerules (lib%.so): Don't include $(+interp) in
30971         prerequisites.
30972         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30973         * dlfcn/eval.c: Remove file.
30975         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30976         macros.
30978         [BZ #17266]
30979         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30980         4.2 and newer.
30982         [BZ #17370]
30983         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30985 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30986             Jakub Jelinek  <jakub@redhat.com>
30988         [BZ #17266]
30989         * libio/stdio.h: Check definition of __fortify_function
30990         instead of __extern_always_inline to include bits/stdio2.h.
30991         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30992         check if __extern_always_inline is defined.
30993         [__USE_MISC || __USE_XOPEN]: Likewise.
30994         [__USE_ISOC99] Likewise.
30995         * misc/sys/cdefs.h (__fortify_function): Define only if
30996         __extern_always_inline is defined.
30997         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30998         __extern_always_inline and __extern_inline only for g++-4.3
30999         and newer or a compatible gcc.
31001 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31003         [BZ #17371]
31004         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31005         last change to handle zero prefix length.
31007 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31009         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31010         _SC_REGEX_VERSION.
31012         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31013         _POSIX_RAW_SOCKETS.
31015 2014-09-13  Allan McRae  <allan@archlinux.org>
31017         * po/ru.po: Update Russian translation from translation project.
31019 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31021         * locale/programs/locale.c (show_locale_vars): Inline local function
31022         into its sole call site.  Clean up some style nits.
31023         (print_item): New function, broken out of ...
31024         (show_info): ... local function here.  Clean up style nits.
31026         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31027         out of ...
31028         (set_class_defaults): ... local function set_default here.
31029         Define set_default as a macro locally to pass constant parameters.
31030         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31031         rather than a shared local.
31033         * stdlib/rpmatch.c (try): New function, broken out of ...
31034         (rpmatch): ... local function here.  Also, prototypify definition.
31036 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31038         * scripts/soversions.awk: Do not handle configuration names.
31039         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31040         vendor and os variables to soversions.awk.
31041         * configure.ac: Do not modify gnu-* host_os.
31042         * configure: Regenerated
31043         * shlib-versions: Remove first column with configuration names.
31044         * nptl/shlib-versions: Likewise.
31045         * nptl_db/shlib-versions: Likewise.
31046         * sysdeps/hppa/shlib-versions: Likewise.
31047         * sysdeps/m68k/shlib-versions: Likewise.
31048         * sysdeps/mach/hurd/shlib-versions: Likewise.
31049         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31050         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31051         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31052         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31053         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31054         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31055         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31056         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31058         Likewise.
31059         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31060         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31061         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31062         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31063         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31064         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31065         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31069         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31071         Regenerated.
31072         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31074         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31076         * shlib-versions: Remove OS-specific entries.  Moved to files in
31077         sysdeps.
31078         * sysdeps/mach/hurd/shlib-versions: New file.
31079         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31081         * nptl/shlib-versions: Remove architecture-specific entries.
31082         Moved to files in sysdeps.
31083         * shlib-versions: Likewise.
31084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31085         file.
31086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31087         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31088         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31089         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31091         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31092         (UDP_NO_CHECK6_RX): Likewise.
31094 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31096         * sysdeps/posix/sysconf.c (__sysconf): Spell
31097         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31099 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31101         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31102         loading.
31103         * iconv/Versions (__gconv_transliterate): Export for use from
31104         gconv modules.
31105         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31106         (struct __gconv_trans_data, __gconv_trans_fct,
31107         __gconv_trans_context_fct, __gconv_trans_query_fct,
31108         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31109         definitions.
31110         (struct __gconv_step_data): Remove __trans member.
31111         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31112         longer hidden.  Remove unused trans_data argument.
31113         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31114         (__gconv_translit_find): Remove declaration.
31115         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31116         prototype.
31117         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31118         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31119         trans_data argument.  Add hidden definition.
31120         (__gconv_translit_find): Remove.
31121         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31122         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31123         * iconv/skeleton.c: Remove transliteration initialization.
31124         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31125         __gconv_step_data initialization.
31126         * libio/iofwide.c (__libio_translit_): Remove.
31127         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31128         * wcsmbs/btowc.c (__btowc): Likewise.
31129         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31130         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31131         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31132         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31133         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31134         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31135         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31136         * wcsmbs/wctob.c (wctob): Likewise.
31138 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31140         [BZ #16194]
31141         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31142         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31143         register usage.
31144         * sysdeps/x86/Makefile: Adjust.
31146 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31147             Roland McGrath  <roland@hack.frob.com>
31149         * locale/weight.h: Add include guard.
31150         (findidx): Make static rather than auto; take new parameters
31151         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31152         * locale/weightwc.h: Likewise.
31153         * posix/fnmatch_loop.c
31154         (FCT): Change type of EXTRA from int32_t to wint_t.
31155         Don't include either header inside the function.
31156         Call FINDIDX rather than findidx, and pass new arguments.
31157         #undef FINDIDX at the end of the file.
31158         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31159         FINDIDX before including fnmatch_loop.c for the non-wide version.
31160         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31161         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31162         for the wide version.
31163         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31164         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31165         Pass new arguments to findidx.
31166         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31167         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31168         Don't #include it inside the function.  Pass new arguments to findidx.
31169         * posix/regex_internal.h
31170         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31171         (re_string_elem_size_at): Don't #include it inside the function.
31172         Pass new arguments to findidx.
31173         * string/strcoll_l.c: #include WEIGHT_H at top level.
31174         (get_next_seq): Don't #include it inside the function.
31175         Pass new arguments to findidx.
31176         (get_next_seq_nocache): Likewise.
31177         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31178         (STRXFRM): Don't #include it inside the function.
31179         Pass new arguments to findidx.
31181 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31183         [BZ #17344]
31184         * malloc/malloc.c (unlink): Turn asserts into a call to
31185         malloc_printerr.
31187 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31189         [BZ #17370]
31190         * libio/wfileops (do_ftell_wide): Free OUT.
31192 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31196 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31198         [BZ #17363]
31199         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31200         group if the current group is empty.
31202 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31204         * benchtests/bench-memset.c (test_main): Add more test from size
31205         from 32 to 512 bytes.
31206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31207         Add POWER8 memset object.
31208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31209         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31210         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31211         implementation.
31212         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31213         Likewise.
31214         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31215         multiarch POWER8 memset optimization.
31216         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31217         POWER8 memset optimization.
31219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31220         Remove bzero multiarch objects.
31221         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31224         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31225         Remove define.
31226         [__bzero]: Redefine to specific name.
31227         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31228         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31229         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31230         define.
31231         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31232         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31234 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31236         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31237         warnings into errors.
31239         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31240         __cxa_thread_atexit_impl prototype.
31242 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31244         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31245         Fix capitalization of error message.
31247 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31249         * sysdeps/mips/preconfigure: Modify ABI tests.
31251 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31253         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31255 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31256             Carlos O'Donell  <carlos@systemhalted.org>
31258         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31259         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31260         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31261         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31262         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31263         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31264         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31265         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31266         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31267         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31268         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31269         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31271         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31272         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31273         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31275         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31277         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31279         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31280         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31281         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31282         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31283         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31284         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31285         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31286         Deconditionalize the code that was previously under [RESET_PID].
31287         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31288         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31289         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31290         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31291         include sysdep.h.
31293 2014-09-08  Allan McRae  <allan@archlinux.org>
31295         * version.h (RELEASE): Set to "development".
31296         (VERSION): Set to "2.20.90"
31298 2014-09-07  Allan McRae  <allan@archlinux.org
31300         * version.h (RELEASE): Set to "stable".
31301         (VERSION): Set to "2.20"
31302         * include/features.h (__GLIBC_MINOR__): Set to 20.
31304         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31305         Liebler.
31307         * po/ko.po: Update Korean translation from translation project.
31309 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31311         [BZ #17354]
31312         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31313         macro for handling signed relocations.
31315 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31317         [BZ #17325]
31318         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31319         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31320         assert.
31321         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31322         * iconvdata/ibm935.c (BODY): Likewise.
31323         * iconvdata/ibm937.c (BODY): Likewise.
31324         * iconvdata/ibm939.c (BODY): Likewise.
31325         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31326         assert.
31327         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31328         script.
31329         * iconvdata/run-iconv-test.sh: New test loop for checking for
31330         decoder crashers.
31332 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31335         libm_hidden_ver.
31337 2014-09-01  Allan McRae  <allan@archlinux.org>
31339         * po/eo.po: Update Esperanto translation from translation project.
31341         * po/ca.po: Update Catalan translation from translation project.
31343 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31345         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31346         __proc_dostop call.
31348 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31350         [BZ #17319]
31351         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31352         to call set_thread_area instead of hand written asm.
31353         (__NR_set_thread_area): Removed define.
31354         (TLS_FLAG_WRITABLE): Likewise.
31355         (__ASSUME_SET_THREAD_AREA): Remove check.
31356         (TLS_EBX_ARG): Remove define.
31357         (TLS_LOAD_EBX): Likewise.
31359 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31361         Simplify atomicity of socket creation in bind.
31363         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31364         looking up the name after linking the file.
31366 2014-08-27  Allan McRae  <allan@archlinux.org>
31368         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31370 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31372         [BZ #17187]
31373         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31374         trans_compare, open_translit, __gconv_translit_find):
31375         Remove module loading code.
31377 2014-08-26  Allan McRae  <allan@archlinux.org>
31379         * po/vi.po: Update Vietnamese translation from translation project.
31381         * po/uk.po: Update Ukrainian translation from translation project.
31383         * po/fr.po: Update French translation from translation project.
31385         * po/ru.po: Update Russian translation from translation project.
31387         * po/pl.po: Update Polish translation from translation project.
31389         * po/cs.po: Update Czech translation from translation project.
31391         * po/de.po: Update German translation from translation project.
31393         * po/bg.po: Update Bulgarian translation from translation project.
31395         * po/sv.po: Update Sweedish translation from translation project.
31397         * po/nl.po: Update Dutch translation from translation project.
31399         * po/es.po: Update Spanish translation from translation project.
31401 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31403         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31405         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31406         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31407         (CPPFLAGS-iconvconfig): Likewise.
31408         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31410         * include/libc-symbols.h: Remove unnecessary check for
31411         NOT_IN_libc.
31412         * nptl/pthreadP.h: Likewise.
31413         * sysdeps/aarch64/setjmp.S: Likewise.
31414         * sysdeps/alpha/setjmp.S: Likewise.
31415         * sysdeps/arm/sysdep.h: Likewise.
31416         * sysdeps/i386/setjmp.S: Likewise.
31417         * sysdeps/m68k/setjmp.c: Likewise.
31418         * sysdeps/posix/getcwd.c: Likewise.
31419         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31420         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31421         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31422         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31423         * sysdeps/sh/sh3/setjmp.S: Likewise.
31424         * sysdeps/sh/sh4/setjmp.S: Likewise.
31425         * sysdeps/unix/alpha/sysdep.h: Likewise.
31426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31428         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31429         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31434         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31436         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31437         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31439         * sysdeps/x86_64/setjmp.S: Likewise.
31441 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31443         [BZ #17263]
31444         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31445         <stdint.h>.
31446         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31447         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31449 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31451         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31453         [BZ #17262]
31454         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31455         and __x86_64__ when disabling x87 inline functions.
31457 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31459         [BZ #17259]
31460         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31461         asm statement with __cpuid_count.
31463 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31465         * configure.ac: Change __ehdr_start code to dereference the struct.
31466         Run readelf on the output to look for relocations.
31467         * configure: Regenerated.
31469 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31471         [BZ #17261]
31472         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31473         value to 0.
31474         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31476 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31478         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31480 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31482         [BZ #16892]
31483         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31484         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31486 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31488         * malloc/malloc.c: Fix typo in comment.
31490 2014-08-09  Allan McRae  <allan@archlinux.org>
31492         * Regenerate libc.po.
31494 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31496         * intl/tst-gettext2.sh: Check every lang file for creation.
31498 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31500         * sysdeps/aarch64/fpu/math_private.h
31501         (libc_feholdsetround_noex_aarch64_ctx): New function.
31503 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31505         * sysdeps/arm/armv6/strcpy.S (strcpy):
31506         Fix performance issue in misaligned cases.
31508 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31510         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31511         Move definition from termios.h.
31512         (struct termio): Likewise.
31513         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31514         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31515         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31516         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31517         Likewise.
31518         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31519         Move definition to ioctl-types.h
31520         (struct termio): Likewise.
31521         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31522         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31523         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31524         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31525         Likewise.
31527 2014-08-05  Richard Henderson  <rth@redhat.com>
31529         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31530         exceptions.
31531         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31532         Add fraiseexcpt.
31533         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31534         Use __feraiseexcept.
31535         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31536         Protect libm symbols with IS_IN_libm.
31538         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31540 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31542         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31544 2014-08-04  Will Newton  <will.newton@linaro.org>
31546         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31547         file.
31549 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31551         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31552         variants for each function.
31554 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31556         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31557         appended ...
31558         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31559         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31560         appended ...
31561         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31562         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31563         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31564         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31565         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31566         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31567         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31568         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31569         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31570         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31575         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31581         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31582         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31583         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31584         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31585         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31587         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31589         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31590         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31591         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31592         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31593         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31594         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31595         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31596         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31597         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31598         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31599         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31600         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31601         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31602         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31603         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31605         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31606         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31607         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31609         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31610         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31611         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31612         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31613         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31614         Update #include.
31615         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31616         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31618 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31620         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31621         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31622         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31623         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31624         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31625         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31627 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31629         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31630         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31631         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31632         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31634 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31636         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31637         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31638         (__libc_vfork): Define function under this name.
31639         (__vfork): Define as an alias.
31640         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31641         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31643 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31645         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31646         that was previously under [RESET_PID].
31647         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31649 2014-08-04  Andreas Schwab  <schwab@suse.de>
31651         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31653 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31655         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31656         (main): Likewise.
31658 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31660         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31662 2014-08-01  Richard Henderon  <rth@redhat.com>
31664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31665         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31666         typo in exact zero test.
31667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31668         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31671 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31673         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31674         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31675         * sysdeps/arm/sysdep.h: ... here.
31676         [!__ASSEMBLER__]: Include <stdint.h>.
31678 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31680         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31681         (HAVE_WCTYPE_H): Likewise.
31682         (HAVE_ISWCTYPE): Likewise.
31683         (ENABLE_NLS): Likewise.
31684         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31685         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31687         * posix/regex_internal.c: Check if DEBUG is defined and is
31688         set.
31690         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31691         (HAVE_MBSRTOWCS): Likewise.
31692         * posix/fnmatch.c: Include string.h unconditionally.
31694 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31696         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31697         reversal.
31699 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31701         * sysdeps/generic/safe-fatal.h: New file.
31702         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31703         * nptl/forward.c: Include it.
31704         (__pthread_unwind): Use __safe_fatal as default action, rather
31705         than a bogus use of INTERNAL_SYSCALL that could never work.
31707         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31708         * configure.ac (libc_cv_builtin_trap): New test.
31709         * configure: Regenerated.
31710         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31711         (ABORT_INSTRUCTION): Define using __builtin_trap.
31713         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31714         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31715         * sysdeps/nptl/nptl-signals.h: New file.
31716         * nptl/pthreadP.h: Include <nptl-signals.h>.
31718 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31720         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31721         (ONE_DIRECTION): Define.
31722         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31723         (ONE_DIRECTION): Define.
31724         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31725         (ONE_DIRECTION): Define.
31727 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31729         * sysdeps/s390/Makefile: Delete file.
31730         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31731         * sysdeps/s390/__longjmp.c: Delete file.
31732         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31733         Remove fields __flags and __reserved.
31734         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31735         and add versioning.
31736         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31737         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31738         * sysdeps/s390/rtld-setjmp.S: Likewise.
31739         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31740         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31741         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31742         * sysdeps/s390/s390-32/setjmp.S: ... here.
31743         Add versioning.
31744         (__sigsetjmp): Remove setting __flags field.
31745         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31746         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31747         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31748         * sysdeps/s390/s390-64/setjmp.S: ... here.
31749         Add versioning.
31750         (__sigsetjmp): Remove setting __flags field.
31751         * sysdeps/s390/setjmp.S: Delete file.
31752         * sysdeps/s390/sigjmp.c: Likewise.
31753         * sysdeps/s390/v1-longjmp.c: Likewise.
31754         * sysdeps/s390/v1-setjmp.h: Likewise.
31755         * sysdeps/s390/v1-sigjmp.c: Likewise.
31756         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31757         Remove v1-longjmp_chk.
31758         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31759         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31760         Include debug/longjmp_chk.c and add versioning.
31761         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31762         Include nptl/pt-longjmp.c and add versioning.
31763         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31764         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31765         Include __longjmp.c.
31766         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31767         Move to ...
31768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31769         (__getcontext): Remove setting __flags field.
31770         Add versioning.
31771         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31772         Don't restore upper high grps.
31773         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31774         Likewise.
31775         (__swapcontext): Remove setting uc_flags field.
31776         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31777         Delete file.
31778         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31779         Include __longjmp.c.
31780         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31781         Move to ...
31782         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31783         (__getcontext): Remove setting __flags field.
31784         Add versioning.
31785         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31786         (__swapcontext): Remove setting uc_flags field.
31787         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31788         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31789         Remove fields uc_high_gprs and __reserved.
31790         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31791         New file with reverted content.
31792         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31793         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31794         Regenerated.
31795         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31796         Regenerated.
31798 2014-07-31  Andreas Schwab  <schwab@suse.de>
31800         * config.h.in (HAVE_IFUNC): Define to 0.
31801         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31802         definedness.
31804 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31807         memmove-avx-unaligned, memcpy-avx-unaligned and
31808         mempcpy-avx-unaligned.
31809         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31810         Add tests for AVX memcpy functions.
31811         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31812         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31813         memcpy_chk.
31814         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31815         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31816         memmove_chk.
31817         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31818         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31819         mempcpy_chk.
31820         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31821         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31822         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31824 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31826         [BZ #17213]
31827         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31828         powerpc64le.
31830 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31832         [BZ #16839]
31833         * manual/llio.texi: Add section about open file description locks.
31834         * manual/examples/ofdlocks.c: Example of open file description
31835         lock usage.
31836         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31837         F_OFD_SETLK, and F_OFD_SETLKW.
31839 2014-07-23  Allan McRae  <allan@archlinux.org>
31841         * po/es.po: Update Spanish translation from translation project.
31843 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31845         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31847 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31849         [BZ #17078]
31850         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31851         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31852         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31854 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31856         [BZ #17088]
31857         * math/fesetenv.c (__fesetenv)
31858         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31859         * math/feupdateenv.c (__feupdateenv)
31860         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31862         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31863         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31864         (__ASSUME_SOCKETCALL): Do not define.
31866         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31867         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31868         (__ASSUME_SOCKETCALL): Do not define.
31869         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31870         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31871         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31872         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31873         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31874         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31875         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31876         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31878         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31879         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31880         (__ASSUME_SOCKETCALL): Do not define.
31881         (__ASSUME_IPC64): Define unconditionally.
31882         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31883         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31884         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31885         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31886         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31887         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31888         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31889         Likewise.
31891         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31892         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31893         (__ASSUME_SOCKETCALL): Do not define.
31894         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31895         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31896         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31897         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31898         (__ASSUME_REQUEUE_PI): Define unconditionally.
31899         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31900         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31901         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31902         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31904         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31906         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31907         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31908         (__ASSUME_SOCKETCALL): Do not define.
31909         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31911         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31912         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31913         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31914         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31916         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31917         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31918         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31919         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31920         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31921         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31922         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31923         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31924         (__ASSUME_GETCPU_SYSCALL): Likewise.
31926         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31927         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31928         cases for individual architectures.
31929         * sysdeps/gnu/configure: Regenerated.
31930         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31931         LIBC_SLIBDIR_RTLDDIR.
31932         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31933         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31934         LIBC_SLIBDIR_RTLDDIR.
31935         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31937         LIBC_SLIBDIR_RTLDDIR.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31939         Regenerated.
31940         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31941         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31942         file.
31943         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31944         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31945         file.
31946         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31947         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31948         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31949         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31951         * sysdeps/aarch64/shlib-versions: Move to ...
31952         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31953         * sysdeps/alpha/shlib-versions: Move to ...
31954         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31955         * sysdeps/arm/shlib-versions: Move to ...
31956         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31957         * sysdeps/hppa/shlib-versions: Move all contents except for
31958         libgcc_s entry to ...
31959         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31960         entry from ...
31961         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31962         * sysdeps/ia64/shlib-versions: Move to ...
31963         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31964         entry from ...
31965         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31966         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31967         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31968         * sysdeps/microblaze/shlib-versions: Move to ...
31969         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31970         * sysdeps/mips/shlib-versions: Move to ...
31971         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31972         entry from ...
31973         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31974         * sysdeps/tile/shlib-versions: Move to ...
31975         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31976         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31977         from ...
31978         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31979         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31980         entry from ...
31981         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31983 2014-07-17  Will Newton  <will.newton@linaro.org>
31985         * sysdeps/arm/bits/atomic.h
31986         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31987         (__arch_compare_and_exchange_bool_16_int): Likewise.
31988         (__arch_compare_and_exchange_bool_64_int): Likewise.
31990         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31991         into an #else block.
31993 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31995         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31996         just Linux configurations.  Test empirically that the compiler sets
31997         __ARM_EABI__, rather than using the tuple to decide.
31998         * sysdeps/arm/preconfigure: Regenerated.
31999         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32000         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32001         contents appended ...
32002         * sysdeps/arm/configure.ac: ... here.
32003         * sysdeps/arm/configure: Regenerated.
32005 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32007         * nptl/pthread_kill.c: New file.
32008         * nptl/pthread_sigmask.c: New file.
32009         * nptl/pthread_sigqueue.c: New file.
32011         * sysdeps/nptl/lowlevellock.h: New file.
32012         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32013         * sysdeps/nptl/lowlevellock-futex.h: New file.
32015         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32016         Remove dead declarations.
32018 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32020         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32021         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32022         config-cflags-avx2.
32023         * sysdeps/x86_64/configure.ac: Likewise.
32024         * sysdeps/i386/configure: Regenerated.
32025         * sysdeps/x86_64/configure: Likewise.
32026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32027         memset-avx2 only if config-cflags-avx2 is yes.
32028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32029         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32030         defined.
32031         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32032         only if HAVE_AVX2_SUPPORT is defined.
32033         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32035 2014-07-14  Alan Modra  <amodra@gmail.com>
32037         [BZ #17153]
32038         * elf/elf.h (DT_PPC64_NUM): Correct value.
32039         * NEWS: Add to fixed bug list.
32041 2014-07-13  Jim Meyering  <meyering@fb.com>
32043         [BZ 17150]
32044         regex: don't deref NULL upon heap allocation failure
32045         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32046         failure in one more place.
32047         To trigger the segfault, configure grep -with-included-regex,
32048         build it, and run these commands:
32049         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32051 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32053         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32055 2014-07-11  Richard Henderson  <rth@redhat.com>
32057         * sysdeps/aarch64/libm-test-ulps: Update.
32059 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32061         [BZ #17135]
32062         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32063         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32064         (__nptl_setxid): Initialize error member.  Call
32065         __nptl_setxid_error.
32066         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32067         * nptl/descr.h (struct xid_command): Add error member.
32068         * nptl/tst-setuid3.c: New file.
32069         * nptl/Makefile (tests): Add it.
32071 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32073         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32074         New define.
32075         (__lll_trylock): Use __lll_base_trylock.
32076         (__lll_cond_trylock): Likewise.
32078 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32080         * nptl/pthread_create.c (start_thread): Use atomic_or and
32081         lll_futex_wake directly rather than lll_robust_dead.
32082         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32083         (lll_robust_dead): Macro removed.
32084         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32085         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32086         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32087         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32088         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32089         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32090         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32091         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32092         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32093         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32094         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32095         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32096         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32097         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32098         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32100         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32101         Use atomic_compare_and_exchange_val_acq directly rather than
32102         lll_robust_trylock.
32103         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32104         (__lll_robust_trylock, lll_robust_trylock): Removed.
32105         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32106         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32107         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32108         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32109         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32110         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32111         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32112         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32114         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32117         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32118         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32120 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32122         * manual/locale.texi (Locale Names): New section documenting
32123         locale name syntax.  Adjust menu and node chaining accordingly.
32124         (Choosing Locale): Reference Locale Names, Locale Categories.
32125         Mention setting LC_ALL=C.  Reflect that name syntax is now
32126         documented.
32127         (Locale Categories): New section title.  Reference Locale Names.
32128         LC_ALL is an environment variable, but not a category.
32129         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32130         description, now in Locale Name.  Reference that section.  Locale
32131         name syntax is now documented.
32133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32135         [BZ #17137]
32136         * locale/findlocale.c (name_present, valid_locale_name): New
32137         functions.
32138         (_nl_find_locale): Use the loc_name variable to store name
32139         candidates.  Call name_present and valid_locale_name to check and
32140         validate locale names.  Return an error if the locale is invalid.
32142 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32144         * locale/setlocale.c (setlocale): Use strdup for allocating
32145         composite name copy.
32147 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32149         Sync up with gnulib.
32150         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32151         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32152         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32153         and _GL_ARG_NONNULL.
32154         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32155         [!_LIBC]: Include code for Windows and Cygwin.
32156         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32157         Include prototype for int strerror_r.
32158         [!_LIBC] (is_open): New function.
32159         (flush_stdout): New function.
32160         (print_errno_message): Use it.
32161         (error): Likewise.
32162         (error_at_line): Likewise.
32163         (error_tail) Add function attribute macros.  Use
32164         __builtin_expect.
32166         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32168         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32170         * io/ftw.c: Include sys/param.h unconditionally.
32172         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32174         [BZ #17125]
32175         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32176         libc_freeres_ptr.
32177         (freecache): New function to free CACHE on exit.
32179         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32180         initialization.
32182 2014-07-09  David S. Miller  <davem@davemloft.net>
32184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32186         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32187         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32188         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32189         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32190         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32191         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32192         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32193         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32194         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32195         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32196         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32197         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32198         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32200 2014-07-09  Andreas Schwab  <schwab@suse.de>
32202         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32203         output.
32204         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32205         (do_test): Likewise.
32207         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32209 2014-07-09  Will Newton  <will.newton@linaro.org>
32211         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32212         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32213         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32214         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32215         * sysdeps/hppa/start.S (_start): Likewise.
32217 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32219         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32221         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32222         defined.
32224 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32226         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32227         after checking that it is non-NULL.
32229         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32231 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32233         * sysdeps/powerpc/memmove.c: Remove file.
32234         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32235         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32236         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32237         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32238         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32239         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32240         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32241         string memmove instead of removed powerpc one.
32243         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32244         [weak_alias]: Fix compiler warning due trailing data.
32245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32246         [weak_alias]: Likewise.
32247         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32248         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32251         (__libc_ifunc_impl_list): Add memmove functions.
32253 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32255         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32256         Remove code.
32257         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32258         Likewise.
32259         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32260         Likewise.
32261         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32262         Likewise.
32263         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32264         Likewise.
32265         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32266         Likewise.
32267         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32268         Likewise.
32269         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32270         Likewise.
32271         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32272         Likewise.
32273         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32274         Likewise.
32275         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32276         Likewise.
32277         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32278         Likewise.
32279         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32280         Likewise.
32281         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32282         Likewise.
32283         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32284         Likewise.
32285         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32286         Likewise.
32287         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32288         Likewise.
32290 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32292         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32293         to avoid alignment traps in non-cacheable memory.
32294         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32297         multiarch objects.
32298         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32299         file: multiarch power7 memmove.
32300         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32301         multiarch default memmove.
32302         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32303         multiarch memove for powerpc32/power4.
32305         * string/bcopy.c: Use full path to include memmove.c.
32306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32307         multiarch objects.
32308         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32309         bcopy for powerpc64.
32310         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32311         bcopy for powerpc64.
32312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32313         and memmove implementations.
32314         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32315         optimized multiarch memmove for POWER7/powerpc64.
32316         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32317         default multiarch memmove for powerpc64.
32318         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32319         multiarch for powerpc64.
32320         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32321         for POWER7/powerpc64.
32322         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32323         memmove for POWER7/powerpc64.
32325         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32326         glibc default one.
32328         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32329         __ELF_NATIVE_CLASS equal to 64.
32331 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32333         * sysdeps/nptl/lowlevellock.h: File removed.
32335         * NEWS: NPTL is no longer an add-on!
32336         * nptl/internaltypes.h: Moved ...
32337         * sysdeps/nptl/internaltypes.h: ... here.
32338         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32339         * sysdeps/nptl/fork.c: Likewise.
32340         * sysdeps/nptl/gai_misc.h: Likewise.
32341         * sysdeps/nptl/librt-cancellation.c: Likewise.
32342         * sysdeps/nptl/jmp-unwind.c: Likewise.
32343         * sysdeps/nptl/setxid.h: Likewise.
32344         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32345         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32346         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32347         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32348         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32349         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32350         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32351         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32352         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32353         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32354         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32355         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32356         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32357         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32358         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32359         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32360         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32361         * nptl/Makeconfig: Moved ...
32362         * sysdeps/nptl/Makeconfig: ... here.
32363         * nptl/configure: File removed.
32364         * nptl/ANNOUNCE: File removed.
32365         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32366         * sysdeps/unix/sysv/linux/configure: Regenerated.
32368         * nptl/Makefile (routines): Add libc_pthread_init,
32369         libc_multiple_threads, register-atfork and unregister-atfork.
32370         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32371         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32372         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32373         pthread-pi-defines.sym, structsem.sym.
32374         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32375         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32376         [$(subdir) = nptl] (tests): Add tst-setgetname.
32377         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32378         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32379         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32380         [!LIBC_SIGACTION]: Remove aliases.
32381         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32382         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32383         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32384         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32385         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32386         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32387         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32389         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32390         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32391         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32392         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32393         __libc_allocate_rtsig_private.
32394         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32395         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32396         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32398         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32399         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32400         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32401         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32402         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32403         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32404         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32405         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32406         * nptl/internaltypes.h: ... here.
32407         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32408         * sysdeps/nptl/jmp-unwind.c: ... here.
32409         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32410         * nptl/libc-lowlevellock.c: ... here.
32411         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32412         * nptl/libc_multiple_threads.c: ... here.
32413         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32414         * nptl/libc_pthread_init.c: ... here.
32415         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32416         * nptl/lowlevelbarrier.sym: ... here.
32417         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32418         * nptl/lowlevelcond.sym: ... here.
32419         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32420         * nptl/lowlevellock.c: ... here.
32421         * nptl/lowlevellock.h: Moved ...
32422         * sysdeps/nptl/lowlevellock.h: ... here.
32423         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32424         * nptl/lowlevelrobustlock.c: ... here.
32425         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32426         * nptl/lowlevelrobustlock.sym: ... here.
32427         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32428         * nptl/lowlevelrwlock.sym: ... here.
32429         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32430         * nptl/pt-fork.c: ... here.
32431         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32432         * nptl/pthread-pi-defines.sym: ... here.
32433         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32434         * nptl/pthread_attr_getaffinity.c: ... here.
32435         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32436         * nptl/pthread_attr_setaffinity.c: ... here.
32437         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32438         * nptl/pthread_mutex_cond_lock.c: ... here.
32439         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32440         Update #include.
32441         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32442         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32443         * nptl/pthread_once.c: ... here, replacing old file.
32444         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32445         * nptl/pthread_yield.c: ... here.
32446         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32447         * nptl/register-atfork.c: ... here.
32448         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32449         * nptl/sem_post.c: ... here.
32450         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32451         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32452         * nptl/sem_timedwait.c: ... here.
32453         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32454         * nptl/sem_trywait.c: ... here.
32455         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32456         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32457         * nptl/sem_wait.c: ... here.
32458         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32459         * nptl/structsem.sym: ... here.
32460         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32461         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32462         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32463         * nptl/unregister-atfork.c: ... here.
32464         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32465         * nptl/unwindbuf.sym: ... here.
32466         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32467         * sysdeps/nptl/fork.c: ... here.
32468         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32469         * sysdeps/nptl/fork.h: ... here.
32470         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32471         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32472         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32473         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32474         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32475         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32476         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32477         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32478         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32479         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32480         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32481         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32482         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32484         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32485         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32486         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32487         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32488         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32489         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32490         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32491         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32492         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32493         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32494         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32495         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32496         * sysdeps/unix/sysv/linux/raise.c: ... here.
32497         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32498         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32499         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32500         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32501         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32502         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32503         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32504         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32505         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32506         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32507         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32508         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32509         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32510         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32511         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32513 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32515         * sysdeps/generic/memcopy.h: Add comment for
32516         MEMCPY_OK_FOR_FWD_MEMMOVE.
32518 2014-07-04  Will Newton  <will.newton@linaro.org>
32520         * string/memchr.c: Merge from gnulib.
32521         [_LIBC]: Remove conditionals.
32522         (__ptr_t): Remove define.
32523         (LONG_MAX_32_BITS): Likewise.
32524         (LONG_MAX): Likewise.
32525         (MEMCHR): Use ANSI prototype and optimize algorithm.
32527         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32529 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32531         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32532         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32534         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32535         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32536         in a bare environment with no <stdlib.h> installed.
32537         * sysdeps/nptl/configure: Regenerated.
32539         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32541         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32542         AC_EGREP_CPP for kernel header checks, so they only succeed if
32543         including <linux/version.h> actually works right.
32544         * sysdeps/unix/sysv/linux/configure: Regenerated.
32546         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32547         value so it's not diagnosed as unused.
32549         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32550         thing) with "ifeq ($(subdir),rt)".
32552 2014-07-03  Richard Henderson  <rth@redhat.com>
32554         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32555         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32556         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32558         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32559         (math_force_eval): New.
32561         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32562         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32564         * sysdeps/alpha/fpu/s_round.c: Remove file.
32565         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32567         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32568         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32569         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32570         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32571         (_dl_start, print_statistics): Likewise.
32572         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32573         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32575         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32576         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32577         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32578         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32579         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32580         (HP_SMALL_TIMING_AVAIL): Define.
32581         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32582         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32583         (HP_SMALL_TIMING_AVAIL): Define.
32584         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32585         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32587         * sysdeps/aarch64/hp-timing.h: New file.
32589         * sysdeps/generic/hp-timing.h: Remove dead comment.
32590         * sysdeps/generic/hp-timing-common.h: New file.
32591         * sysdeps/alpha/hp-timing.h: Include it.
32592         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32593         * sysdeps/i386/i686/hp-timing.h: Likewise.
32594         * sysdeps/ia64/hp-timing.h: Likewise.
32595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32596         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32597         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32598         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32599         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32600         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32601         (hp_timing_t): New.
32603         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32604         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32605         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32606         * elf/rtld.c (_dl_start_final): Likewise.
32607         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32608         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32609         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32610         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32611         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32613         (HP_TIMING_DIFF_INIT): Remove.
32614         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32615         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32616         (HP_TIMING_DIFF_INIT): Remove.
32617         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32618         * sysdeps/i386/i686/hp-timing.c: Remove file.
32619         * sysdeps/x86_64/hp-timing.c: Remove file.
32620         * sysdeps/ia64/hp-timing.c: Remove file.
32621         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32622         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32624         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32626         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32627         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32628         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32629         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32630         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32631         (HP_TIMING_ACCUM): Remove.
32632         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32633         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32634         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32636         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32637         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32638         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32639         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32641         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32643         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32645         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32647 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32649         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32651 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32653         Sync up with gettext.
32654         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32655         [_MSC_VER]: Include malloc.h
32656         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32657         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32658         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32659         TEMP_FAILURE_RETRY.  Cast return of alloca.
32660         [!_LIBC] Call gl_rwlock_init.
32661         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32663 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32665         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32666         before checking its value.
32668 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32670         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32672         * debug/memcpy_chk.c: Don't include pagecopy.h.
32673         * debug/mempcpy_chk.c: Likewise.
32674         * string/memcpy.c: Likewise.
32675         * string/memmove.c: Likewise.
32676         * sysdeps/powerpc/memmove.c: Likewise.
32677         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32678         definition of PAGE_COPY_FWD_MAYBE here...
32679         * sysdeps/generic/pagecopy.h: ... from here.
32680         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32682 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32685         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32687         optimizations.
32688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32689         (__libc_ifunc_impl_list): Likewise.
32690         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32691         multiarch strcat for PPC64.
32692         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32693         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32695 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32697         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32699 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32701         * intl/loadmsgcat.c: Remove declaration of
32702         get_sysdep_segment_value.
32703         (get_sysdep_segment_value): Use ISO C style.
32704         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32705         semicolon.  Fix typo and formatting in comment.
32706         (_nl_unload_domain): Use ISO C style.
32708         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32710 2014-07-02  Will Newton  <will.newton@linaro.org>
32712         * malloc/obstack.c: Merge from gnulib master.
32713         [HAVE_CONFIG_H]: Remove conditional code.
32714         [!_LIBC]: Include config.h.
32715         [!ELIDE_CODE]: Don't include inttypes.h, include
32716         stdint.h unconditionally.
32717         (print_and_abort): Mark as _Noreturn.
32718         (_obstack_allocated_p): Mark as __attribute_pure__.
32719         (obstack_free): Rename to __obstack_free.
32720         [!__attribute__]: Remove conditional code.
32721         * malloc/obstack.h: Merge from gnulib master.
32722         [__cplusplus]: Move conditional down.
32723         [!__attribute_pure__]: Define __attribute_pure__ here
32724         if it is not already defined.
32725         (_obstack_memory_used): Mark as __attribute_pure__.
32726         [!__obstack_free]: Define as obstack_free.
32727         [__GNUC__]: Remove check for ancient NeXT gcc.
32729 2014-07-02  Will Newton  <will.newton@linaro.org>
32730             Paul Eggert  <eggert@cs.ucla.edu>
32732         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32734 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32736         * resolv/gethnamaddr.c: Add comment warning that the file is
32737         not maintained.
32739 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32741         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32742         entries.
32744         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32745         entry for aio_cancel and aio_cancel64.
32746         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32747         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32748         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32749         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32750         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32751         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32753         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32754         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32755         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32756         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32757         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32758         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32760 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32762         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32763         * nptl/pthread_mutex_lock.c: Likewise.
32764         * nptl/pthread_mutex_timedlock.c: Likewise.
32765         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32767 2014-07-01  Richard henderson  <rth@redhat.com>
32769         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32770         (__isnan, __isnanl): Remove.
32771         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32773         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32775 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32777         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32779 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32781         * resolv/nss_dns/dns-host.c (getanswer_r)
32782         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32784 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32787         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32788         undefine.
32789         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32790         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32792 2014-07-01  Roland McGrath <roland@hack.frob.com>
32794         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32795         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32797         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32798         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32800         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32801         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32802         ... here.
32803         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32804         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32806         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32807         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32808         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32809         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32811         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32812         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32813         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32814         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32815         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32816         Moved ...
32817         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32818         ... here.
32819         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32839         ... here.
32840         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32841         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32842         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32843         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32844         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32845         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32846         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32847         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32849 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32851         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32852         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32853         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32854         Add sysdep.
32856 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32860 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32862         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32863         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32865         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32867         * sysdeps/arm/libm-test-ulps: Regenerated.
32869 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32870             Roland McGrath <roland@hack.frob.com>
32872         * test-skeleton.c (signal_handler): Kill the whole process group
32873         before killing the child individually.
32874         (main): Report any failure on `setpgid'.
32876 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32878         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32879         from _TLS_H to _ARM_NPTL_TLS_H.
32880         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32881         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32883 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #16539]
32886         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32887         (__expm1l): Return argument unchanged when small but not
32888         subnormal.
32890         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32891         include macro name.
32892         (_FP_UNPACK_RAW_1_P): Likewise.
32893         (_FP_PACK_RAW_1): Likewise.
32894         (_FP_PACK_RAW_1_P): Likewise.
32895         (_FP_MUL_MEAT_1_wide): Likewise.
32896         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32897         (_FP_MUL_MEAT_1_hard): Likewise.
32898         (_FP_DIV_MEAT_1_imm): Likewise.
32899         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32900         (_FP_DIV_MEAT_1_udiv): Likewise.
32901         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32902         (_FP_UNPACK_RAW_2): Likewise.
32903         (_FP_UNPACK_RAW_2_P): Likewise.
32904         (_FP_PACK_RAW_2): Likewise.
32905         (_FP_PACK_RAW_2_P): Likewise.
32906         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32907         (_FP_MUL_MEAT_2_wide): Likewise.
32908         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32909         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32910         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32911         (_FP_MUL_MEAT_2_gmp): Likewise.
32912         (_FP_DIV_MEAT_2_udiv): Likewise.
32913         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32914         (_FP_FRAC_SRL_4): Likewise.
32915         (_FP_FRAC_SRST_4): Likewise.
32916         (_FP_FRAC_SRS_4): Likewise.
32917         (_FP_UNPACK_RAW_4): Likewise.
32918         (_FP_UNPACK_RAW_4_P): Likewise.
32919         (_FP_PACK_RAW_4): Likewise.
32920         (_FP_PACK_RAW_4_P): Likewise.
32921         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32922         (_FP_MUL_MEAT_4_wide): Likewise.
32923         (_FP_MUL_MEAT_4_gmp): Likewise.
32924         (umul_ppppmnnn): Likewise.
32925         (_FP_DIV_MEAT_4_udiv): Likewise.
32926         (__FP_FRAC_ADD_4): Likewise.
32927         (__FP_FRAC_SUB_3): Likewise.
32928         (__FP_FRAC_SUB_4): Likewise.
32929         (__FP_FRAC_DEC_3): Likewise.
32930         (__FP_FRAC_DEC_4): Likewise.
32931         (__FP_FRAC_ADDI_4): Likewise.
32932         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32933         (_FP_FRAC_SRL_8): Likewise.
32934         (_FP_FRAC_SRS_8): Likewise.
32936         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32937         include macro name.
32938         (FP_UNPACK_RAW_EP): Likewise.
32939         (FP_PACK_RAW_E): Likewise.
32940         (FP_PACK_RAW_EP): Likewise.
32941         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32942         (_FP_ISSIGNAN): Likewise.
32943         (_FP_ADD_INTERNAL): Likewise.
32944         (_FP_FMA): Likewise.
32945         (_FP_CMP): Likewise.
32946         (_FP_SQRT): Likewise.
32947         (_FP_TO_INT): Likewise.
32948         (_FP_FROM_INT): Likewise.
32949         (FP_EXTEND): Likewise.
32950         (_FP_DIV_MEAT_N_loop): Likewise.
32952 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32954         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32955         throughout.
32957 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32959         [BZ #17097]
32960         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32961         result with correct sign in case of exponents that produce
32962         overflow except for X very close to 1.
32964 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32966         mktime: merge #if/#ifdef usage from glibc
32967         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32968         as that works with both Glibc's and Gnulib's style.
32969         See thread starting at Siddhesh Poyarekar's bug report at:
32970         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32972 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32974         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32975         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32976         * sysdeps/tile/tilegx/memmove.c: Remove file.
32978 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32980         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32981         abi-name definition.
32982         * scripts/soversions.awk: Do not handle or generate ABI lines.
32983         * shlib-versions: Remove ABI entries.
32984         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32985         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32987 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32990         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32991         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32992         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32994         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32996         Moved ...
32997         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32998         ... here.
32999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33002         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33004         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33006         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33012         Moved ...
33013         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33019         Moved ...
33020         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33022         Moved ...
33023         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33025         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33027         Moved ...
33028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33030         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33034         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33036         Moved ...
33037         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33039         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33040         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33041         Moved ...
33042         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33044         Moved ...
33045         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33047         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33049         Moved ...
33050         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33051         ... here.
33052         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33053         Identical file removed.
33054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33058         Identical file removed.
33059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33060         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33062         Moved ...
33063         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33065         Identical file removed.
33066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33067         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33068         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33069         Identical file removed.
33070         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33071         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33073         Identical file removed.
33074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33077         Identical file removed.
33078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33082         Identical file removed.
33083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33084         Moved ...
33085         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33087         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33089         Identical file removed.
33090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33091         Moved ...
33092         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33093         ... here.
33094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33095         Identical file removed.
33096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33097         Moved ...
33098         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33100         Identical file removed.
33101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33102         Moved ...
33103         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33104         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33105         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33107         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33109         Moved ...
33110         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33111         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33112         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33114         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33115         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33116         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33117         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33118         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33120 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33122         [BZ #17092]
33123         * nscd/nscd.c (monitor_child): Return exit status of child
33124         instead of return value from wait syscall.
33126 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33128         * configure.ac (libc_commonpagesize): Remove variable.
33129         (libc_relro_required): Likewise.
33130         (libc_cv_z_relro): Remove configure test.
33131         * configure: Regenerated.
33132         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33133         variable.
33134         (libc_relro_required): Likewise.
33135         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33136         (libc_relro_required): Likewise.
33137         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33138         (libc_relro_required): Likewise.
33139         * sysdeps/arm/preconfigure: Regenerated.
33140         * sysdeps/ia64/preconfigure: Remove file.
33141         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33142         variable.
33143         (libc_relro_required): Likewise.
33145         [BZ #16561]
33146         [BZ #16562]
33147         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33148         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33149         recompute overflowing results in original rounding mode.
33150         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33151         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33152         recompute overflowing results in original rounding mode.
33153         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33154         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33155         recompute overflowing results in original rounding mode.
33156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33157         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33158         recompute overflowing results in original rounding mode.
33159         * sysdeps/ieee754/ldbl-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33163         (libc_feholdsetround_ctx): New macro.
33164         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33165         * sysdeps/i386/fpu/libm-test-ulps: Update.
33166         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33168 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33170         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33171         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33172         corresponding .cpsetup call.
33174 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33176         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33177         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33178         * sysdeps/arm/Makefile [$(subdir) = csu]
33179         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33180         (static-only-routines): Add aeabi_read_tp here.
33181         (shared-only-routines): Add libc-aeabi_read_tp here.
33182         (CFLAGS-libc-start.c): Add -fexceptions here.
33183         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33184         (sysdep_routines, static-only-routines, shared-only-routines):
33185         Don't add to these here.
33186         (CFLAGS-libc-start.c): Likewise.
33188         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33189         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33190         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33191         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33192         * sysdeps/arm/Makefile [$(subdir) = rt]
33193         (librt-sysdep_routines, librt-shared-only-routines):
33194         Append rt-aeabi_unwind_cpp_pr1 here.
33195         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33196         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33197         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33198         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33199         Append nptl-aeabi_unwind_cpp_pr1 here.
33200         (tests): Filter out tst-cleanupx4 here.
33201         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33202         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33203         Don't do those here.
33205 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33207         * scripts/list-sources.sh: Do not handle ports specially.
33209 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33211         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33212         * sysdeps/arm/feupdateenv.c: Likewise.
33214         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33216 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33218         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33219         trailing whitespace removed.
33220         * scripts/config.guess: Update to version 2014-03-23.
33221         * scripts/config.sub: Update to version 2014-05-01
33222         * scripts/install-sh: Update to version 2013-12-25.23.
33223         * scripts/move-if-change: Update from gnulib.
33225 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33227         * debug/memmove_chk.c: Remove pagecopy.h include.
33229 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33231         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33232         identical to gnulib mktime.
33234 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33236         * configure.ac: Do not test for machine being rs6000.  Do not test
33237         for powerpc*-*soft.
33238         * configure: Regenerated.
33240         [BZ #11505]
33241         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33242         test.
33243         * configure: Regenerated.
33244         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33245         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33246         Remove configure test.
33247         * sysdeps/arm/configure: Regenerated.
33248         * sysdeps/nptl/configure.ac: Do not check
33249         libc_cv_asm_cfi_directives.
33250         * sysdeps/nptl/configure: Regenerated.
33251         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33252         * sysdeps/x86_64/nptl/configure: Remove generated file.
33253         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33254         unconditional.
33255         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33257 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33259         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33260         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33261         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33262         it is defined.
33264         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33265         instead of whether it is defined.
33266         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33267         * sysdeps/hppa/dl-machine.h: Likewise.
33268         * sysdeps/ia64/dl-machine.h: Likewise.
33269         * sysdeps/m68k/dl-machine.h: Likewise.
33270         * sysdeps/microblaze/dl-machine.h: Likewise.
33271         * sysdeps/mips/dl-machine.: Likewise.
33272         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33273         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33274         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33275         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33276         * sysdeps/sh/dl-machine.h: Likewise.
33277         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33278         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33279         * sysdeps/tile/dl-machine.h: Likewise.
33280         * sysdeps/x86_64/dl-machine.h: Likewise.
33282         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33283         code.
33284         (verify_persistent_db): Likewise.
33286 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33289         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33291         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33293         Moved ...
33294         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33295         ... here.
33296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33297         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33299         Identical file removed.
33300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33301         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33303         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33305         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33307         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33309         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33311         Moved ...
33312         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33318         Moved ...
33319         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33321         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33323         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33325         Identical file removed.
33326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33327         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33329         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33331         Moved ...
33332         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33333         ... here.
33334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33335         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33337         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33339         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33341         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33343         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33345         Moved ...
33346         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33348         Moved ...
33349         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33351         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33353         Moved ...
33354         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33356         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33358         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33359         folded into ...
33360         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33361         * sysdeps/unix/sysv/linux/s390/Versions
33362         (libpthread: GLIBC_2.19): New version set.
33363         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33364         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33365         (librt: GLIBC_2.3.3): New version set.
33366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33367         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33368         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33369         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33370         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33371         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33372         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33373         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33374         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33375         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33376         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33377         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33378         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33379         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33380         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33381         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33382         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33383         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33384         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33385         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33386         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33388         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33389         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33390         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33392         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33394         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33396         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33397         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33402         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33404         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33406         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33408         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33410         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33413         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33414         (__libc_vfork): Define the function under this name.
33415         [!NOT_IN_libc] (__vfork): Make this an alias.
33416         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33418         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33419         (__libc_vfork): Define the function under this name.
33420         [!NOT_IN_libc] (__vfork): Make this an alias.
33421         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33422         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33423         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33425         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33426         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33428         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33429         code that was previously under [RESET_PID].
33430         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33431         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33434         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33435         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33436         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33437         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33438         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33439         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33440         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33441         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33442         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33443         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33444         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33445         Moved ...
33446         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33447         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33448         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33449         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33450         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33451         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33452         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33454         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33456         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33457         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33460         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33462         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33463         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33464         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33465         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33466         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33467         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33470         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33471         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33472         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33474         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33476 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33478         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33479         that was previously under [RESET_PID].
33480         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33482 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33484         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33485         not undefine and redefine.
33486         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33487         [O_CLOEXEC]: Make code unconditional.
33488         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33489         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33490         <kernel-features.h>.
33491         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33492         conditional variable definition.
33493         (shm_open) [O_CLOEXEC]: Make code unconditional.
33494         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33495         code.
33497         * configure.ac (USE_REGPARMS): Don't define here.
33498         * configure: Regenerated.
33499         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33500         * sysdeps/i386/configure: Regenerated.
33502         * nptl/createthread.c: Don't include kernel-features.h.
33503         * nptl/pthread_cancel.c: Likewise.
33504         * nptl/pthread_condattr_setclock.c: Likewise.
33505         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33506         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33507         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33508         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33509         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33510         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33511         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33514         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33515         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33516         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33517         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33518         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33519         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33520         * nscd/gai.c: Likewise.
33521         * nss/nss_db/db-open.c: Likewise.
33522         * sysdeps/generic/ldsodefs.h: Likewise.
33523         * sysdeps/sh/nptl/tls.h: Likewise.
33524         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33525         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33526         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33527         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33528         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33529         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33530         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33531         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33533         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33534         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33535         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33536         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33537         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33538         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33539         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33540         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33541         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33542         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33543         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33546         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33547         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33552         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33553         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33554         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33555         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33556         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33557         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33558         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33559         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33560         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33561         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33562         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33563         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33564         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33565         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33566         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33567         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33568         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33569         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33570         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33571         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33572         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33573         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33574         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33575         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33576         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33577         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33578         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33579         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33580         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33581         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33604         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33605         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33606         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33607         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33608         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33609         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33610         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33611         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33612         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33613         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33614         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33615         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33616         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33617         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33618         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33619         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33620         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33621         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33622         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33623         * sysdeps/unix/sysv/linux/system.c: Likewise.
33624         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33625         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33626         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33627         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33628         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33629         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33630         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33632         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33633         * configure: Regenerated.
33634         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33636         * configure.ac (base_machine): Do not set specially for particular
33637         machines here.
33638         * configure: Regenerated.
33639         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33640         settings from configure.ac.
33641         * sysdeps/i386/preconfigure: New file.
33642         * sysdeps/s390/preconfigure: Likewise.
33643         * sysdeps/sh/preconfigure: Likewise.
33644         * sysdeps/sparc/preconfigure: Likewise.
33646 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33648         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33649         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33650         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33651         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33652         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33653         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33654         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33655         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33656         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33657         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33658         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33659         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33660         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33661         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33663         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33664         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33665         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33666         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33668         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33669         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33670         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33671         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33672         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33673         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33674         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33675         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33676         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33677         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33678         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33679         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33680         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33681         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33682         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33683         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33684         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33685         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33686         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33687         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33688         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33689         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33690         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33691         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33693         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33694         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33695         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33697         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33698         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33699         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33700         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33701         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33702         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33703         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33704         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33705         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33708         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33710         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33712         Moved ...
33713         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33714         ... here.
33715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33716         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33718         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33720         Moved ...
33721         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33723         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33725         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33727         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33729         Moved ...
33730         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33732         Moved ...
33733         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33735         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33737         Moved ...
33738         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33740         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33742         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33744         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33746         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33748         Moved ...
33749         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33750         ... here.
33751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33752         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33754         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33756         Moved ...
33757         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33759         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33761         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33763         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33768         Moved ...
33769         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33771         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33776         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33778         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33780 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33782         * timezone/checktab.awk: Update from tzcode 2014e.
33783         * timezone/private.h: Likewise.
33784         * timezone/tzfile.h: Likewise.
33785         * timezone/zdump.c: Likewise.
33786         * timezone/zic.c: Likewise.
33788         * sysdeps/unix/sysv/linux/kernel-features.h
33789         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33790         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33791         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33792         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33793         Remove conditional code.
33795 2014-06-25  Will Newton  <will.newton@linaro.org>
33797         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33798         (_dl_arm_cap_flags): Add HWCAP2 values.
33799         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33800         (_DL_HWCAP_COUNT): Increase to 37.
33801         (_DL_HWCAP_LAST): New define.
33802         (_DL_HWCAP2_LAST): New define.
33803         (_dl_procinfo): Add support for printing
33804         AT_HWCAP2 entries.
33805         (_dl_string_hwcap): Use _dl_hwcap_string.
33807 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33811 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33813         * README: Do not mention ports directory.
33815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33816         Remove macro.
33817         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33818         <kernel-features.h>.
33819         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33820         conditional variable definition.
33821         (__futimes): Update comment.
33822         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33823         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33825         [BZ #16560]
33826         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33827         arguments close to 0.
33828         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33829         Likewise.
33830         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33831         Likewise.
33832         * math/auto-libm-test-in: Add more tests of exp10.
33833         * math/auto-libm-test-out: Regenerated.
33834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33836         * sysdeps/unix/sysv/linux/kernel-features.h
33837         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33838         * sysdeps/unix/sysv/linux/readv.c: Do not include
33839         <kernel-features.h>.
33840         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33841         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33842         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33843         unconditional.
33844         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33845         conditional code.
33846         * sysdeps/unix/sysv/linux/writev.c: Do not include
33847         <kernel-features.h>.
33848         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33849         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33850         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33851         unconditional.
33852         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33853         conditional code.
33855 2014-06-25  Will Newton  <will.newton@linaro.org>
33857         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33858         comment changes throughout the file.  Remove checks
33859         for HAVE_*_H definitions that are not required.
33860         (__gen_tempname): Call abort if an unknown kind value is
33861         passed.
33863 2014-06-25  Andreas Schwab  <schwab@suse.de>
33865         [BZ #17086]
33866         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33867         scalbln, scalblnf, scalblnl in libc.
33869 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33871         [BZ #17086]
33872         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33873         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33874         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33876 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33878         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33879         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33880         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33881         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33882         Update #include.
33883         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33884         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33885         Update #include.
33886         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33887         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33888         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33889         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33890         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33891         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33892         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33893         * sysdeps/x86/bits/semaphore.h: ... here.
33894         * sysdeps/x86/nptl/elide.h: Moved ...
33895         * sysdeps/x86/elide.h: ... here.
33896         * sysdeps/x86_64/nptl/Implies: File removed.
33897         * sysdeps/i386/nptl/Implies: File removed.
33899 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33901         [BZ #16539]
33902         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33903         return the argument for normal arguments with exponent below -64.
33904         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33905         Likewise.
33906         * math/auto-libm-test-in: Add another test of expm1.
33907         * math/auto-libm-test-out: Regenerated.
33909         [BZ #16287]
33910         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33911         calling __erfcl for arguments at least 16.
33912         * math/auto-libm-test-in: Add more tests of erf.
33913         * math/auto-libm-test-out: Regenerated.
33915         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33916         individual architectures.
33917         * sysdeps/unix/sysv/linux/configure: Regenerated.
33918         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33919         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33920         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33921         (ldd_rewrite_script): Define variable.
33922         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33924         file.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33926         generated file.
33927         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33928         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33929         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33930         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33931         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33932         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33933         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33934         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33936 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33938         [BZ #17084]
33939         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33940         Rename member __data.d to __data.__elision_data.
33942 2014-06-24  Wilco  <wdijkstr@arm.com>
33944         * NEWS: Add 16918 to fixed bug list.
33946 2014-06-24  Wilco  <wdijkstr@arm.com>
33948         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33950 2014-06-24  Wilco  <wdijkstr@arm.com>
33952         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33953         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33954         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33955         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33956         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33957         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33958         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33959         Use _FPU_MASK_RM.
33961 2014-06-24  Wilco  <wdijkstr@arm.com>
33963         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33965 2014-06-24  Wilco  <wdijkstr@arm.com>
33967         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33968         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33969         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33970         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33972 2014-06-24  Wilco  <wdijkstr@arm.com>
33974         [BZ #16918]
33975         * sysdeps/arm/feupdateenv.c (feupdateenv):
33976         Rewrite to reduce FPSCR accesses and fix return value.
33978 2014-06-24  Wilco  <wdijkstr@arm.com>
33980         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33981         Optimize to avoid unnecessary FPSCR writes.
33982         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33983         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33984         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33985         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33987 2014-06-24  Wilco  <wdijkstr@arm.com>
33989         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33990         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33991         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33992         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33993         Call libc_fetestexcept_vfp.
33994         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33995         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33996         __SOFTFP__ ifdef so that they can be built for softfp.
33998 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34000         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34001         argument type signed char.
34003         * Makerules (check-abi): Dump diff of symlist if the test
34004         fails.
34006 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34008         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34009         using abort.
34011         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34012         Remove unused variable ST.
34014 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34016         [BZ #16354]
34017         [BZ #17061]
34018         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34019         small arguments before calling __expm1.
34020         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34021         small arguments before calling __expm1f.
34022         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34023         small arguments before calling __expm1l.
34024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34025         Likewise.
34026         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34027         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34028         spurious underflow for some cosh tests.
34029         * math/auto-libm-test-out: Regenerated.
34030         * sysdeps/i386/fpu/libm-test-ulps: Update.
34032         [BZ #17050]
34033         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34034         (__ieee754_y1): Set errno if return value overflows.
34035         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34036         (__ieee754_y1f): Set errno if return value overflows.
34037         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34038         (__ieee754_y1l): Set errno if return value overflows.
34039         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34040         (__ieee754_y1l): Set errno if return value overflows.
34041         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34042         * math/auto-libm-test-out: Regenerated.
34044         * math/gen-auto-libm-tests.c: Document use of
34045         ignore-zero-inf-sign.
34046         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34047         (input_flags): Add ignore-zero-inf-sign.
34048         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34049         * math/gen-libm-test.pl (generate_testfile): Handle
34050         ignore-zero-inf-sign.
34051         * math/auto-libm-test-in: Mark some cpow tests with
34052         ignore-zero-inf-sign and some with xfail-rounding.
34053         * math/auto-libm-test-out: Regenerated.
34054         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34055         * sysdeps/i386/fpu/libm-test-ulps: Update.
34056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34058         [BZ #16315]
34059         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34060         overflowing or underflowing operations take place with sign of
34061         result.
34062         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34063         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34064         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34065         (__ieee754_pow): Recompute overflowing and underflowing results in
34066         original rounding mode.
34067         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34068         (__powl_helper): Allow negative argument X and scale negated value
34069         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34070         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34071         overflowing or underflowing operations take place with sign of
34072         result.
34073         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34074         Include <math.h>.
34075         * math/auto-libm-test-in: Add more tests of pow.
34076         * math/auto-libm-test-out: Regenerated.
34077         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34078         (pow_tonearest_test_data): Remove.
34079         (pow_test_tonearest): Likewise.
34080         (pow_towardzero_test_data): Likewise.
34081         (pow_test_towardzero): Likewise.
34082         (pow_downward_test_data): Likewise.
34083         (pow_test_downward): Likewise.
34084         (pow_upward_test_data): Likewise.
34085         (pow_test_upward): Likewise.
34086         (main): Don't call removed functions.
34087         * sysdeps/i386/fpu/libm-test-ulps: Update.
34088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34090 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34093         Moved ...
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34096         Moved ...
34097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34099         Moved ...
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34102         Moved ...
34103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34105         File removed.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34107         File removed.
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34109         File removed.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34111         File removed.
34112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34113         File removed.
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34115         File removed.
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34117         File removed.
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34119         File removed.
34120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34121         File removed.
34122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34123         File removed.
34124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34125         File removed.
34126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34127         File removed.
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34129         Moved ...
34130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34132         Moved ...
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34134         ... here.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34136         Moved ...
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34139         Moved ...
34140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34142         Moved ...
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34148         Moved ...
34149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34151         Moved ...
34152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34154         Moved ...
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34158         ... here.
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34163         Moved ...
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34165         ... here.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34167         Moved ...
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34169         ... here.
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34171         Moved ...
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34173         ... here.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34175         Moved ...
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34178         Moved ...
34179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34183         Moved ...
34184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34185         ... here.
34186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34187         Moved ...
34188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34189         ... here.
34190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34191         Moved ...
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34194         Moved ...
34195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34197         Moved ...
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34200         Moved ...
34201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34203         Moved ...
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34205         ... here.
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34207         Moved ...
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34210         Moved ...
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34213         Moved ...
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34216         Moved ...
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34221         Moved ...
34222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34224         Moved ...
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34227         Moved ...
34228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34229         ... here.
34230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34231         Moved ...
34232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34233         ... here.
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34235         Moved ...
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34237         ... here.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34239         Moved ...
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34242         Moved ...
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34245         Moved ...
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34248         Moved ...
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34250         ... here.
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34252         Moved ...
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34254         ... here.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34256         Moved ...
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34258         ... here.
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34260         Moved ...
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34263         Moved ...
34264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34266 2014-06-23  Will Newton  <will.newton@linaro.org>
34267             Wilco  <wdijkstr@arm.com>
34269         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34270         implementation.  Include get-rounding-mode.h.
34271         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34272         [!libc_feholdsetround_noex_ctx]: Define
34273         libc_feholdsetround_noex_ctx.
34274         [!libc_feholdsetround_noexf_ctx]: Define
34275         libc_feholdsetround_noexf_ctx.
34276         [!libc_feholdsetround_noexl_ctx]: Define
34277         libc_feholdsetround_noexl_ctx.
34278         (libc_feholdsetround_ctx): New function.
34279         (libc_feresetround_ctx): New function.
34280         (libc_feholdsetround_noex_ctx): New function.
34281         (libc_feresetround_noex_ctx): New function.
34283 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34285         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34286         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34287         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34288         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34289         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34290         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34292         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34293         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34294         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34295         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34296         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34297         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34299         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34301         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34303         Moved ...
34304         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34305         ... here.
34306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34307         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34309         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34311         Moved ...
34312         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34314         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34318         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34320         Moved ...
34321         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34323         Moved ...
34324         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34326         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34331         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34332         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34333         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34334         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34335         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34337         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34339         Moved ...
34340         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34341         ... here.
34342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34343         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34345         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34347         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34349         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34353         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34355         Moved ...
34356         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34358         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34360         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34362         Moved ...
34363         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34365         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34366         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34367         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34369         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34370         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34371         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34372         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34373         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34374         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34375         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34376         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34377         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34378         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34380         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34382         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34383         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34384         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34385         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34386         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34387         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34388         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34389         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34390         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34391         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34392         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34393         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34394         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34396         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34398 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34401         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34402         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34403         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34404         (IPV6_PMTUDISC_INTERFACE): Likewise.
34405         (IPV6_PMTUDISC_OMIT): Likewise.
34407 2014-06-23  Andreas Schwab  <schwab@suse.de>
34409         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34410         Remove unused errout label.
34412 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34414         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34415         macro: hardware supports Vector Crypto instructions.
34417 2014-06-23  Will Newton  <will.newton@linaro.org>
34419         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34420         rather than __builtin_expect.
34422         * elf/dl-lookup.c (undefined_msg): Remove variable.
34423         (_dl_lookup_symbol_x): Replace undefined_msg with string
34424         literal.
34426         * elf/dl-lookup.c (do_lookup_unique): New function.
34427         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34428         to a separate function.
34430 2014-06-23  Andreas Schwab  <schwab@suse.de>
34432         [BZ #17079]
34433         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34434         before reading the next line.
34436 2014-06-23  Will Newton  <will.newton@linaro.org>
34438         * test-skeleton.c (signal_handler): Use printf and %m
34439         rather than perror.  Use printf rather than fprintf to
34440         stderr.  Use puts rather than fputs to stderr.
34441         (main): Likewise.
34443 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34445         * nscd/nscd.c (thread_info_t): Remove typedef.
34446         (thread_info): Remove variable.
34448 2014-06-21  Allan McRae  <allan@archlinux.org>
34450         * NEWS: Mention CVE-2014-4043.
34452 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34454         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34455         * nptl/smp.h: ... here.
34457         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34459         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34460         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34461         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34462         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34464         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34465         * nptl/stack-aliasing.h: New file.
34466         * sysdeps/i386/i686/stack-aliasing.h: New file.
34467         * sysdeps/i386/i686/nptl/Makefile: File removed.
34468         * sysdeps/x86_64/stack-aliasing.h: New file.
34469         * sysdeps/x86_64/nptl/Makefile
34470         (CFLAGS-pthread_create.c): Variable removed.
34472         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34473         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34474         old file.
34475         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34476         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34477         old file.
34479 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34481         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34482         (__ASSUME_SIGFRAME_V2): Remove macro.
34483         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34484         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34485         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34486         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34487         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34488         Declare as function.  Remove conditional macro definitions.
34489         (__default_rt_sa_restorer): Likewise.
34490         (__default_sa_restorer_v1): Remove declaration.
34491         (__default_sa_restorer_v2): Likewise.
34492         (__default_rt_sa_restorer_v1): Likewise.
34493         (__default_rt_sa_restorer_v2): Likewise.
34494         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34495         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34496         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34498 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34500         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34501         (libpthread-routines): Add sysdep.
34502         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34503         * sysdeps/unix/sysv/linux/sparc/Versions
34504         (libpthread: GLIBC_2.3.3): New version set.
34505         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34506         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34507         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34508         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34509         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34510         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34511         Moved ...
34512         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34513         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34514         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34515         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34516         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34517         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34518         * sysdeps/sparc/nptl/sem_init.c: ... here.
34519         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34520         * sysdeps/sparc/nptl/sem_post.c: ... here.
34521         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34522         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34523         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34524         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34525         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34527         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34528         (libpthread-routines): Add cpu_relax.
34529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34530         File removed.
34531         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34532         (librt: GLIBC_2.3.3): New version set.
34533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34534         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34535         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34536         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34539         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34541         Moved ...
34542         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34544         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34546         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34548         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34550         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34552         Moved ...
34553         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34554         Update #include.
34555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34556         Moved ...
34557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34558         Update #include.
34559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34560         Moved ...
34561         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34562         Update #include.
34563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34564         Moved ...
34565         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34566         Update #include.
34567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34568         Moved ...
34569         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34570         Update #include.
34571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34572         Moved ...
34573         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34574         Update #include.
34575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34576         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34582         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34584         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34586         Moved ...
34587         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34589         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34591         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34593 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34595         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34596         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34597         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34598         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34599         * nscd/nscd.c: Likewise.
34600         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34601         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34602         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34603         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34605         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34606         <kernel-features.h>.
34607         (init_mq_netlink): Remove conditional have_sock_cloexec
34608         definitions.  Remove code conditional on have_sock_cloexec < 0.
34609         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34610         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34611         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34612         <kernel-features.h>.
34613         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34614         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34616 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34619         Add tests for memset_chk and memset.
34621         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34622         with AVX2_Usable.
34624 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34626         [BZ #16046]
34627         * elf/tst-dl-iter-static.c: New file.
34628         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34630         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34631         error.
34633 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34635         * sysdeps/unix/sysv/linux/kernel-features.h
34636         (__ASSUME_F_GETOWN_EX): Remove macro.
34637         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34638         <kernel-features.h>.
34639         (miss_F_GETOWN_EX): Remove variable or macro.
34640         (do_fcntl): Do not check miss_F_GETOWN_EX.
34641         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34644         Remove macro.
34645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34646         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34647         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34649         * sysdeps/unix/sysv/linux/kernel-features.h
34650         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34651         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34652         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34653         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34655 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34657         [BZ #17075]
34658         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34659         Fix calculation of the symbol's value.
34660         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34661         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34662         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34663         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34664         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34665         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34666         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34667         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34668         (modules-names): Add `tst-armtlsdescmod',
34669         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34670         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34671         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34672         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34673         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34674         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34675         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34676         ($(objpfx)tst-armtlsdescloc): New dependency.
34677         ($(objpfx)tst-armtlsdescextnow): Likewise.
34678         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34679         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34680         TLS scheme support.
34681         * sysdeps/arm/configure: Regenerate.
34683 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34685         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34686         (__atfct_seterrno_2): Likewise.
34687         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34688         <kernel-features.h>.
34689         (__ASSUME_ATFCTS): Do not undefine and redefine.
34690         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34691         (__have_atfcts): Remove conditional definition.
34692         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34693         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34694         unreachable if [__ASSUME_ATFCTS].
34695         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34696         not undefine and redefine.
34697         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34698         <kernel-features.h>.
34699         (faccessat) [__NR_faccessat]: Make code unconditional.
34700         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34701         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34702         <kernel-features.h>.
34703         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34704         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34705         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34706         <kernel-features.h>.
34707         (fchownat) [__NR_fchownat]: Make code unconditional.
34708         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34709         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34710         <kernel-features.h>.
34711         (futimesat) [__NR_futimesat]: Make code unconditional.
34712         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34713         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34714         <kernel-features.h>.
34715         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34716         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34717         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34718         <kernel-features.h>.
34719         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34720         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34721         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34722         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34723         <kernel-features.h>.
34724         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34725         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34726         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34727         <kernel-features.h>.
34728         (linkat) [__NR_linkat]: Make code unconditional.
34729         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34730         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34731         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34732         <kernel-features.h>.
34733         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34734         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34735         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34736         <kernel-features.h>.
34737         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34738         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34739         * sysdeps/unix/sysv/linux/openat.c: Do not include
34740         <kernel-features.h>.
34741         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34742         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34743         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34744         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34745         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34746         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34747         <kernel-features.h>.
34748         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34749         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34750         result of INLINE_SYSCALL directly, not via int variable.
34751         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34752         <kernel-features.h>.
34753         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34754         (renameat) [__NR_renameat]: Make code unconditional.
34755         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34756         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34757         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34758         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34759         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34760         (__ASSUME_ATFCTS): Do not undefine and redefine.
34761         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34762         <kernel-features.h>.
34763         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34764         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34765         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34766         <kernel-features.h>.
34767         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34768         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34769         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34770         (__ASSUME_ATFCTS): Do not undefine and redefine.
34771         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34772         <kernel-features.h>.
34773         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34774         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34775         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34776         <kernel-features.h>.
34777         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34778         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34780 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34782         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34784 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34786         [BZ #17069]
34787         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34788         constructed tree before returning error.
34789         * posix/bug-regexp36.c: Expand test case.
34791 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34793         [BZ #6803]
34794         * math/libm-test.inc (scalbln_test_date):
34795         Add errno expectations.
34796         * math/w_scalblnf.c: New File.
34797         Add wrapper which checks for setting errno to ERANGE.
34798         Add weak_alias for corresponding scalbln function.
34799         * math/w_scalbln.c: Likewise.
34800         * math/w_scalblnl.c: Likewise.
34801         * math/Makefile (libm-calls): Add w_scalbln.
34802         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34803         Remove weak_alias for corresponding scalbln function.
34804         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34805         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34807         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34808         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34809         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34810         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34811         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34812         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34813         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34814         Remove long_double_symbol for scalblnl function in libm, libc.
34815         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34816         Add wrapper which checks for setting errno to ERANGE.
34817         Add long_double_symbol for scalblnl function in libm, libc.
34818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34819         Remove long_double_symbol for scalblnl in libm.
34820         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34821         Add wrapper which checks for setting errno to ERANGE.
34822         Add long_double_symbol for scalblnl function in libm.
34823         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34824         Do not use wrapper because of own implementation.
34826 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34828         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34829         3 bytes for __pad1 for x32.
34830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34832 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34833             H.J. Lu  <hongjiu.lu@intel.com>
34835         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34836         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34837         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34838         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34839         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34841 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34843         [BZ #17069]
34844         * posix/regcomp.c (parse_expression): Deallocate partially
34845         constructed tree before returning error.
34846         * posix/Makefile.c (tests): Add bug-regex36.
34847         (generated): Add bug-regex36.mtrace.
34848         (tests-special): Add $(objpfx)bug-regex36-mem.out
34849         (bug-regex36-ENV): New variable.
34850         ($(objpfx)bug-regex36-mem.out): New rule.
34851         * posix/bug-regex36.c: New file.
34853 2014-06-19  Will Newton  <will.newton@linaro.org>
34855         * malloc/malloc.c (systrim): If extra is zero then return
34856         early.
34858 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34860         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34862 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34864         * sysdeps/aarch64/strchr.S: New file.
34866 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34868         [BZ #17022]
34869         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34870         from arguments -2 or below.
34871         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34872         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34874 2014-06-18  Andreas Schwab  <schwab@suse.de>
34876         [BZ #17062]
34877         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34878         of a bracket expr not to run off the end of the string.
34879         * posix/Makefile (tests): Add tst-fnmatch3.
34880         * posix/tst-fnmatch3.c: New file.
34882 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34884         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34885         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34886         [$(cross-compiling) = no]: Likewise.
34887         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34888         [$(cross-compiling) = no]: Likewise.
34890 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34892         [BZ #17031]
34893         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34894         double, adjusted for any remainder from the high double.
34895         * math/libm-test.inc (nearbyint): Add tests.
34896         (rint): Likewise.
34898 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34900         * nptl/sysdeps/powerpc/Makefile: Moved ...
34901         * sysdeps/powerpc/nptl/Makefile: ... here.
34902         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34903         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34904         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34905         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34906         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34907         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34908         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34909         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34910         * nptl/sysdeps/powerpc/tls.h: Moved ...
34911         * sysdeps/powerpc/nptl/tls.h: ... here.
34913 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34915         [BZ #16681]
34916         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34917         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34918         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34919         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34920         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34921         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34922         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34923         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34924         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34926 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34928         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34930 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34932         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34933         defined operator.
34935         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34936         $TIMEOUTFACTOR.
34938 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34940         [BZ #17058]
34941         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34942         non-executed part of the test.
34944 2014-06-16  Andreas Schwab  <schwab@suse.de>
34946         * string/bits/string2.h (strdup, strndup): Update feature guard.
34948 2014-06-14  David S. Miller  <davem@davemloft.net>
34950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34952 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34954         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34955         that was previously under [RESET_PID].
34956         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34958         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34959         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34960         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34961         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34962         (__libc_vfork): New strong alias.
34963         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34965 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34967         * sysdeps/generic/elide.h: New file.
34969 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34971         * Makefile (installed-headers): Adjust path of pthread.h header.
34973 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34975         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34976         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34977         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34978         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34980         * nptl/sysdeps/s390/Makefile: Moved ...
34981         * sysdeps/s390/nptl/Makefile: ... here.
34982         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34983         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34984         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34985         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34986         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34987         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34988         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34989         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34990         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34991         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34992         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34993         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34994         * nptl/sysdeps/s390/tls.h: Moved ...
34995         * sysdeps/s390/nptl/tls.h: ... here.
34997         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34998         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35000 2014-06-13  David S. Miller  <davem@davemloft.net>
35002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35005         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35009         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35010         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35011         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35012         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35013         Remove RESET_PID cpp guards.
35014         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35015         Remove RESET_PID cpp guards.
35016         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35018 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35020         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35021         __sp to uintptr_t.
35023 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35025         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35029         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35033         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35039         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35041         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35046         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35047         (pthread_rwlock_rdlock): Add elision.
35048         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35049         (pthread_rwlock_wrlock): Add elision.
35050         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35051         (pthread_rwlock_trywrlock): Add elision.
35052         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35053         (pthread_rwlock_tryrdlock): Add elision.
35054         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35055         (pthread_rwlock_tryrdlock): Add elision unlock.
35056         * nptl/sysdeps/pthread/pthread.h:
35057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35058         (PTHREAD_RWLOCK_INITIALIZER,
35059         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35060         Handle new elision field.
35061         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35062         * sysdeps/arm/nptl/bits/pthreadtypes.h
35063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35064         * sysdeps/sh/nptl/bits/pthreadtypes.h
35065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35066         * sysdeps/tile/nptl/bits/pthreadtypes.h
35067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35068         * sysdeps/a/nptl/bits/pthreadtypes.h
35069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35070         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35072         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35074         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35076         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35078         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35080         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35082         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35084         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35086         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35087         (elision_init): Set try_xbegin to zero when no RTM.
35088         * sysdeps/x86/nptl/bits/pthreadtypes.h
35089         (pthread_rwlock_t): Change __pad1 to __rwelision.
35090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35092 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35094         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35095         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35096         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35097         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35099 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35101         [BZ #16996]
35102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35103         that the cached result has been set before returning it.
35105 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35107         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35108         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35109         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35110         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35112         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35114         * nptl/sysdeps/sparc/Makefile: Moved ...
35115         * sysdeps/sparc/nptl/Makefile: ... here.
35116         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35117         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35118         * nptl/sysdeps/sparc/tls.h: Moved ...
35119         * sysdeps/sparc/nptl/tls.h: ... here.
35120         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35121         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35122         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35123         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35124         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35125         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35126         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35127         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35128         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35129         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35130         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35131         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35132         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35133         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35134         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35135         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35136         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35138         Update #include.
35139         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35141         Update #include.
35142         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35143         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35144         Update #include.
35145         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35146         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35147         Update #include.
35149         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35151         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35152         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35154         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35155         (struct list_links): Type removed.
35156         (struct thread_node, struct timer_node): Replace struct list_links
35157         with struct list_head.
35158         (list_unlink_ip): Likewise.
35159         * sysdeps/pthread/timer_routines.c
35160         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35161         (list_append, list_insbefore): Likewise.
35162         (list_init): Function removed.
35163         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35164         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35165         * sysdeps/pthread/Makefile: ... here, new file.
35167         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35168         * sysdeps/nptl/Implies: ... here.
35169         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35170         * nptl/sysdeps/pthread/list.h: Moved ...
35171         * include/list.h: ... here.
35172         * nptl/sysdeps/pthread/createthread.c: Moved ...
35173         * nptl/createthread.c: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35175         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35176         * nptl/pt-longjmp.c: ... here.
35177         * nptl/sysdeps/pthread/Makefile: Moved ...
35178         * sysdeps/nptl/Makefile: ... here.
35179         * nptl/sysdeps/pthread/Subdirs: Moved ...
35180         * sysdeps/nptl/Subdirs: ... here.
35181         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35182         * sysdeps/nptl/aio_misc.h: ... here.
35183         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35184         * sysdeps/nptl/bits/libc-lock.h: ... here.
35185         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35186         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35187         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35188         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35189         * nptl/sysdeps/pthread/configure: Moved ...
35190         * sysdeps/nptl/configure: ... here.
35191         * nptl/sysdeps/pthread/configure.ac: Moved ...
35192         * sysdeps/nptl/configure.ac: ... here.
35193         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35194         * sysdeps/nptl/gai_misc.h: ... here.
35195         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35196         * sysdeps/nptl/librt-cancellation.c: ... here.
35197         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35198         * sysdeps/nptl/malloc-machine.h: ... here.
35199         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35200         * sysdeps/nptl/pthread-functions.h: ... here.
35201         * nptl/sysdeps/pthread/pthread.h: Moved ...
35202         * sysdeps/nptl/pthread.h: ... here.
35203         * nptl/sysdeps/pthread/setxid.h: Moved ...
35204         * sysdeps/nptl/setxid.h: ... here.
35205         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35206         * sysdeps/nptl/sigfillset.c: ... here.
35207         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35208         * sysdeps/nptl/tcb-offsets.h: ... here.
35209         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35210         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35211         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35212         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35213         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35214         * sysdeps/pthread/allocalim.h: ... here.
35215         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35216         * sysdeps/pthread/bits/sigthread.h: ... here.
35217         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35218         * sysdeps/pthread/flockfile.c: ... here.
35219         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35220         * sysdeps/pthread/ftrylockfile.c: ... here.
35221         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35222         * sysdeps/pthread/funlockfile.c: ... here.
35223         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35224         * sysdeps/pthread/posix-timer.h: ... here.
35225         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35226         * sysdeps/pthread/timer_create.c: ... here.
35227         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35228         * sysdeps/pthread/timer_delete.c: ... here.
35229         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35230         * sysdeps/pthread/timer_getoverr.c: ... here.
35231         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35232         * sysdeps/pthread/timer_gettime.c: ... here.
35233         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35234         * sysdeps/pthread/timer_routines.c: ... here.
35235         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35236         * sysdeps/pthread/timer_settime.c: ... here.
35237         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35238         * sysdeps/pthread/tst-timer.c: ... here.
35239         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35240         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35242         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35243         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35245         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35246         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35247         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35248         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35249         Update #include target.
35250         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35251         * sysdeps/i386/i686/nptl/Makefile: ... here.
35252         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35253         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35254         Update #include target.
35255         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35256         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35257         * nptl/sysdeps/i386/Makefile: Moved ...
35258         * sysdeps/i386/nptl/Makefile: ... here.
35259         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35260         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35261         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35262         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35263         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35264         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35265         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35266         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35267         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35268         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35269         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35270         * nptl/sysdeps/i386/tls.h: Moved ...
35271         * sysdeps/i386/nptl/tls.h: ... here.
35273         * sysdeps/sh/Makefile [$(subdir) = csu]
35274         (gen-as-const-headers): Add tcb-offsets.sym.
35275         * nptl/sysdeps/sh/Makefile: File removed.
35276         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35277         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35278         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35279         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35280         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35281         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35282         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35283         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35284         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35285         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35286         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35287         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35288         * nptl/sysdeps/sh/tls.h: Moved ...
35289         * sysdeps/sh/nptl/tls.h: ... here.
35290         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35291         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35292         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35293         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35295         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35296         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35297         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35299         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35301         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35303         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35305         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35307         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35309         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35311         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35313         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35315         Moved ...
35316         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35318         Moved ...
35319         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35321         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35324         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35325         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35326         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35327         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35328         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35329         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35330         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35331         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35332         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35333         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35334         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35335         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35336         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35337         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35339 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35341         * posix/spawn_faction_addopen.c: Include string.h.
35343 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35345         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35346         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35347         * nptl/sysdeps/x86_64/Makefile: Moved ...
35348         * sysdeps/x86_64/nptl/Makefile: ... here.
35349         * nptl/sysdeps/x86_64/configure: Moved ...
35350         * sysdeps/x86_64/nptl/configure: ... here.
35351         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35352         * sysdeps/x86_64/nptl/configure.ac: ... here.
35353         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35354         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35355         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35356         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35357         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35358         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35359         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35360         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35361         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35362         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35363         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35364         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35365         * nptl/sysdeps/x86_64/tls.h: Moved ...
35366         * sysdeps/x86_64/nptl/tls.h: ... here.
35367         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35368         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35369         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35370         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35372         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35374 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35378 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35380         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35381         type.
35382         [POSIX] (off_t): Likewise.
35383         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35384         [POSIX] (S_ISBLK): Require macro.
35385         [POSIX] (S_ISCHR): Likewise.
35386         [POSIX] (S_ISDIR): Likewise.
35387         [POSIX] (S_ISFIFO): Likewise.
35388         [POSIX] (S_ISREG): Likewise.
35389         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35390         optional-macro.
35391         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35392         type.
35393         [POSIX] (time_t): Likewise.
35394         [POSIX] (timer_t): Likewise.
35396 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35398         [BZ #17048]
35399         * posix/spawn_int.h (struct __spawn_action): Make the path string
35400         non-const to support deallocation.
35401         * posix/spawn_faction_addopen.c
35402         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35403         * posix/spawn_faction_destroy.c
35404         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35405         path in all spawn_do_open actions.
35406         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35407         posix_spawn_file_actions_addopen.
35409 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35411         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35412         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35413         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35414         conditional code always true.
35415         (__libc_vfork): New alias.
35417 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35419         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35420         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35422         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35424         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35425         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35427         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35428         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35430         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35431         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35433 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35435         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35436         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35437         multiarch strcmp for PPC64.
35438         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35439         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35441         multiarch optimizations.
35442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35443         (__libc_ifunc_impl_list): Likewise.
35445 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35447         * benchtests/scripts/validate_benchout.py: New script.
35448         * benchtests/Makefile (bench-func): Call it.
35449         * benchtests/scripts/benchout.schema.json: New file.
35451 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35453         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35454         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35455         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35456         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35457         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35458         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35459         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35460         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35461         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35462         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35463         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35465         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35466         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35467         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35468         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35470         Moved ...
35471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35472         ... here.
35473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35474         Moved ...
35475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35477         Moved ...
35478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35479         ... here.
35480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35481         Moved ...
35482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35483         ... here.
35484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35485         Moved ...
35486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35488         Moved ...
35489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35490         ... here.
35491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35494         ... here.
35495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35496         Moved ...
35497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35499         Moved ...
35500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35501         ... here.
35502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35503         Moved ...
35504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35505         ... here.
35506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35507         Moved ...
35508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35509         ... here.
35510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35511         Moved ...
35512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35514         Moved ...
35515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35516         ... here.
35517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35518         Moved ...
35519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35520         ... here.
35521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35522         Moved ...
35523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35524         ... here.
35525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35526         Moved ...
35527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35529         Moved ...
35530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35531         ... here.
35532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35533         Moved ...
35534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35535         ... here.
35536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35537         Moved ...
35538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35540         Moved ...
35541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35542         ... here.
35543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35547         Moved ...
35548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35550         Moved ...
35551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35552         ... here.
35553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35554         Moved ...
35555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35556         ... here.
35557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35558         Moved ...
35559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35560         ... here.
35561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35562         Moved ...
35563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35565         Moved ...
35566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35567         ... here.
35568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35571         ... here.
35572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35573         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35575         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35579         ... here.
35580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35581         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35583         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35585         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35591         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35593         Moved ...
35594         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35596         Moved ...
35597         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35599         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35601         Moved ...
35602         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35606         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35607         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35608         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35610 2014-06-10  Wilco  <wdijkstr@arm.com>
35612         * math/test-fenv-return.c: New file.
35613         * math/Makefile: Add new test test-fenv-return.
35615 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35617         [BZ #17042]
35618         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35619         when x - 1 is zero.
35620         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35621         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35622         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35623         0.0L for an argument of 1.0L.
35624         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35625         Likewise.
35626         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35627         value when x - 1 is zero.
35628         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35629         * sysdeps/i386/fpu/libm-test-ulps: Update.
35630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35632 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35634         [BZ #15119]
35635         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35637 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35639         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35640         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35642 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35644         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35645         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35647         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35648         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35650         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35651         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35653         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35654         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35656         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35657         if not already defined.
35658         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35659         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35660         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35661         (TLS_INIT_TP): Use it.
35662         (TLS_DEFINE_INIT_TP): New macro.
35663         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35665 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35667         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35668         constant.
35669         [POSIX] (IXANY): Likewise.
35670         [POSIX] (OLCUC): Likewise.
35671         [POSIX || POSIX2008] (CBAUD): Do not allow.
35672         [POSIX || POSIX2008] (DEFECHO): Likewise.
35673         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35674         [POSIX || POSIX2008] (ECHOKE): Likewise.
35675         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35676         [POSIX || POSIX2008] (EXTA): Likewise.
35677         [POSIX || POSIX2008] (EXTB): Likewise.
35678         [POSIX || POSIX2008] (FLUSHO): Likewise.
35679         [POSIX || POSIX2008] (LOBLK): Likewise.
35680         [POSIX || POSIX2008] (PENDIN): Likewise.
35681         [POSIX || POSIX2008] (SWTCH): Likewise.
35682         [POSIX || POSIX2008] (VDISCARD): Likewise.
35683         [POSIX || POSIX2008] (VDSUSP): Likewise.
35684         [POSIX || POSIX2008] (VLNEXT): Likewise.
35685         [POSIX || POSIX2008] (VREPRINT): Likewise.
35686         [POSIX || POSIX2008] (VSTATUS): Likewise.
35687         [POSIX || POSIX2008] (VWERASE): Likewise.
35688         (B*): Change to B[0123456789]*.
35689         * conform/data/time.h-data [POSIX || UNIX98]
35690         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35691         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35692         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35693         [POSIX] (tm_*): Do not allow.
35695 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35697         * Makefile (install): Don't set LANGUAGE.
35698         * Makefile.in (install): Likewise.
35699         * assert/Makefile (test-assert-ENV): Remove variable.
35700         (test-assert-perr-ENV): Likewise.
35701         * elf/Makefile (neededtest4-ENV): Likewise.
35702         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35703         [$(cross-compiling) = no]: Don't set LANGUAGE.
35704         * io/ftwtest-sh (LANG): Remove variable.
35705         * libio/Makefile (tst-widetext-ENV): Likewise.
35706         * manual/install.texi (Running make install): Don't refer to
35707         environment settings for make install.
35708         * INSTALL: Regenerated.
35709         * nptl/tst-tls6.sh: Don't set LANG.
35710         * posix/globtest.sh (LANG): Remove variable.
35711         * string/Makefile (tester-ENV): Likewise.
35712         (inl-tester-ENV): Likewise.
35713         (noinl-tester-ENV): Likewise.
35714         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35715         [$(cross-compiling) = no]: Don't set LANGUAGE.
35716         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35717         without explicit environment settings.
35719 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35721         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35722         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35723         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35724         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35726 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35728         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35729         other files in the crypt directory.
35730         * crypt/crypt.c: Remove duplicate includes.
35731         * crypt/crypt-entry.c: Likewise.
35732         * crypt/crypt_util.c: Likewise.
35734 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35736         * Makeconfig (run-program-env): New variable.
35737         (run-program-prefix-before-env): Likewise.
35738         (run-program-prefix-after-env): Likewise.
35739         (run-program-prefix): Define in terms of new variables.
35740         (built-program-cmd-before-env): New variable.
35741         (built-program-cmd-after-env): Likewise.
35742         (built-program-cmd): Define in terms of new variables.
35743         (test-program-prefix-before-env): New variable.
35744         (test-program-prefix-after-env): Likewise.
35745         (test-program-prefix): Define in terms of new variables.
35746         (test-program-cmd-before-env): New variable.
35747         (test-program-cmd-after-env): Likewise.
35748         (test-program-cmd): Define in terms of new variables.
35749         * Rules (make-test-out): Use $(run-program-env).
35750         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35751         (help): Do not mention environment variables.  Mention
35752         --timeoutfactor option.
35753         (timeoutfactor): New variable.
35754         (blacklist_exports): Remove function.
35755         (exports): Remove variable.
35756         (command): Do not include ${exports}.
35757         * manual/install.texi (Configuring and compiling): Do not mention
35758         test wrappers preserving environment variables.  Mention that last
35759         assignment to a variable must take precedence.
35760         * INSTALL: Regenerated.
35761         * benchtests/Makefile (run-bench): Use $(run-program-env).
35762         * catgets/Makefile ($(objpfx)test1.cat): Use
35763         $(built-program-cmd-before-env), $(run-program-env) and
35764         $(built-program-cmd-after-env).
35765         ($(objpfx)test2.cat): Do not specify environment variables
35766         explicitly.
35767         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35768         $(run-program-env) and $(built-program-cmd-after-env).
35769         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35770         $(run-program-env) and $(test-program-cmd-after-env).
35771         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35772         explicitly.
35773         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35774         run_program_env and test_program_cmd_after_env arguments.
35775         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35776         * elf/tst-pathopt.sh: Use run_program_env argument.
35777         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35778         $(test-wrapper-env) and $(run-program-env).
35779         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35780         run_program_env arguments.
35781         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35782         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35783         $(test-program-prefix-before-env), $(run-program-env) and
35784         $(test-program-prefix-after-env).
35785         ($(objpfx)tst-gettext2.out): Likewise.
35786         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35787         run_program_env and test_program_prefix_after_env arguments.
35788         * intl/tst-gettext2.sh: Likewise.
35789         * intl/tst-gettext4.sh: Do not set environment variables
35790         explicitly.
35791         * intl/tst-gettext6.sh: Likewise.
35792         * intl/tst-translit.sh: Likewise.
35793         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35794         $(test-program-prefix-before-env), $(run-program-env) and
35795         $(test-program-prefix-after-env).
35796         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35797         run_program_env and test_program_prefix_after_env arguments.
35798         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35799         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35800         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35801         explicitly with each use of ${test_wrapper_env}.
35802         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35803         $(test-program-prefix-before-env), $(run-program-env) and
35804         $(test-program-prefix-after-env).
35805         * posix/tst-getconf.sh: Do not set environment variables
35806         explicitly.
35807         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35808         run_program_env and test_program_prefix_after_env arguments.
35809         * stdio-common/tst-printf.sh: Do not set environment variables
35810         explicitly.
35811         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35812         $(test-program-prefix-before-env), $(run-program-env) and
35813         $(test-program-prefix-after-env).
35814         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35815         run_program_env and test_program_prefix_after_env arguments.
35816         Split $test calls into $test_pre and $test.
35817         * timezone/Makefile (build-testdata): Use
35818         $(built-program-cmd-before-env), $(run-program-env) and
35819         $(built-program-cmd-after-env).
35821 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35823         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35824         strlen for non SHARED builds.
35826 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35828         * nptl/allocatestack.c (check_list): Inlined function...
35829         (__reclaim_stacks): ... here.
35831 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35833         [BZ #15698]
35834         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35835         memory overrun.
35837 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35839         * Rules (make-test-out): Include
35840         LOCPATH=$(common-objpfx)localedata in default environment.
35841         * debug/Makefile (tst-chk1-ENV): Remove variable.
35842         (tst-chk2-ENV): Likewise.
35843         (tst-chk3-ENV): Likewise.
35844         (tst-chk4-ENV): Likewise.
35845         (tst-chk5-ENV): Likewise.
35846         (tst-chk6-ENV): Likewise.
35847         (tst-lfschk1-ENV): Likewise.
35848         (tst-lfschk2-ENV): Likewise.
35849         (tst-lfschk3-ENV): Likewise.
35850         (tst-lfschk4-ENV): Likewise.
35851         (tst-lfschk5-ENV): Likewise.
35852         (tst-lfschk6-ENV): Likewise.
35853         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35854         (tst-iconv7-ENV): Likewise.
35855         * intl/Makefile (LOCPATH-ENV): Likewise.
35856         (tst-codeset-ENV): Likewise.
35857         (tst-gettext3-ENV): Likewise.
35858         (tst-gettext5-ENV): Likewise.
35859         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35860         (tst-fopenloc-ENV): Likewise.
35861         (tst-fgetws-ENV): Remove variable.
35862         (tst-ungetwc1-ENV): Likewise.
35863         (tst-ungetwc2-ENV): Likewise.
35864         (bug-ungetwc2-ENV): Likewise.
35865         (tst-swscanf-ENV): Likewise.
35866         (bug-ftell-ENV): Likewise.
35867         (tst-fgetwc-ENV): Likewise.
35868         (tst-fseek-ENV): Likewise.
35869         (tst-ftell-partial-wide-ENV): Likewise.
35870         (tst-ftell-active-handler-ENV): Likewise.
35871         (tst-ftell-append-ENV): Likewise.
35872         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35873         (tst-regexloc-ENV): Likewise.
35874         (bug-regex1-ENV): Likewise.
35875         (tst-regex-ENV): Likewise.
35876         (tst-regex2-ENV): Likewise.
35877         (bug-regex5-ENV): Likewise.
35878         (bug-regex6-ENV): Likewise.
35879         (bug-regex17-ENV): Likewise.
35880         (bug-regex18-ENV): Likewise.
35881         (bug-regex19-ENV): Likewise.
35882         (bug-regex20-ENV): Likewise.
35883         (bug-regex22-ENV): Likewise.
35884         (bug-regex23-ENV): Likewise.
35885         (bug-regex25-ENV): Likewise.
35886         (bug-regex26-ENV): Likewise.
35887         (bug-regex30-ENV): Likewise.
35888         (bug-regex32-ENV): Likewise.
35889         (bug-regex33-ENV): Likewise.
35890         (bug-regex34-ENV): Likewise.
35891         (bug-regex35-ENV): Likewise.
35892         (tst-rxspencer-ENV): Likewise.
35893         (tst-rxspencer-no-utf8-ENV): Likewise.
35894         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35895         (tst-sscanf-ENV): Likewise.
35896         (tst-swprintf-ENV): Likewise.
35897         (tst-swscanf-ENV): Likewise.
35898         (test-vfprintf-ENV): Likewise.
35899         (scanf13-ENV): Likewise.
35900         (bug14-ENV): Likewise.
35901         (tst-grouping-ENV): Likewise.
35902         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35903         (tst-strtod3-ENV): Likewise.
35904         (tst-strtod4-ENV): Likewise.
35905         (tst-strtod5-ENV): Likewise.
35906         (testmb2-ENV): Likewise./
35907         * string/Makefile (tst-strxfrm-ENV): Likewise.
35908         (tst-strxfrm2-ENV): Likewise.
35909         (bug-strcoll1-ENV): Likewise.
35910         (test-strcasecmp-ENV): Likewise.
35911         (test-strncasecmp-ENV): Likewise.
35912         * time/Makefile (tst-strptime-ENV): Likewise.
35913         (tst-ftime_l-ENV): Likewise.
35914         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35915         (tst-mbrtowc-ENV): Likewise.
35916         (tst-wcrtomb-ENV): Likewise.
35917         (tst-mbrtowc2-ENV): Likewise.
35918         (tst-c16c32-1-ENV): Likewise.
35919         (tst-mbsnrtowcs-ENV): Likewise.
35921 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35923         * manual/resource.texi (How to get information about the memory
35924         subsystem?): Fix typo.
35925         Reported by Peon de la Parra Ivan <peon@keba.com>
35927 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35929         [BZ #16882]
35930         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35931         (pthread_spin_lock): Branch out of spin loop to proper location.
35932         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35933         (pthread_spin_lock): Likewise.
35935         * nptl/tst-spin4.c: New test.
35936         * nptl/Makefile (tests): Add tst-spin4.
35938 2014-06-03  Andreas Schwab  <schwab@suse.de>
35940         [BZ #15946]
35941         * resolv/res_send.c (send_dg): Reload file descriptor after
35942         calling reopen.
35944 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35946         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35948 2014-06-03  Richard Henderson  <rth@redhat.com>
35950         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35951         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35952         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35953         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35954         in the SAVE_PID block.
35955         (__libc_vfork): New alias.
35956         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35958         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35959         child in registers, not on the stack.  Remove RESET_PID conditionals.
35960         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35962 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35964         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35966 2014-06-03  Wilco  <wdijkstr@arm.com>
35968         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35969         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35970         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35971         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35972         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35973         Likewise.
35975 2014-06-03  Wilco  <wdijkstr@arm.com>
35977         * sysdeps/aarch64/fpu/math_private.h
35978         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35979         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35980         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35981         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35982         Fix declarations.
35984 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35986         * crypt/crypt-private.h: Include ufc-crypt.h.
35987         (__b64_from_24bit): Declare extern.
35988         * crypt/crypt_util.c(__b64_from_24bit): New function.
35989         (b64t): New static const variable.
35990         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35991         (b64t): Remove variable.
35992         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35993         * crypt/sha256-crypt.c: Include crypt-private.h.
35994         (b64t): Remove variable.
35995         (__sha256_crypt_r): Remove b64_from_24bit and replace
35996         with __b64_from_24bit.
35997         * crypt/sha512-crypt.c: Likewise.
35999 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36001         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36002         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36003         Label the code __libc_vfork rather than __vfork.
36004         [!NOT_IN_libc] (vfork): Define as weak alias.
36005         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36006         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36007         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36009 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36011         * malloc/malloc.c (malloc_info): Fix format specifier for
36012         n_mmaps.
36014 2014-06-02  Wilco  <wdijkstr@arm.com>
36016         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36017         FPCR write.
36019 2014-06-02  Wilco  <wdijkstr@arm.com>
36021         [BZ #17009]
36022         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36023         Rewrite to reduce FPCR/FPSR accesses.
36025 2014-06-01  David S. Miller  <davem@davemloft.net>
36027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36029 2014-05-31  David S. Miller  <davem@davemloft.net>
36031         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36032         to occur in round to nearest mode when |x| >= 2.0
36034 2014-05-30  Richard Henderson  <rth@twiddle.net>
36036         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36037         (PSEUDO_RET_NOERRNO): Remove.
36038         (ret): Don't redefine.
36039         (ret_NOERRNO): Define in terms of ret.
36040         (ret_ERRVAL): Likewise.
36042         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36043         use of PSEUDO_RET; perform the error check directly.
36045 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36047         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36048         with __int128_t.
36050 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36052         * malloc/malloc (malloc_info): Fix formatting.
36054 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36055             Roland McGrath  <roland@hack.frob.com>
36057         * malloc/malloc (malloc_info): Also print mmapped statistics.
36059 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36061         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36062         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36064 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36066         * malloc/malloc.c (malloc_info): Inline mi_arena.
36068 2014-05-29  Richard Henderson  <rth@twiddle.net>
36070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36071         Remove comma before expanding ASM_ARGS_##nr.
36072         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36073         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36074         of ASM_ARGS_##nr.
36075         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36076         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36077         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36078         (ASM_ARGS_1): Add leading comma.
36080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36081         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36082         to __errno_location.
36083         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36084         Remove the expected plt for __errno_location.
36086         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36087         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36088         call to __read_tp.
36090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36091         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36092         it and break it down.
36093         (DOCARGS_0, DOCARGS_1): Do nothing.
36094         (DOCARGS_2): Update to store into the new stack frame.
36095         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36096         (UNDOCARGS_1): Update to restore from the new stack frame.
36097         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36098         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36100         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36101         (SINGLE_THREAD_P): New parameter for result regno.
36102         (PSEUDO): Update to match; use cbz instead of beq.
36104         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36105         Use ENTRY to define the _nocancel entry point.  Share the syscall
36106         and syscall error check paths with the cancel path.
36107         (PSEUDO_END): New.
36109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36110         whitespace; tabs before and after asm mnemonics.
36112 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36114         [BZ #15132]
36115         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36116         Call fstat64 or stat64 internally, depending on arguments passed.
36117         Replace stat buffer argument with file descriptor argument.
36118         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36119         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36120         Pass fd to __internal_statvfs instead of calling fstat64.
36121         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36122         Pass fd to __internal_statvfs64 instead of calling fstat64.
36123         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36124         Pass -1 to __internal_statvfs instead of calling stat64.
36125         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36126         Pass -1 to __internal_statvfs64 instead of calling stat64.
36128 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36130         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36131         that was previously under [RESET_PID].
36132         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36134         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36135         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36137 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36139         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36141         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36142         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36144 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36146         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36148 2014-05-27  Andreas Schwab  <schwab@suse.de>
36150         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36151         TLS_INIT_TP macro.
36152         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36153         * elf/rtld.c (init_tls, dl_main): Likewise.
36154         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36155         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36156         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36157         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36158         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36159         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36160         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36161         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36162         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36163         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36164         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36165         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36166         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36167         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36168         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36169         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36170         * sysdeps/generic/tls.h: Update description.
36172 2014-05-27  Will Newton  <will.newton@linaro.org>
36174         [BZ #16990]
36175         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36176         and restore r2 rather than just restoring.
36178 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36180         [BZ #16724]
36181         * libio/tst-ftell-append.c: New test case.
36182         * libio/Makefile (tests): Add test case.
36183         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36184         append mode.
36185         * libio/wfileops.c (do_ftell_wide): Likewise.
36187 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36191         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36192         ...
36193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36195         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36196         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36198         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36199         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36200         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36202         Moved ...
36203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36205         Moved ...
36206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36207         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36208         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36209         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36210         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36211         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36212         ...
36213         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36214         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36215         Moved ...
36216         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36217         here.
36218         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36219         ...
36220         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36221         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36222         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36225         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36226         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36227         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36230         merge into ...
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36233         ...
36234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36236         ...
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36239         Moved ...
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36241         here.
36242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36243         Moved ...
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36246         Moved ...
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36250         conditional [RESET_PID].
36251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36253         removed.
36254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36255         removed.
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36258         <tcb-offsets.h>.
36259         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36260         (__libc_vfork): New strong alias.
36261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36262         removed.
36263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36264         Removed.
36266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36267         <tcb-offsets.h>.
36268         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36269         (__libc_vfork): New strong alias.
36270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36271         removed.
36272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36273         removed.
36275 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36277         * malloc/malloc.c (mi_arena): New function.
36278         (malloc_info): Remove nested function mi_arena. Call non-nosted
36279         function mi_arena.
36281 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36283         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36284         by insrwi.
36285         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36286         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36287         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36288         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36289         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36290         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36291         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36293 2014-05-26  Andreas Schwab  <schwab@suse.de>
36295         [BZ #16984]
36296         * locale/programs/repertoire.c (repertoire_read): Add slash
36297         between I18NPATH element and file name.
36298         * locale/programs/locfile.c (locfile_read): Likewise.
36300 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36302         * nptl/pthread_mutexattr_settype.c
36303         (__pthread_mutexattr_settype):
36304         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36306 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36308         * nptl/tst-mutex5 (do_test):
36309         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36311 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36313         * benchtests/README: Document 'init' directive.
36314         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36315         BENCH_INIT.
36316         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36317         (parse_file): Recognize 'init' directive.
36319 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36321         [BZ #16796]
36322         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36323         alignment of struct pthread.
36325 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36327         [BZ #16878]
36328         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36329         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36330         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36331         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36333 2014-05-25  Richard Henderson  <rth@twiddle.net>
36335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36336         (SINGLE_THREAD_P_PIC): Remove.
36337         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36338         (SINGLE_THREAD_P_PIC): Remove.
36340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36341         branch to syscall error ...
36342         (PSEUDO): ... here.
36343         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36344         from __local_syscall_error to .Lsyscall_error.
36345         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36346         (SYSCALL_ERROR): Update label name.
36348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36349         Do not use DOARGS/UNDOARGS.
36350         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36351         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36352         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36353         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36354         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36357         block comment.
36359         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36360         define if !NOT_IN_libc.
36361         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36362         define with non-default symbol versions.
36364 2014-05-23  Richard Henderson  <rth@twiddle.net>
36366         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36367         (vfork, __vfork): Define via compat_symbol.
36369         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36370         [!HAVE_IFUNC] (vfork_compat): Remove.
36371         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36373 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36375         [BZ #16978]
36376         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36377         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36378         variable.
36380 2014-05-23  Richard Henderson  <rth@twiddle.net>
36382         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36383         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36384         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36385         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36387         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36388         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36389         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36390         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36391         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36392         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36393         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36394         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36395         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36396         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36397         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36398         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36399         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36400         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36401         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36402         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36403         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36404         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36408         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36409         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36410         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36411         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36412         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36413         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36414         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36415         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36416         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36418         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36420         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36422         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36424         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36425         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36426         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36427         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36428         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36429         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36430         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36431         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36432         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36434         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36436         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36438         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36440         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36442         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36444         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36445         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36446         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36447         before exiting on error.
36448         (__libc_vfork): New strong alias.
36449         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36450         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36452         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36453         that was previously under [RESET_PID].
36454         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36456         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36458 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36460         [BZ #16977]
36461         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36462         value when x - 1 is zero.
36463         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36464         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36465         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36466         0.0L for an argument of 1.0L.
36467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36468         Likewise.
36469         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36470         value when x - 1 is zero.
36471         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36472         * sysdeps/i386/fpu/libm-test-ulps: Update.
36473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36475 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36477         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36478         alphasort and versionsort.
36480 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36482         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36483         macro.
36484         [copysignf]: Likewise.
36486 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36488         * crypt/md5-crypt.c: Fix formatting.
36490 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36492         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36493         (b64_from_24bit): New function.
36495 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36497         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36498         libc_hidden_builtin_def to ifunc.
36499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36500         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36502 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36504         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36505         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36507 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36509         * nscd/Depend (linuxthreads): Remove.
36510         (nptl): Add.
36511         * resolv/Depend (linuxthreads): Remove.
36512         * rt/Depend (linuxthreads): Remove.
36514         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36515         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36516         $(common-objpfx)elf/.
36517         (link-libc-before-gnulib): Likewise.
36518         (elfobjdir): Remove variable.
36519         * Makefile (install): Use $(elf-objpfx) instead of
36520         $(common-objpfx)elf/.
36521         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36522         $(elfobjdir)/.
36523         (link-libc-deps): Likewise.
36524         ($(common-objpfx)libc.so): Likewise.
36525         ($(common-objpfx)linkobj/libc.so): Likewise.
36526         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36527         instead of $(common-objpfx)elf/.
36528         (symbolic-link-list): Likewise.
36529         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36530         [$(cross-compiling) = no]: Likewise.
36531         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36532         $(elfobjdir)/.
36533         (static-gnulib-arch): Likewise.
36534         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36535         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36536         $(common-objpfx)elf/.
36538 2014-05-21  Richard Henderson  <rth@redhat.com>
36540         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36541         (SINGLE_THREAD_P): Use the correct width load.  Fold
36542         into the ldr offset.
36544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36545         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36547 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36549         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36550         (libgcc_s_resume): Use __attribute_used__.
36551         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36552         Likewise.
36554 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36556         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36557         optimization when used with float constants.
36559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36561 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36563         [BZ #16915]
36564         * locale/nl_langinfo_l.c: Make direct reference to every
36565         _nl_current_CATEGORY symbol.
36566         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36567         (tests-static): Add tst-langinfo-static.
36568         (tests-special): Add tst-langinfo-static.out.
36569         ($(objpfx)tst-langinfo.out): Redirect output.
36570         ($(objpfx)tst-langinfo-static.out): New.
36571         * localedata/tst-langinfo.sh: Send output to stdout.
36572         * localedata/tst-langinfo-static.c: New file.
36574         [BZ #16965]
36575         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36576         when the shift amount is modulo the limb size.
36578 2014-05-20  Richard Henderson  <rth@redhat.com>
36580         [BZ #16967]
36581         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36582         Change type of sa_flags from unsigned int to int.
36584         [BZ #16966]
36585         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36587         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36589 2014-05-20  Will Newton  <will.newton@linaro.org>
36591         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36592         Test the return value of the system call in the nocancel case.
36594 2014-05-20  Will Newton  <will.newton@linaro.org>
36595             Yvan Roux  <yvan.roux@linaro.org>
36597         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36598         #include of asm/ptrace.h.
36599         (PTRACE_GET_THREAD_AREA): Remove #undef.
36600         (PTRACE_GETHBPREGS): Likewise.
36601         (PTRACE_SETHBPREGS): Likewise.
36602         (struct user_regs_struct): New structure.
36603         (struct user_fpsimd_struct): New structure.
36604         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36605         #include of asm/ptrace.h and second #include of sys/user.h.
36606         (PTRACE_GET_THREAD_AREA): Remove #undef.
36607         (PTRACE_GETHBPREGS): Likewise.
36608         (PTRACE_SETHBPREGS): Likewise.
36609         (ELF_NGREG): Use new struct user_regs_struct.
36610         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36612 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36614         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36615         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36617 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36619         [BZ #16958]
36620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36621         membar to avoid block loads/stores to overlap previous stores.
36623 2014-05-17  Richard Henderson  <rth@redhat.com>
36625         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36626         Create the __##syscall_name##_nocancel entry point.
36627         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36628         Remove; let the sysdep-cancel.h code create it.
36630 2014-05-17  David S. Miller  <davem@davemloft.net>
36632         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36633         Protect with __USE_GNU.
36634         (TIOCSET_TEMPT): Likewise.
36635         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36636         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36637         these are already provided in bits/ioctl-types.h
36639 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36641         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36642         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36644         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36645         Use wait4 regardless of [__NR_waitpid].
36647 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36649         PR libgcc/60166
36650         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36651         (_FP_NANSIGN_Q): Set the quiet bit.
36653 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36655         * benchtests/Makefile
36656         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36657         not $(common-objpfx)math/libm.so.
36658         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36659         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36660         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36661         $(common-objpfx)dlfcn/libdl.so.
36662         ($(objpfx)tst-audit8): Depend on $(libm), not
36663         $(common-objpfx)math/libm.so.
36664         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36665         not $(common-objpfx)dlfcn/libdl.so.
36666         * math/Makefile
36667         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36668         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36669         [$(build-shared) = yes].
36670         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36671         $(common-objpfx)nptl/libpthread.so.
36672         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36673         $(common-objpfx)math/libm.so$(libm.so-version) or
36674         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36675         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36676         $(common-objpfx)dlfcn/libdl.so.
36677         * setjmp/Makefile (link-libm): Remove variable.
36678         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36679         * stdio-common/Makefile (link-libm): Remove variable.
36680         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36681         * stdlib/Makefile (link-libm): Remove variable.
36682         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36683         ($(objpfx)tst-strtod-round): Likewise.
36684         ($(objpfx)tst-tininess): Likewise.
36685         ($(objpfx)tst-strtod-underflow): Likewise.
36686         ($(objpfx)tst-strtod6): Likewise.
36687         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36688         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36689         $(common-objpfx)dlfcn/libdl.so.
36691 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36693         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36694         BSD terminal modes definitions.
36696 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36698         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36699         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36701         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36702         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36703         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36704         Don't do #include_next.
36705         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36706         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36707         Don't do #include_next.
36708         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36709         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36710         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36711         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36713 2014-05-16  Allan McRae  <allan@archlinux.org>
36715         * po/sv.po: Update Swedish translation from translation project.
36717         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36718         in sed expression.
36720 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36722         [BZ #16917]
36723         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36724         errno if the TIOCGPTN ioctl fails with an error different than
36725         EINVAL.
36726         * login/tst-ptsname.c: New file.
36727         * login/Makefile (tests): Add tst-ptsname.
36729         [BZ #16943]
36730         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36731         and prlimit64.
36733 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36735         [BZ #16849]
36736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36737         herrno to return EAI_AGAIN.
36739 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36741         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36742         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36743         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36744         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36745         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36746         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36747         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36748         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36749         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36750         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36751         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36752         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36753         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36754         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36755         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36756         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36757         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36758         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36759         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36760         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36761         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36762         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36763         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36764         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36765         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36766         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36767         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36768         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36769         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36770         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36772         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36774         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36776         Moved ...
36777         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36779         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36781         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36783         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36785         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36787         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36789         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36791         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36793         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36795         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36797         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36799         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36801         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36803         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36805         Moved ...
36806         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36808         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36810         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36812         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36814         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36816         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36818         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36820         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36822         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36824         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36826         Moved ...
36827         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36829         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36831         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36832         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36833         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36834         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36835         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36836         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36837         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36838         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36839         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36840         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36841         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36842         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36843         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36844         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36845         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36846         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36847         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36848         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36849         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36850         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36851         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36852         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36853         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36854         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36855         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36856         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36857         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36858         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36859         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36861         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36863         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36864         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36866         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36867         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36868         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36869         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36870         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36871         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36872         Moved ...
36873         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36874         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36875         Moved ...
36876         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36878         Moved ...
36879         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36880         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36881         Moved ...
36882         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36883         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36884         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36885         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36886         Moved ...
36887         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36888         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36889         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36891         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36892         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36893         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36895         Moved ...
36896         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36898         Moved ...
36899         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36900         ... here.
36901         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36902         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36904         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36906         Moved ...
36907         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36908         ... here.
36909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36910         Moved ...
36911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36912         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36913         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36914         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36915         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36916         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36917         Moved ...
36918         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36919         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36920         Moved ...
36921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36923         Moved ...
36924         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36925         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36926         Moved ...
36927         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36928         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36929         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36930         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36931         Moved ...
36932         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36933         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36934         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36936         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36937         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36938         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36940         Moved ...
36941         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36943         Moved ...
36944         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36945         ... here.
36946         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36947         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36948         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36949         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36951         Moved ...
36952         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36953         ... here.
36954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36955         Moved ...
36956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36957         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36958         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36959         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36960         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36961         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36962         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36963         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36964         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36966         Moved ...
36967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36969         Moved ...
36970         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36972         Moved ...
36973         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36975         Moved ...
36976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36977         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36978         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36979         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36980         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36982         Moved ...
36983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36984         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36985         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36987         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36988         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36989         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36991         Moved ...
36992         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36994         Moved ...
36995         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36996         ... here.
36997         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36998         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36999         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37000         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37002         Moved ...
37003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37004         ... here.
37005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37006         Moved ...
37007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37008         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37009         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37010         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37011         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37012         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37013         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37014         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37015         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37016         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37017         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37019         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37020         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37022         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37023         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37025         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37026         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37027         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37028         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37029         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37030         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37031         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37032         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37033         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37034         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37035         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37036         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37037         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37038         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37039         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37041         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37043         Moved ...
37044         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37046         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37048         Moved ...
37049         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37050         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37053         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37057         Moved ...
37058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37060         Moved ...
37061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37067         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37068         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37069         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37070         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37071         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37072         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37073         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37074         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37075         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37076         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37077         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37079         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37080         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37081         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37082         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37083         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37085         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37086         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37087         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37088         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37089         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37090         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37091         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37092         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37093         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37094         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37099         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37100         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37101         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37102         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37104         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37105         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37106         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37107         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37108         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37109         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37110         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37111         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37112         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37114         Update #include.
37115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37116         Likewise.
37117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37118         Likewise.
37119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37120         Likewise.
37121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37122         Likewise.
37123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37124         Likewise.
37125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37126         Likewise.
37127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37128         Likewise.
37129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37130         Likewise.
37131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37132         Likewise.
37133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37138         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37144         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37149         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37150         that was previously under [RESET_PID].
37151         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37152         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37153         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37155         * sysdeps/i386/nptl/Implies: New file.
37156         * sysdeps/x86_64/nptl/Implies: New file.
37157         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37158         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37159         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37160         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37162         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37163         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37164         (__libc_vfork): New strong alias.
37165         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37166         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37168         * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
37172         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37174         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37178         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37179         * nptl/pt-vfork.c: New file.
37180         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37181         (libpthread: GLIBC_2.20): New version set (empty).
37183 2014-05-14  Will Newton  <will.newton@linaro.org>
37185         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37186         rather than #if.
37188 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37190         [BZ #16564]
37191         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37192         arguments with exponent 65 or above.
37193         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37194         arguments 0x1p113L or above.
37195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37196         to arguments 0x1p107L or above.
37197         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37198         positive arguments with exponent 65 or above.
37199         * math/auto-libm-test-in: Add more tests of log1p.
37200         * math/auto-libm-test-out: Regenerated.
37202         [BZ #16928]
37203         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37204         non-finite arguments is +0.
37205         * math/s_cacosf.c (__cacosf): Likewise.
37206         * math/s_cacosl.c (__cacosl): Likewise.
37207         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37208         * sysdeps/i386/fpu/libm-test-ulps: Update.
37209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37211         [BZ #16927]
37212         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37213         value.
37214         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37215         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37216         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37217         for explicit high bit of mantissa when testing for argument equal
37218         to 1.
37219         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37220         * sysdeps/i386/fpu/libm-test-ulps: Update.
37221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37223         [BZ #16516]
37224         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37225         (__erf): Scale by 16 instead of 8 in potentially underflowing
37226         case.  Ensure exception if result actually underflows.
37227         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37228         (__erff): Scale by 16 instead of 8 in potentially underflowing
37229         case.  Ensure exception if result actually underflows.
37230         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37231         (efx8): Remove variable.
37232         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37233         case.  Ensure exception if result actually underflows.
37234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37235         (efx8): Remove variable.
37236         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37237         case.  Ensure exception if result actually underflows.
37238         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37239         (efx8): Remove variable.
37240         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37241         case.  Ensure exception if result actually underflows.
37242         * math/auto-libm-test-in: Add more tests of erf.
37243         * math/auto-libm-test-out: Regenerated.
37245 2014-05-14  Andreas Schwab  <schwab@suse.de>
37247         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37248         Remove code conditionalized on USE___THREAD.
37250         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37251         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37252         not definedness.
37254 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37257         Define unconditionally.
37258         (__ASSUME_O_CLOEXEC): Likewise.
37259         (__ASSUME_SOCK_CLOEXEC): Likewise.
37260         (__ASSUME_IN_NONBLOCK): Likewise.
37261         (__ASSUME_PIPE2): Likewise.
37262         (__ASSUME_EVENTFD2): Likewise.
37263         (__ASSUME_SIGNALFD4): Likewise.
37264         (__ASSUME_DUP3): Likewise.
37265         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37266         (__ASSUME_DUP3): Do not define.
37267         (__ASSUME_EVENTFD2): Likewise.
37268         (__ASSUME_IN_NONBLOCK): Likewise.
37269         (__ASSUME_O_CLOEXEC): Likewise.
37270         (__ASSUME_PIPE2): Likewise.
37271         (__ASSUME_SIGNALFD4): Likewise.
37272         (__ASSUME_SOCK_CLOEXEC): Likewise.
37273         (__ASSUME_UTIMES): Undefine.
37274         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37275         (__ASSUME_UTIMES): Do not define.
37276         (__ASSUME_O_CLOEXEC): Likewise.
37277         (__ASSUME_SOCK_CLOEXEC): Likewise.
37278         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37279         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37280         0x020621].
37281         (__ASSUME_PIPE2): Likewise.
37282         (__ASSUME_EVENTFD2): Likewise.
37283         (__ASSUME_SIGNALFD4): Likewise.
37284         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37285         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37286         Do not define.
37287         (__ASSUME_EVENTFD2): Likewise.
37288         (__ASSUME_SIGNALFD4): Likewise.
37289         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37290         (__ASSUME_32BITUIDS): Likewise.
37291         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37292         (__ASSUME_IPC64): Likewise.
37293         (__ASSUME_ST_INO_64_BIT): Likewise.
37294         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37295         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37296         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37297         (__ASSUME_UTIMES): Do not define.
37298         (__ASSUME_PSELECT): Likewise.
37299         (__ASSUME_PPOLL): Likewise.
37300         (__ASSUME_O_CLOEXEC): Likewise.
37301         (__ASSUME_SOCK_CLOEXEC): Likewise.
37302         (__ASSUME_IN_NONBLOCK): Likewise.
37303         (__ASSUME_PIPE2): Likewise.
37304         (__ASSUME_EVENTFD2): Likewise.
37305         (__ASSUME_SIGNALFD4): Likewise.
37306         (__ASSUME_DUP3): Likewise.
37307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37308         (__ASSUME_UTIMES): Likewise.
37309         (__ASSUME_O_CLOEXEC): Likewise.
37310         (__ASSUME_SOCK_CLOEXEC): Likewise.
37311         (__ASSUME_IN_NONBLOCK): Likewise.
37312         (__ASSUME_PIPE2): Likewise.
37313         (__ASSUME_EVENTFD2): Likewise.
37314         (__ASSUME_SIGNALFD4): Likewise.
37315         (__ASSUME_DUP3): Likewise.
37316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37317         (__ASSUME_UTIMES): Likewise.
37318         (__ASSUME_O_CLOEXEC): Likewise.
37319         (__ASSUME_SOCK_CLOEXEC): Likewise.
37320         (__ASSUME_IN_NONBLOCK): Likewise.
37321         (__ASSUME_PIPE2): Likewise.
37322         (__ASSUME_EVENTFD2): Likewise.
37323         (__ASSUME_SIGNALFD4): Likewise.
37324         (__ASSUME_DUP3): Likewise.
37325         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37326         Likewise.
37327         (__ASSUME_UTIMES): Likewise.
37328         (__ASSUME_EVENTFD2): Likewise.
37329         (__ASSUME_SIGNALFD4): Likewise.
37330         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37331         (__ASSUME_O_CLOEXEC): Likewise.
37332         (__ASSUME_SOCK_CLOEXEC): Likewise.
37333         (__ASSUME_IN_NONBLOCK): Likewise.
37334         (__ASSUME_PIPE2): Likewise.
37335         (__ASSUME_EVENTFD2): Likewise.
37336         (__ASSUME_SIGNALFD4): Likewise.
37337         (__ASSUME_DUP3): Likewise.
37338         (__ASSUME_UTIMES): Undefine.
37340         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37341         feclearexcept.  Remove symbol versioning code.
37342         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37343         symbol versioning code.
37344         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37345         symbol versioning code.
37346         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37347         feupdateenv.  Remove symbol versioning code.
37348         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37349         fegetexceptflag.  Remove symbol versioning code.
37350         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37351         fesetexceptflag.  Remove symbol versioning code.
37352         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37353         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37354         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37355         (__posix_fadvise64_l32): Remove prototype.
37356         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37357         code.
37359 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37361         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37362         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37363         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37364         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37366 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37368         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37369         current working directory
37371 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37373         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37374         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37375         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37376         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37377         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37378         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37379         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37380         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37381         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37382         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37383         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37384         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37385         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37386         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37387         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37388         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37389         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37390         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37392         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37393         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37394         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37395         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37396         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37397         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37398         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37399         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37400         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37401         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37402         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37404         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37405         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37406         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37407         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37408         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37409         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37410         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37411         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37412         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37413         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37414         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37416         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37417         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37419         * sysdeps/unix/sysv/linux/arm/Makefile
37420         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37421         Add rt-aeabi_unwind_cpp_pr1.
37422         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37423         Add nptl-aeabi_unwind_cpp_pr1.
37424         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37425         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37426         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37427         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37428         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37429         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37431         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37432         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37433         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37434         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37436         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37437         Deconditionalize the code that was previously under [RESET_PID].
37438         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37440         * sysdeps/generic/exit-thread.h: New file.
37441         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37442         * include/unistd.h (__exit_thread): Remove declaration.
37443         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37444         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37445         * csu/libc-start.c: Include <exit-thread.h>.
37446         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37447         * nptl/pthread_create.c: Include <exit-thread.h>.
37448         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37449         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37450         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37451         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37452         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37453         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37454         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37455         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37456         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37457         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37458         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37459         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37460         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37461         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37462         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37463         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37464         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37466 2014-05-13  Andreas Schwab  <schwab@suse.de>
37468         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37470 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37472         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37473         (__ASSUME_UTIMES): Do not condition on kernel version.
37474         (__ASSUME_PSELECT): Define unconditionally.
37475         (__ASSUME_PPOLL): Likewise.
37476         (__ASSUME_ATFCTS): Likewise.
37477         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37478         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37479         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37480         (__ASSUME_UTIMENSAT): Define unconditionally.
37481         (__ASSUME_PRIVATE_FUTEX): Likewise.
37482         (__ASSUME_FALLOCATE): Likewise.
37483         (__ASSUME_O_CLOEXEC): Likewise.
37484         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37485         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37486         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37487         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37488         (__ASSUME_IN_NONBLOCK): Likewise.
37489         (__ASSUME_PIPE2): Likewise.
37490         (__ASSUME_EVENTFD2): Likewise.
37491         (__ASSUME_SIGNALFD4): Likewise.
37492         (__ASSUME_DUP3): Likewise.
37493         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37494         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37495         (__ASSUME_AT_RANDOM): Likewise.
37496         (__ASSUME_PREADV): Likewise.
37497         (__ASSUME_PWRITEV): Likewise.
37498         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37499         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37500         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37501         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37502         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37503         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37504         (__ASSUME_O_CLOEXEC): Define unconditionally.
37505         (__ASSUME_PSELECT): Do not undefine conditionally.
37506         (__ASSUME_PPOLL): Likewise.
37507         (__ASSUME_ATFCTS): Likewise.
37508         (__ASSUME_SET_ROBUST_LIST): Likewise.
37509         (__ASSUME_UTIMENSAT): Likewise.
37510         (__ASSUME_FDATASYNC): Define unconditionally.
37511         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37512         (__ASSUME_SIGFRAME_V2): Likewise.
37513         )__ASSUME_EVENTFD2): Likewise.
37514         (__ASSUME_SIGNALFD4): Likewise.
37515         (__ASSUME_PSELECT): Do not undefine conditionally.
37516         (__ASSUME_PPOLL): Likewise.
37517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37518         (__ASSUME_PSELECT): Define unconditionally.
37519         (__ASSUME_PPOLL): Likewise.
37520         (__ASSUME_O_CLOEXEC): Likewise.
37521         (__ASSUME_SOCK_CLOEXEC): Likewise.
37522         (__ASSUME_IN_NONBLOCK): Likewise.
37523         (__ASSUME_PIPE2): Likewise.
37524         (__ASSUME_EVENTFD2): Likewise.
37525         (__ASSUME_SIGNALFD4): Likewise.
37526         (__ASSUME_DUP3): Likewise.
37527         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37528         (__ASSUME_O_CLOEXEC): Likewise.
37529         (__ASSUME_SOCK_CLOEXEC): Likewise.
37530         (__ASSUME_IN_NONBLOCK): Likewise.
37531         (__ASSUME_PIPE2): Likewise.
37532         (__ASSUME_EVENTFD2): Likewise.
37533         (__ASSUME_SIGNALFD4): Likewise.
37534         (__ASSUME_DUP3): Likewise.
37535         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37536         (__ASSUME_EVENTFD2): Likewise.
37537         (__ASSUME_SIGNALFD4): Likewise.
37538         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37540 2014-05-12  Andreas Schwab  <schwab@suse.de>
37542         [BZ #16932]
37543         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37544         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37545         than maximum RPC packet size.
37546         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37547         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37548         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37549         (_nss_nis_getservbyport_r): Likewise.
37551 2014-05-12  Will Newton  <will.newton@linaro.org>
37553         * malloc/Makefile (tests): Add tst-mallopt.
37554         * malloc/tst-mallopt.c: New file.
37556 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37558         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37559         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37561 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37563         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37564         (tst-tlsmod6.so): Likewise.
37566 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37568         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37570 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37572         [BZ #16064]
37573         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37574         and <dl-procinfo.h>.
37575         (__fegetenv): Save SSE state in envp->__eip if supported.
37576         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37577         envp->__eip if supported.
37578         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37579         and <dl-procinfo.h>.
37580         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37581         __data_offset and __data_selector in environment to 0.  Set SSE
37582         state if supported.
37583         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37584         test-fenv-sse.
37585         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37586         -mfpmath=sse.
37587         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37589 2014-05-09  Will Newton  <will.newton@linaro.org>
37591         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37592         and libc_relro_required for ARM.
37593         * sysdeps/arm/preconfigure: Regenerate.
37595 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37596             Stefan Liebler  <stli@linux.vnet.ibm.com>
37598         * config.make.in (enable-lock-elision): New Makefile variable.
37599         * configure.ac: Likewise.
37600         * configure: Regenerate.
37601         * sysdeps/s390/configure.ac:
37602         Add check for gcc transactions support.
37603         * sysdeps/s390/configure: Regenerate.
37604         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37605         Build elision files if enabled.
37606         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37607         Add lock elision support for s390.
37608         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37609         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37610         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37611         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37612         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37613         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37615         Likewise.
37616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37617         Likewise.
37618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37619         Likewise.
37620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37621         Likewise.
37622         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37623         (__lll_timedlock_elision, __lll_lock_elision)
37624         (__lll_unlock_elision, __lll_trylock_elision)
37625         (lll_timedlock_elision, lll_lock_elision)
37626         (lll_unlock_elision, lll_trylock_elision): Add.
37627         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37628         (pthread_mutex_t): Add lock elision support for s390.
37630 2014-05-14  Wilco  <wdijkstr@arm.com>
37632         * sysdeps/arm/fclrexcpt.c: Cleanup.
37633         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37634         * sysdeps/arm/feenablxcpt.c: Cleanup.
37635         * sysdeps/arm/fegetenv.c: Cleanup.
37636         * sysdeps/arm/fegetexcept.c: Cleanup.
37637         * sysdeps/arm/fegetround.c: Cleanup.
37638         * sysdeps/arm/feholdexcpt.c: Cleanup.
37639         * sysdeps/arm/fesetenv.c: Cleanup.
37640         * sysdeps/arm/fesetround.c: Cleanup.
37641         * sysdeps/arm/feupdateenv.c: Cleanup.
37642         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37643         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37644         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37645         * sysdeps/arm/ftestexcept.c: Cleanup.
37646         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37647         * sysdeps/arm/setfpucw.c: Cleanup.
37649 2014-05-09  Will Newton  <will.newton@linaro.org>
37651         * sysdeps/arm/armv7/strcmp.S: New file.
37652         * NEWS: Mention addition of ARMv7 optimized strcmp.
37654 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37656         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37657         look for %.ac rather than %.in.
37659         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37660         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37661         * sysdeps/mach/hurd/configure: Regenerated.
37662         * sysdeps/unix/sysv/linux/configure: Regenerated.
37664         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37666 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37668         [BZ# 16922]
37669         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37670         (LONG_SUB): Ditto.
37671         (PTR_SUB): Ditto.
37673 2014-05-07  Andreas Schwab  <schwab@suse.de>
37675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37676         when skipping over non-matching result from nscd.
37678 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37680         [BZ #16876]
37681         * nptl/sockperf.c (client): Check socket return value.
37683         [BZ #16877]
37684         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37685         nscd security class.
37687 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37689         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37690         * sysdeps/arm/unwind.h: ... here.
37692 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37694         [BZ# 16916]
37695         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37696         Define.
37698 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37700         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37701         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37702         multiarch strncpy for PPC64.
37703         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37704         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37706         multiarch optimizations.
37707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37708         (__libc_ifunc_impl_list): Likewise.
37709         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37710         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37711         multiarch stpncpy for PPC64.
37712         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37713         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37715 2014-05-06  Andreas Schwab  <schwab@suse.de>
37717         [BZ #16912]
37718         * gmon/mcount.c (_MCOUNT_DECL): Use
37719         atomic_compare_and_exchange_bool_acq instead of
37720         catomic_compare_and_exchange_bool_acq.
37722 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37724         * elf/Makefile (others, install-bin): Remove pldd.
37725         (pldd-modules): Variable removed.
37726         ($(objpfx)pldd): Target removed.
37727         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37728         (others, install-bin): Append pldd here.
37729         ($(objpfx)pldd): New target.
37731         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37732         to 0, so the first #if test emitted later doesn't see it undefined.
37733         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37734         * sysdeps/gnu/errlist.c: Regenerated.
37736 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37738         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37739         [libc_hidden_builtin_def]: Define to empty value.
37740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37741         [libc_hidden_builtin_def]: Likewise.
37742         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37743         [libc_hidden_builtin_def]: Likewise.
37744         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37745         [libc_hidden_builtin_def]: Likewise.
37746         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37747         __redirect_memcpy and define ifunc as default hidden symbol.
37748         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37749         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37751 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37753         * locale/iso-4217.def: Reintroduce XDR currency.
37755 2014-05-04  Allan McRae  <allan@archlinux.org>
37757         * po/eo.po: Update Esperanto translation from translation project.
37759 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37761         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37762         and FEATURE_INDEX_MAX to 1.
37763         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37765 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37767         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37768         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37769         * iconvdata/big5.c (ONE_DIRECTION): Define.
37770         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37771         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37772         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37773         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37774         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37775         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37776         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37777         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37778         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37779         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37780         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37781         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37782         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37783         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37784         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37785         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37786         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37787         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37788         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37789         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37790         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37791         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37792         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37793         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37794         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37795         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37796         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37797         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37798         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37799         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37800         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37801         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37802         * iconvdata/johab.c (ONE_DIRECTION): Define.
37803         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37804         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37805         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37806         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37807         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37808         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37809         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37810         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37811         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37812         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37814 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37816         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37817         (_IO_JUMPS_OFFSET): Define to 0.
37819         * nptl/sysdeps/pthread/bits/libc-lock.h
37820         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37821         (__libc_lock_define_initialized_recursive): Always define using
37822         initializer.  Modern compilers treat uninitialized (implicit zero) and
37823         explicit zero initializers the same (i.e. put the datum in bss).
37825 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37827         * nscd/nscd-client.h: Include <string.h>.
37829 2014-05-01  David S. Miller  <davem@davemloft.net>
37831         [BZ #16885]
37832         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37833         multiple zero bytes exist at the end of a string.
37834         Reported by Aurelien Jarno <aurelien@aurel32.net>
37836         * string/test-strcmp.c (check): Add explicit test for situations where
37837         there are multiple zero bytes after the first.
37839 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37841         [BZ #16890]
37842         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37843         when compiling wprintf.
37844         * stdio-common/tstdiomisc.c (t3): New function.
37845         (main): Call it.
37847 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37849         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37850         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37851         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37852         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37854 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37856         * stdlib/longlong.h: Updated from GCC.
37858 2014-05-01  Will Newton  <will.newton@linaro.org>
37859             Bernard Ogden  <bernie.ogden@linaro.org>
37861         * NEWS: Update fixed bug list.
37863         [BZ #15119]
37864         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37866 2014-04-30  David S. Miller  <davem@davemloft.net>
37868         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37869         (libc_feholdexcept_setround_sparc_ctx): New function.
37870         (libc_fesetenv_sparc_ctx): Likewise.
37871         (libc_feupdateenv_sparc_ctx): Likewise.
37872         (libc_feholdsetround_sparc_ctx): Likewise.
37873         (libc_feholdexcept_setround_ctx): Define.
37874         (libc_feholdexcept_setroundf_ctx): Likewise.
37875         (libc_feholdexcept_setroundl_ctx): Likewise.
37876         (libc_fesetenv_ctx): Likewise.
37877         (libc_fesetenvf_ctx): Likewise.
37878         (libc_fesetenvl_ctx): Likewise.
37879         (libc_feupdateenv_ctx): Likewise.
37880         (libc_feupdateenvf_ctx): Likewise.
37881         (libc_feupdateenvl_ctx): Likewise.
37882         (libc_feresetround_ctx): Likewise.
37883         (libc_feresetroundf_ctx): Likewise.
37884         (libc_feresetroundl_ctx): Likewise.
37885         (libc_feholdsetround_ctx): Likewise.
37886         (libc_feholdsetroundf_ctx): Likewise.
37887         (libc_feholdsetroundl_ctx): Likewise.
37889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37890         with __USE_GNU instead of XOPEN cpp guards.
37892         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37893         0.
37895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37896         with XOPEN cpp guards.
37898 2014-04-30  Julian Brown  <julian@codesourcery.com>
37900         [BZ #16888]
37901         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37902         handling.
37904 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37906         [BZ #9894]
37907         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37908         Change to 2.6.32.
37909         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37910         * sysdeps/unix/sysv/linux/configure: Regenerated.
37911         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37912         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37913         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37914         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37915         * README: Update reference to required Linux kernel version.
37916         * manual/install.texi (Linux): Update reference to required Linux
37917         kernel headers version.
37918         * INSTALL: Regenerated.
37920         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37921         header inclusion.
37922         [POSIX] (limits.h): Likewise.
37923         [POSIX] (math.h): Likewise.
37924         [POSIX] (sys/wait.h): Likewise.
37925         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37926         function.
37927         [POSIX] (stddef.h): Do not allow header inclusion.
37929 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37931         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37933 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37935         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37936         Return immediately after lll_futex_wake.
37938 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37940         [BZ #16791]
37941         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37942         structure.
37943         (datahead_init_pos): Call datahead_init_common early.
37944         (datahead_init_neg): Likewise.
37946         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37947         datahead_init_neg): New functions.
37948         * nscd/aicache.c (addhstaiX): Use them.
37949         * nscd/grpcache.c (cache_addgr): Likewise.
37950         * nscd/hstcache.c (cache_addhst): Likewise.
37951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37952         * nscd/netgroupcache.c (do_notfound): Likewise.
37953         (addgetnetgrentX): Likewise.
37954         (addinnetgrX): Likewise.
37955         * nscd/pwdcache.c (cache_addpw): Likewise.
37956         * nscd/servicescache.c (cache_addserv): Likewise.
37958 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37959             Atsushi Onoe  <atsushi@onoe.org>
37961         [BZ #14308]
37962         [BZ #12994]
37963         [BZ #13651]
37964         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37965         one response is valid.
37966         * resolv/res_send.c (send_dg): Check for validity of other
37967         response if the current response is a referral.
37969 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37971         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37973 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37975         [BZ #16823]
37976         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37977         Always divide by positive zero when computing -Inf result.
37978         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37979         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37981 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37983         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37984         FPSCR if value do not change.
37985         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37986         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37987         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37988         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37989         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37990         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37991         function.
37993 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37995         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37996         * sysdeps/unix/sysv/linux/hppa: Move directory from
37997         ports/systeps/unix/sysv/linux/hppa.
37998         * README: Update listing for hppa-*-linux-gnu.
38000 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38002         [BZ #16754]
38003         * manual/stdio.texi (Hook functions): Fix types of stream hook
38004         functions.
38005         [BZ #16854]
38006         * socket/sys/socket.h: Fix typo in comment.
38008 2014-04-28  Wilco  <wdijkstr@arm.com>
38010         * sysdeps/arm/fenv_private.h: New file.
38011         * sysdeps/arm/math_private.h: New file.
38012         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38014 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38016         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38017         with __int128_t.
38018         (La_x86_64_retval): Likewise.
38020 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38022         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38023         fpsr if value didn't change.
38024         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38025         to fpcr if value didn't change.
38026         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38027         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38028         fpsr or fpcr if value didn't change.
38029         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38030         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38031         fpcr if value didn't change.
38032         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38033         to fpsr if value didn't change.
38035 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38037         * nptl/tst-sem3.c: Use test-skeleton.c
38038         (main): Rename to do_test.  Use return instead of
38039         exit.
38040         * nptl/tst-sem4.c: Use test-skeleton.c
38041         (main): Rename to do_test.
38043 2014-04-22  David S. Miller  <davem@davemloft.net>
38045         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38046         (struct sigaction): New struct member __glibc_reserved0, change
38047         type of sa_flags to int.
38049 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38051         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38052         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38054 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38056         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38057         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38059 2014-04-22  Will Newton  <will.newton@linaro.org>
38060             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38062         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38063         (__longjmp): Add longjmp and longjmp_target SystemTap
38064         probes.
38065         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38066         (__sigsetjmp): Add setjmp SystemTap probe.
38068 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38070         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38071         match manual order.
38073 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38075         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38077         * sysdeps/powerpc/fpu/fenv_private.h
38078         (libc_feholdexcept_setroundl_ctx): Define to
38079         libc_feholdexcept_setround_ppc_ctx.
38080         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38081         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38082         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38083         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38085 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38087         * sysdeps/aarch64/math-tests.h: New file.
38089 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38091         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38092         New.
38093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38094         Check and set bit_AVX2_Usable.
38095         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38096         macro.
38097         (bit_AVX2): Likewise.
38098         (index_AVX2_Usable): Likewise.
38099         (CPUID_AVX2): Likewise.
38100         (HAS_AVX2): Likewise.
38102 2014-04-17  Will Newton  <will.newton@linaro.org>
38104         * manual/setjmp.texi (System V contexts): Add note that
38105         calling setcontext on a context created by a call to a
38106         signal handler is undefined.  Update text to note that
38107         setcontext from a signal handler is possible but not
38108         recommended.
38110         [BZ #16629]
38111         * stdlib/tst-setcontext.c: Include signal.h.
38112         (main): Check that the signal stack before and
38113         after swapcontext is the same.
38115         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38116         Re-implement to restore registers in user code and avoid
38117         rt_sigreturn system call.
38119 2014-04-17  Wilco  <wdijkstr@arm.com>
38121         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38122         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38123         * math/test-fenv.c: Skip exception trap tests on targets which only
38124         support non-stop mode.
38126 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38127             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38129         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38130         (libc_feholdsetround_aarch64_ctx)
38131         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38132         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38133         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38134         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38135         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38136         (libc_feresetround_noexl_ctx): Define.
38138 2014-04-16  Richard Henderson  <rth@redhat.com>
38140         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38142         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38143         unwind tables.
38145         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38146         const from the non-libc, non-ldso copy.
38148         * sysdeps/alpha/libm-test-ulps: Regenerate.
38150 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38151             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38153         * sysdeps/aarch64/fpu/math_private.h: New file.
38155 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38157         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38159 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38161         [BZ #16275]
38162         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38163         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38165         Intel MPX bound registers before _dl_profile_fixup.
38166         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38167         registers after _dl_profile_fixup.  Save and restore bound
38168         registers bnd0/bnd1 when calling _dl_call_pltexit.
38169         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38170         (LR_BND_OFFSET): Likewise.
38171         (LRV_BND0_OFFSET): Likewise.
38172         (LRV_BND1_OFFSET): Likewise.
38174 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38176         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38177         to...
38178         * sysdeps/mach/hurd/i386/tls.h: ... here.
38179         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38180         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38181         fields.
38183 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38185         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38187 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38189         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38191 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38193         [BZ #14770]
38194         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38195         * sysdeps/s390/configure: Regenerate.
38197         [BZ #16824]
38198         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38199         Set round-to-nearest internally to reduce error accumulation.
38201 2014-04-16  Alan Modra  <amodra@gmail.com>
38203         [BZ #16740]
38204         [BZ #16619]
38205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38206         * math/libm-test.inc (frexp_test_data): Add tests.
38207         * NEWS: Update fixed bug list.
38209 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38211         * benchtests/Makefile: Depend on libraries in build directory.
38212         (bench-math): Separate out math tests.
38213         (bench-pthread): Separate out pthread tests.
38214         (bench): Include math and pthread tests.
38216 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38218         [BZ #16831]
38219         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38220         _dl_debug_initialize.
38222         * configure.ac: Remove SELinux header check.
38223         * configure: Regenerate.
38224         * nscd/selinux.c (perms): Array of const char* to permission names.
38225         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38226         default policy. Call string_to_security_class and string_to_av_perm to
38227         translate strings. Enforce default policy and call avs_has_perm with
38228         results of translated strings.
38230 2014-04-13  David S. Miller  <davem@davemloft.net>
38232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38234 2014-04-12  Allan McRae  <allan@archlinux.org>
38236         [BZ #16838]
38237         * manual/string.texi (Collation Functions): Fix qsort argument
38238         order in example.
38239         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38241 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38243         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38244         Make the test a no-op if there are no exceptions defined.
38246 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38248         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38249         enable-hardcoded-path-in-tests
38251 2014-04-11  Will Newton  <will.newton@linaro.org>
38253         * benchtests/Makefile (extra-objs): Add json-lib.o.
38254         (bench-func): Tidy up JSON output.
38255         * benchtests/bench-skeleton.c: Include json-lib.h.
38256         (main): Use JSON library functions to do output of
38257         benchmark results.
38258         * benchtests/bench-timing-type.c (main): Output the
38259         timing type simply, leaving formatting to the user.
38260         * benchtests/json-lib.c: New file.
38261         * benchtests/json-lib.h: Likewise.
38263 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38265         [BZ #15215]
38266         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38267         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38268         memory barriers.  Add comments.
38269         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38270         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38271         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38272         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38273         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38274         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38276 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38278         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38279         * sysdeps/s390/s390-64/configure.ac: ... this ...
38280         * sysdeps/s390/configure.ac: ... to here.
38281         * sysdeps/s390/s390-32/configure: Delete file.
38282         * sysdeps/s390/s390-64/configure: Delete file.
38283         * sysdeps/s390/configure: Regenerate.
38285 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38287         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38289 2014-04-11  Will Newton  <will.newton@linaro.org>
38291         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38292         to zero if it is not defined elsewhere.  (mtrim): Test
38293         the value of MALLOC_DEBUG with #if rather than #ifdef.
38295 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38297         * benchtests/pthread_once-inputs: New file.
38298         * benchtests/pthread_once-source.c: New file.
38299         * benchtests/README: Update documentation.
38301 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38302             H.J. Lu  <hongjiu.lu@intel.com>
38304         [BZ #16275]
38305         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38306         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38307         * sysdeps/x86_64/configure: Regenerated.
38308         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38309         macro.
38310         (REGISTER_SAVE_RAX): Likewise.
38311         (REGISTER_SAVE_RCX): Likewise.
38312         (REGISTER_SAVE_RDX): Likewise.
38313         (REGISTER_SAVE_RSI): Likewise.
38314         (REGISTER_SAVE_RDI): Likewise.
38315         (REGISTER_SAVE_R8): Likewise.
38316         (REGISTER_SAVE_R9): Likewise.
38317         (REGISTER_SAVE_BND0): Likewise.
38318         (REGISTER_SAVE_BND1): Likewise.
38319         (REGISTER_SAVE_BND2): Likewise.
38320         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38321         bound registers when calling _dl_fixup.
38323 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38325         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38326         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38327         of its definition.
38328         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38329         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38330         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38331         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38332         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38333         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38334         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38336 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38338         [BZ #15514]
38339         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38340         pathconf(_PC_NAME_MAX).
38342 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38344         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38345         Remove macro usage.
38346         (__PTHREAD_SPINS): Move definition to ...
38347         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38348         (__PTHREAD_SPINS): ... here.
38349         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38350         (__PTHREAD_SPIN): Likewise.
38351         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38352         (__PTHREAD_SPIN): Likewise.
38353         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38354         (__PTHREAD_SPIN): Likewise.
38355         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38356         (__PTHREAD_SPIN): Likewise.
38357         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38358         (__PTHREAD_SPIN): Likewise.
38359         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38360         (__PTHREAD_SPIN): Likewise.
38361         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38362         (__PTHREAD_SPIN): Likewise.
38363         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38364         (__PTHREAD_SPIN): Likewise.
38365         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38366         (__PTHREAD_SPIN): Likewise.
38367         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38368         (__PTHREAD_SPIN): Likewise.
38369         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38370         (__PTHREAD_SPIN): Likewise.
38371         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38372         (__PTHREAD_SPIN): Likewise.
38374         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38375         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38376         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38377         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38378         imply folder.
38379         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38380         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38381         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38382         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38383         correct imply path.
38384         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38385         strlen symbol for non multi-arch builds.
38386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38387         missing hidden_def and weak_alias.
38389 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38391         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38393 2014-04-07  Will Newton  <will.newton@linaro.org>
38395         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38396         and contents.  [!_LIBC] Remove #ifndef and contents.
38397         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38398         * string/memccpy.c (__memccpy): Use ANSI prototype.
38399         * string/memfrob.c (memfrob): Likewise.
38400         * string/strcoll.c (STRCOLL): Likewise.
38401         * string/strlen.c (strlen): Likewise.
38402         * string/strtok.c (STRTOK): Likewise.
38403         * string/strcat.c: Remove unused #include of memcopy.h.
38404         (strcat): Use ANSI prototype.
38405         * string/strchr.c: Remove unused #include of memcopy.h.
38406         (strchr): Use ANSI prototype.
38407         * string/strcmp.c: Remove unused #include of memcopy.h.
38408         (strcmp): Use ANSI prototype.
38409         * string/strcpy.c: Remove unused #include of memcopy.h.
38410         (strcpy): Use ANSI prototype.
38412 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38414         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38415         * config.make.in (config-extra-cppflags): Set it from
38416         libc_extra_cppflags.
38417         * configure.ac (libc_extra_cflags): Make it accumulate over
38418         configure fragments.
38419         (libc_extra_cppflags): New flag.
38420         * configure. Regenerate.
38421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38422         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38423         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38426         [BZ #16815]
38427         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38428         result for FE_DOWNWARD rounding mode.
38429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38430         Likewise.
38431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38433 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38435         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38436         in function argument name.
38438 2014-04-03  David Svoboda  <svoboda@cert.org>
38440         [BZ #5666]
38441         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38442         explicitly.
38444 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38446         * elf/dl-unmap-segments.h: New file.
38447         * sysdeps/generic/ldsodefs.h
38448         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38449         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38450         * elf/dl-fptr.c: Likewise.
38451         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38452         * sysdeps/aarch64/tlsdesc.c: Likewise.
38453         * sysdeps/arm/tlsdesc.c: Likewise.
38454         * sysdeps/i386/tlsdesc.c: Likewise.
38455         * sysdeps/tile/dl-runtime.c: Likewise.
38456         * sysdeps/x86_64/tlsdesc.c: Likewise.
38457         * elf/dl-load.h: New file.
38458         * elf/dl-load.c: Include it.
38459         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38460         Macros moved to dl-load.h.
38461         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38462         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38463         Use _dl_unmap_segments in place of __munmap.
38464         Break out segment-mapping loop into ...
38465         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38467 2014-04-03  Will Newton  <will.newton@linaro.org>
38469         * elf/dl-lookup.c (do_lookup_x): Remove comment
38470         referring to nested function and move variable
38471         declarations down to before first use.
38473 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38475         [BZ #16799]
38476         [BZ #16800]
38477         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38478         with 0 numerator.
38479         * math/s_catanf.c (__catanf): Likewise.
38480         * math/s_catanh.c (__catanh): Likewise.
38481         * math/s_catanhf.c (__catanhf): Likewise.
38482         * math/s_catanhl.c (__catanhl): Likewise.
38483         * math/s_catanl.c (__catanl): Likewise.
38484         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38485         by positive zero when computing -Inf result.
38486         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38487         (catanh_test): Likewise.
38488         * sysdeps/i386/fpu/libm-test-ulps: Update.
38489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38491         [BZ #16789]
38492         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38493         instead of using underflowing value in computing result.
38494         * math/s_clog10.c (__clog10): Likewise.
38495         * math/s_clog10f.c (__clog10f): Likewise.
38496         * math/s_clog10l.c (__clog10l): Likewise.
38497         * math/s_clogf.c (__clogf): Likewise.
38498         * math/s_clogl.c (__clogl): Likewise.
38499         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38500         (clog10_test): Likewise.
38501         * sysdeps/i386/fpu/libm-test-ulps: Update.
38502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38504 2014-04-02  Alan Modra  <amodra@gmail.com>
38506         [BZ #16739]
38507         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38508         output when value is near a power of two.  Use int64_t for lx and
38509         remove casts.  Use decimal rather than hex exponent constants.
38510         Don't use long double multiplication when double will suffice.
38511         * math/libm-test.inc (nextafter_test_data): Add tests.
38512         * NEWS: Add 16739 and 16786 to bug list.
38514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38516         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38518 2014-04-01  Will Newton  <will.newton@linaro.org>
38520         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38521         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38523 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38525         [BZ #13347]
38526         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38527         * nptl/tst-setuid2.c: New file.
38528         * nptl/Makefile (xtests): Add tst-setuid2.
38530 2014-04-01  Alan Modra  <amodra@gmail.com>
38532         [BZ #16786]
38533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38535 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38537         [BZ #6803]
38538         [BZ #6804]
38539         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38540         set errno as appropriate.
38541         * math/w_scalbf.c (__scalbf): Likewise.
38542         * math/w_scalbl.c (__scalbl): Likewise.
38543         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38544         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38545         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38546         Add more NaN tests.
38548         [BZ #16349]
38549         * math/w_atan2.c: Include <errno.h>.
38550         (__atan2): Set errno for result underflowing to zero.
38551         * math/w_atan2f.c: Include <errno.h>.
38552         (__atan2f): Set errno for result underflowing to zero.
38553         * math/w_atan2l.c: Include <errno.h>.
38554         (__atan2l): Set errno for result underflowing to zero.
38555         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38556         tests.
38557         * math/auto-libm-test-out: Regenerated.
38559 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38561         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38562         Encode instruction correctly in little endian.
38563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38564         Likewise.
38565         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38566         Likewise.
38567         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38568         Likewise.
38569         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38570         Likewise.
38572 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38574         [BZ #9894]
38575         * sysdeps/unix/sysv/linux/kernel-features.h
38576         [__sparc__ && !__arch64__ && !__sparc_v9__]
38577         (__ASSUME_SET_ROBUST_LIST): Do not define.
38578         [__sparc__ && !__arch64__ && !__sparc_v9__]
38579         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38580         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38581         Likewise.
38582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38583         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38584         (__ASSUME_REQUEUE_PI): Likewise.
38585         (__ASSUME_SET_ROBUST_LIST): Likewise.
38586         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38587         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38588         Undefine.
38589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38590         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38591         Likewise.
38592         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38593         Likewise.
38594         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38595         Likewise.
38596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38597         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38598         Undefine.
38599         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38600         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38601         Likewise.
38603         [BZ #16648]
38604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38606         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38608 2014-03-31  Will Newton  <will.newton@linaro.org>
38610         * benchtests/Makefile (bench): Add ffs and ffsll to list
38611         of tests.
38612         * benchtests/ffs-inputs: New file.
38613         * benchtests/ffsll-inputs: Likewise.
38615 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38617         [BZ #16770]
38618         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38619         too large before casting to int.
38620         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38621         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38622         * math/libm-test.inc (scalb_test_data): Add more tests.
38624 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38626         * benchtests/Makefile (DETAILED_OPT): New make option.
38627         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38628         set.
38629         * benchtests/bench-skeleton.c: Include stdbool.h.
38630         (main): Store and print timings per input.
38631         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38632         member to each argument value.
38633         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38634         (_print_arg_data): Initialize per-input timing to 0.
38636         * benchtests/Makefile (timing-type): New binary.
38637         (bench-clean): Also remove bench-timing-type.
38638         (bench): New target for timing-type.
38639         (bench-func): Print output in JSON format.
38640         * benchtests/bench-skeleton.c (main): Print output in JSON
38641         format.
38642         * benchtests/bench-timing-type.c: New file.
38643         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38644         (TIMING_PRINT_STATS): Remove.
38645         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38646         name separately.
38648         * benchtests/bench-modf.c: Remove.
38649         * benchtests/modf-inputs: New inputs file.
38651 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38653         [BZ #16362]
38654         * math/s_clog10.c (M_PI_LOG10E): New macro.
38655         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38656         imaginary parts are 0.
38657         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38658         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38659         imaginary parts are 0.
38660         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38661         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38662         imaginary parts are 0.
38663         * math/libm-test.inc (clog10_test_data): Update expected results
38664         for when real and imaginary parts are 0.
38666 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38668         * elf/dl-load.c: Finish conversion of __builtin_expect into
38669         __glibc_{un}likely.
38671 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38673         [BZ #16348]
38674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38675         1+x for argument with exponent below -67.
38676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38677         Likewise.
38678         * math/auto-libm-test-in: Add more tests of exp.
38679         * math/auto-libm-test-out: Regenerated.
38681 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38683         [BZ #16759]
38684         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38685         (nscd_getnetgrent): Use it.
38687         [BZ #16760]
38688         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38689         of stpcpy.
38691 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38694         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38695         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38696         (lll_robust_unlock): Remove out of line section. Use cfi
38697         intrinsics.
38698         (LLL_STUB_UNWIND_INFO*): Remove.
38699         * nptl/sysdeps/unix/sysv/linux/i386/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.
38706 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38708         [BZ #16758]
38709         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38710         blank values.
38712 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38714         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38716 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38718         [BZ #16198]
38719         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38720         fnstenv.
38721         * math/test-fenv-preserve.c: New file.
38722         * math/Makefile (tests): Add test-fenv-preserve.
38724 2014-03-26  Will Newton <will.newton@linaro.org>
38726         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38728 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38730         * scripts/versionlist.awk: Partition the version sets and emit all
38731         GLIBC_* (sorted) before all others (sorted).
38733 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38735         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38736         GLIBC_2.2.5 version.
38738 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38740         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38741         calls.
38743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38744         previous change.
38746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38748 2014-03-25  Andreas Schwab  <schwab@suse.de>
38750         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38751         label to be used after in6ailist is initialized.
38753 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38756         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38758 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38760         [BZ #16357]
38761         [BZ #16599]
38762         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38763         min_plus_half.
38764         (fp_formats): Update initializers.
38765         (init_fp_formats): Initialize new field.
38766         (output_for_one_input_case): Allow underflow for results up to
38767         min_plus_half.
38768         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38769         * math/auto-libm-test-in: Don't mark some underflows from asin and
38770         atanh as spurious.
38771         * math/auto-libm-test-out: Regenerated.
38772         * sysdeps/i386/fpu/libm-test-ulps: Update.
38773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38775 2014-03-25  Andreas Schwab  <schwab@suse.de>
38777         * libio/Makefile (tst-ftell-partial-wide-ENV)
38778         (tst-ftell-active-handler-ENV): Define.
38780 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38782         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38784 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38786         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38788 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38790         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38791         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38792         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38794 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38796         [BZ #16634]
38797         * elf/dl-load.c (open_verify): Add mode parameter.
38798         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38799         (open_path): Change from boolean 'secure' to complete flag 'mode'
38800         (_dl_map_object): Adjust.
38801         * elf/Makefile (tests): Add tst-dlopen-aout.
38802         * elf/tst-dlopen-aout.c: New test.
38804 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38806         [BZ #16714]
38807         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38808         (struct stat): Rename member pad0 to __glibc_reserved0.
38810         [BZ #16712]
38811         * sysdeps/s390/s390-32/bits/wordsize.h
38812         (__WORDSIZE32_SIZE_ULONG): New define.
38813         * sysdeps/s390/s390-64/bits/wordsize.h
38814         (__WORDSIZE32_SIZE_ULONG): Likewise.
38815         * sysdeps/generic/stdint.h (SIZE_MAX):
38816         Define as UL if __WORDSIZE32_SIZE_ULONG.
38818         [BZ #16713]
38819         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38820         (__glibc_reserved0): New variable.
38821         (sa_flags): Change type to int.
38823         * posix/Makefile (before-compile): Use += before-compile instead
38824         of a :=.
38826         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38827         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38829 2014-03-20  Andreas Schwab  <schwab@suse.de>
38831         [BZ #16743]
38832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38833         non-matching result from nscd.
38835 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38837         * scripts/bench.py: Moved to ...
38838         * benchtests/scripts/bench.py: ... here.
38839         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38841 2014-03-24  Andreas Schwab  <schwab@suse.de>
38843         [BZ #16002]
38844         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38845         alloca_account and account alloca use for struct in6ailist.
38847 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38849         [BZ #16284]
38850         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38851         rounding mode to recompute results that overflow to infinity or
38852         underflow to zero.
38853         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38854         bug 16284.
38855         * math/auto-libm-test-out: Regenerated.
38856         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38857         (ccosh_test): Likewise.
38858         (csin_test_data): Use plus_oflow.
38859         (csin_test): Use ALL_RM_TEST.
38860         (csinh_test_data): Use plus_oflow.
38861         (csinh_test): Use ALL_RM_TEST.
38862         * sysdeps/i386/fpu/libm-test-ulps: Update.
38863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38865 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38867         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38868         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38869         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38871         [BZ #16731]
38872         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38873         when x - 1 is zero.
38874         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38875         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38876         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38878         argument is 1.
38879         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38880         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38881         zero.
38882         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38883         * sysdeps/i386/fpu/libm-test-ulps: Update.
38884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38888         * scripts/bench.pl: Remove file.
38889         * scripts/bench.py: New benchmark script.
38890         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38891         * benchtests/README: Mention python dependency.
38892         * scripts/pylintrc: New file.
38893         * scripts/pylint: New file.
38895         * bits/mathdef.h: Use #ifdef instead of #if.
38896         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38897         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38898         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38899         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38900         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38901         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38903 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38904             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38906         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38908         and strpbrk-ppc64 objects.
38909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38910         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38911         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38912         multiarch strpbrk for POWER7.
38913         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38914         multiarch strpbrk for PPC64.
38915         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38916         ifunc selector.
38917         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38918         strpbrk for POWER7.
38920 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38922         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38923         (atan_test): Likewise.
38924         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38925         (atanh_test): Use ALL_RM_TEST.
38926         (atan2_test_data): Likewise.
38927         (cabs_test): Likewise.
38928         (cacosh_test): Likewise.
38929         (carg_test): Likewise.
38930         (casin_test): Likewise.
38931         (casinh_test): Likewise.
38932         (cbrt_test): Likewise.
38933         (csqrt_test): Likewise.
38934         (erf_test): Likewise.
38935         (erfc_test): Likewise.
38936         (pow10_test): Likewise.
38937         (exp2_test): Likewise.
38938         (hypot_test): Likewise.
38939         (j0_test): Likewise.
38940         (j1_test): Likewise.
38941         (lgamma_test): Likewise.
38942         (gamma_test): Likewise.
38943         (sincos_test): Likewise.
38944         (tanh_test): Likewise.
38945         (y0_test): Likewise.
38946         (y1_test): Likewise.
38947         * sysdeps/i386/fpu/libm-test-ulps: Update.
38948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38950 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38952         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38954         and strcspn-ppc64 objects.
38955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38956         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38957         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38958         multiarch strcspn for POWER7.
38959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38960         multiarch strcspn for PPC64.
38961         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38962         ifunc selector.
38963         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38964         strcspn for POWER7.
38966 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38968         * math/gen-libm-test.pl (generate_testfile): Expect only function
38969         name as argument to AUTO_TESTS_* and pass results for all rounding
38970         modes to parse_args.
38971         (parse_auto_input): Separate inputs of automatic tests from
38972         outputs before storing in %auto_tests.
38973         * math/libm-test.inc (acos_test_data): Update call to
38974         AUTO_TESTS_f_f.
38975         (acos_test): Use ALL_RM_TEST.
38976         (acos_tonearest_test_data): Remove.
38977         (acos_test_tonearest): Likewise.
38978         (acos_towardzero_test_data): Likewise.
38979         (acos_test_towardzero): Likewise.
38980         (acos_downward_test_data): Likewise.
38981         (acos_test_downward): Likewise.
38982         (acos_upward_test_data): Likewise.
38983         (acos_test_upward): Likewise.
38984         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38985         (asin_test_data): Likewise.
38986         (asin_test): Use ALL_RM_TEST.
38987         (asin_tonearest_test_data): Remove.
38988         (asin_test_tonearest): Likewise.
38989         (asin_towardzero_test_data): Likewise.
38990         (asin_test_towardzero): Likewise.
38991         (asin_downward_test_data): Likewise.
38992         (asin_test_downward): Likewise.
38993         (asin_upward_test_data): Likewise.
38994         (asin_test_upward): Likewise.
38995         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38996         (atan_test_data): Likewise.
38997         (atanh_test_data): Likewise.
38998         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38999         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39000         (carg_test_data): Likewise.
39001         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39002         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39003         (ccosh_test_data): Likewise.
39004         (cexp_test_data): Likewise.
39005         (clog_test_data): Likewise.
39006         (clog10_test_data): Likewise.
39007         (cos_test_data): Update call to AUTO_TESTS_f_f.
39008         (cos_test): Use ALL_RM_TEST.
39009         (cos_tonearest_test_data): Remove.
39010         (cos_test_tonearest): Likewise.
39011         (cos_towardzero_test_data): Likewise.
39012         (cos_test_towardzero): Likewise.
39013         (cos_downward_test_data): Likewise.
39014         (cos_test_downward): Likewise.
39015         (cos_upward_test_data): Likewise.
39016         (cos_test_upward): Likewise.
39017         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39018         (cosh_test): Use ALL_RM_TEST.
39019         (cosh_tonearest_test_data): Remove.
39020         (cosh_test_tonearest): Likewise.
39021         (cosh_towardzero_test_data): Likewise.
39022         (cosh_test_towardzero): Likewise.
39023         (cosh_downward_test_data): Likewise.
39024         (cosh_test_downward): Likewise.
39025         (cosh_upward_test_data): Likewise.
39026         (cosh_test_upward): Likewise.
39027         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39028         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39029         (ctan_test_data): Likewise.
39030         (ctan_test): Use ALL_RM_TEST.
39031         (ctan_tonearest_test_data): Remove.
39032         (ctan_test_tonearest): Likewise.
39033         (ctan_towardzero_test_data): Likewise.
39034         (ctan_test_towardzero): Likewise.
39035         (ctan_downward_test_data): Likewise.
39036         (ctan_test_downward): Likewise.
39037         (ctan_upward_test_data): Likewise.
39038         (ctan_test_upward): Likewise.
39039         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39040         (ctanh_test): Use ALL_RM_TEST.
39041         (ctanh_tonearest_test_data): Remove.
39042         (ctanh_test_tonearest): Likewise.
39043         (ctanh_towardzero_test_data): Likewise.
39044         (ctanh_test_towardzero): Likewise.
39045         (ctanh_downward_test_data): Likewise.
39046         (ctanh_test_downward): Likewise.
39047         (ctanh_upward_test_data): Likewise.
39048         (ctanh_test_upward): Likewise.
39049         (erf_test_data): Update call to AUTO_TESTS_f_f.
39050         (erfc_test_data): Likewise.
39051         (exp_test_data): Likewise.
39052         (exp_test): Use ALL_RM_TEST.
39053         (exp_tonearest_test_data): Remove.
39054         (exp_test_tonearest): Likewise.
39055         (exp_towardzero_test_data): Likewise.
39056         (exp_test_towardzero): Likewise.
39057         (exp_downward_test_data): Likewise.
39058         (exp_test_downward): Likewise.
39059         (exp_upward_test_data): Likewise.
39060         (exp_test_upward): Likewise.
39061         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39062         (exp10_test): Use ALL_RM_TEST.
39063         (exp10_tonearest_test_data): Remove.
39064         (exp10_test_tonearest): Likewise.
39065         (exp10_towardzero_test_data): Likewise.
39066         (exp10_test_towardzero): Likewise.
39067         (exp10_downward_test_data): Likewise.
39068         (exp10_test_downward): Likewise.
39069         (exp10_upward_test_data): Likewise.
39070         (exp10_test_upward): Likewise.
39071         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39072         (expm1_test_data): Likewise.
39073         (expm1_test): Use ALL_RM_TEST.
39074         (expm1_tonearest_test_data): Remove.
39075         (expm1_test_tonearest): Likewise.
39076         (expm1_towardzero_test_data): Likewise.
39077         (expm1_test_towardzero): Likewise.
39078         (expm1_downward_test_data): Likewise.
39079         (expm1_test_downward): Likewise.
39080         (expm1_upward_test_data): Likewise.
39081         (expm1_test_upward): Likewise.
39082         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39083         (fma_test): Use ALL_RM_TEST.
39084         (fma_towardzero_test_data): Remove.
39085         (fma_test_towardzero): Likewise.
39086         (fma_downward_test_data): Likewise.
39087         (fma_test_downward): Likewise.
39088         (fma_upward_test_data): Likewise.
39089         (fma_test_upward): Likewise.
39090         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39091         (j0_test_data): Update call to AUTO_TESTS_f_f.
39092         (j1_test_data): Likewise.
39093         (jn_test_data): Update call to AUTO_TESTS_if_f.
39094         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39095         (log_test_data): Update call to AUTO_TESTS_f_f.
39096         (log10_test_data): Likewise.
39097         (log1p_test_data): Likewise.
39098         (log2_test_data): Likewise.
39099         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39100         (pow_tonearest_test_data): Likewise.
39101         (sin_test_data): Update call to AUTO_TESTS_f_f.
39102         (sin_test): Use ALL_RM_TEST.
39103         (sin_tonearest_test_data): Remove.
39104         (sin_test_tonearest): Likewise.
39105         (sin_towardzero_test_data): Likewise.
39106         (sin_test_towardzero): Likewise.
39107         (sin_downward_test_data): Likewise.
39108         (sin_test_downward): Likewise.
39109         (sin_upward_test_data): Likewise.
39110         (sin_test_upward): Likewise.
39111         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39112         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39113         (sinh_test): Use ALL_RM_TEST.
39114         (sinh_tonearest_test_data): Remove.
39115         (sinh_test_tonearest): Likewise.
39116         (sinh_towardzero_test_data): Likewise.
39117         (sinh_test_towardzero): Likewise.
39118         (sinh_downward_test_data): Likewise.
39119         (sinh_test_downward): Likewise.
39120         (sinh_upward_test_data): Likewise.
39121         (sinh_test_upward): Likewise.
39122         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39123         (sqrt_test): Use ALL_RM_TEST.
39124         (sqrt_tonearest_test_data): Remove.
39125         (sqrt_test_tonearest): Likewise.
39126         (sqrt_towardzero_test_data): Likewise.
39127         (sqrt_test_towardzero): Likewise.
39128         (sqrt_downward_test_data): Likewise.
39129         (sqrt_test_downward): Likewise.
39130         (sqrt_upward_test_data): Likewise.
39131         (sqrt_test_upward): Likewise.
39132         (tan_test_data): Update call to AUTO_TESTS_f_f.
39133         (tan_test): Use ALL_RM_TEST.
39134         (tan_tonearest_test_data): Remove.
39135         (tan_test_tonearest): Likewise.
39136         (tan_towardzero_test_data): Likewise.
39137         (tan_test_towardzero): Likewise.
39138         (tan_downward_test_data): Likewise.
39139         (tan_test_downward): Likewise.
39140         (tan_upward_test_data): Likewise.
39141         (tan_test_upward): Likewise.
39142         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39143         (tgamma_test_data): Likewise.
39144         (y0_test_data): Likewise.
39145         (y1_test_data): Likewise.
39146         (yn_test_data): Update call to AUTO_TESTS_if_f.
39147         (main): Do not call removed functions.
39149 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39151         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39152         (ldexp_test_data): Remove.
39153         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39154         scalbn_test_data.
39155         (scalb_test): Use ALL_RM_TEST.
39157 2014-03-19  Andreas Schwab  <schwab@suse.de>
39159         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39161 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39163         [BZ #16649]
39164         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39166         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39168         (__ASSUME_PREADV): Undefine.
39169         (__ASSUME_PWRITEV): Likewise.
39171 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39173         * bits/mman-linux.h: Add comment about non-Linux use.
39174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39175         bits/mman-linux.h resting place.
39177         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39178         * bits/mman-linux.h: ... here.
39180 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39182         * conform/conformtest.pl: Add standard definition when calling C
39183         preprocessor on data files.
39184         (checknamespace): Remove unused variable.
39186 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39188         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39189         minus_oflow, plus_uflow and minus_uflow in expected results.
39190         * math/libm-test.inc (scalbn_test_data): Add more tests of
39191         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39192         minus_uflow.
39193         (scalbn_test): Use ALL_RM_TEST.
39194         (scalbln_test_data): Add more tests of negative arguments.  Use
39195         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39196         (scalbln_test): Use ALL_RM_TEST.
39198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39200         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39202 2014-03-18  Will Newton  <will.newton@linaro.org>
39204         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39205         inaccurate comment.
39207 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39209         * Makerules [!subdir] (check-abi): Exit with error status if a
39210         test failed.
39212 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39214         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39215         for rint.  Include results for all rounding modes.
39216         (nearbyint_test): Use ALL_RM_TEST.
39217         (rint_test_data): Include all tests used for nearbyint.
39219 2014-03-17  Will Newton  <will.newton@linaro.org>
39221         * nptl/sysdeps/pthread/pthread.h: Revert previous
39222         change.
39224         * sysdeps/generic/ldsodefs.h: Revert previous
39225         change.
39227         * libio/genops.c: Revert previous change.
39228         * libio/libioP.h: Likewise.
39229         * stdio-common/vfprintf.c: Likewise.
39231         * sysdeps/generic/math_private.h: Revert previous
39232         change.
39234         * sysdeps/generic/math_private.h: Check whether
39235         HAVE_RM_CTX is defined with #ifdef rather
39236         than #if.
39238         * argp/argp-fmtstream.h: Check whether
39239         __STRICT_ANSI__ is defined with #ifdef rather
39240         than #if.
39241         * argp/argp.h: Likewise.
39243         * libio/genops.c: Check whether
39244         _IO_JUMPS_OFFSET is defined with #ifdef rather
39245         than #if.
39246         * libio/libioP.h: Likewise.
39247         * stdio-common/vfprintf.c: Likewise.
39249         * sysdeps/generic/ldsodefs.h: Check whether
39250         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39251         than #if.
39253         * nptl/sysdeps/pthread/pthread.h: Check
39254         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39255         its value.
39257 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39259         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39260         setting O_APPEND.
39261         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39262         test case.
39264         [BZ #16680]
39265         * libio/fileops.c (_IO_file_open): Seek to end of file but
39266         don't cache the offset.
39267         (get_file_offset): Remove function.
39268         (do_ftell): Use cached offset when available.
39269         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39270         don't cache the offset.
39271         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39272         case.
39273         (do_one_test): Call it.
39274         (do_ftell_test): Fix up expected old offset for a+ mode.
39275         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39276         available.
39278         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39279         up test status with function return status.
39280         (do_write_test): Likewise.
39281         (do_append_test): Likewise.
39283         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39284         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39285         Remove.
39287 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39289         * math/gen-libm-test.pl (parse_args): Handle results specified for
39290         each rounding mode separately.
39291         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39292         tests and results from lrint_tonearest_test_data,
39293         lrint_towardzero_test_data, lrint_downward_test_data and
39294         lrint_upward_test_data.
39295         (lrint_test): Use ALL_RM_TEST.
39296         (lrint_tonearest_test_data): Remove.
39297         (lrint_test_tonearest): Likewise.
39298         (lrint_towardzero_test_data): Likewise.
39299         (lrint_test_towardzero): Likewise.
39300         (lrint_downward_test_data): Likewise.
39301         (lrint_test_downward): Likewise.
39302         (lrint_upward_test_data): Likewise.
39303         (lrint_test_upward): Likewise.
39304         (llrint_test_data): Merge in per-rounding-mode tests and results
39305         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39306         llrint_downward_test_data and llrint_upward_test_data.
39307         (llrint_test): Use ALL_RM_TEST.
39308         (llrint_tonearest_test_data): Remove.
39309         (llrint_test_tonearest): Likewise.
39310         (llrint_towardzero_test_data): Likewise.
39311         (llrint_test_towardzero): Likewise.
39312         (llrint_downward_test_data): Likewise.
39313         (llrint_test_downward): Likewise.
39314         (llrint_upward_test_data): Likewise.
39315         (llrint_test_upward): Likewise.
39316         (rint_test_data): Merge in per-rounding-mode tests and results
39317         from rint_tonearest_test_data, rint_towardzero_test_data,
39318         rint_downward_test_data and rint_upward_test_data.  Add
39319         per-rounding-mode results for tests not in those arrays.
39320         (rint_test): Use ALL_RM_TEST.
39321         (rint_tonearest_test_data): Remove.
39322         (rint_test_tonearest): Likewise.
39323         (rint_towardzero_test_data): Likewise.
39324         (rint_test_towardzero): Likewise.
39325         (rint_downward_test_data): Likewise.
39326         (rint_test_downward): Likewise.
39327         (rint_upward_test_data): Likewise.
39328         (rint_test_upward): Likewise.
39329         (main): Don't call removed functions.
39331 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39333         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39334         "Compiled on ..." crapola.  It is anti-useful.
39336 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39338         * scripts/evaluate-test.sh: Handle fourth argument to determine
39339         whether test run should stop on failure.
39340         * Makeconfig (stop-on-test-failure): New variable.
39341         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39342         $(stop-on-test-failure).
39343         * Makefile (tests): Give a summary of results from testing and
39344         exit with failure status if they include an ERROR or FAIL.
39345         (xtests): Likewise.
39346         * manual/install.texi (Configuring and compiling): Mention
39347         stop-on-test-failure=y.
39348         * INSTALL: Regenerated.
39350 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39352         * scripts/versionlist.awk: New file.
39353         * Makerules [$(build-shared) = yes]
39354         (postclean-generated): Add Versions.def, not Versions.def.v and
39355         Versions.def.v.i.
39356         ($(common-objpfx)Versions.def.v.i): Target removed.
39357         ($(common-objpfx)Versions.def): New target.
39358         ($(common-objpfx)Versions.all): Depend on that rather that
39359         $(common-objpfx)Versions.def.v.
39360         * Versions.def: File removed.
39362         * Makeconfig (+gccwarn): Add -Wundef.
39363         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39364         a dl-sysdep.h breaking its contract.
39365         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39366         * include/stackinfo.h: New file.
39367         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39368         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39369         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39370         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39371         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39372         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39373         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39374         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39375         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39376         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39377         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39378         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39379         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39380         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39381         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39383 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39385         [BZ #16707]
39386         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39387         implementation.
39388         * math/libm-test.inc (round_test_data): Add more tests.
39390         [BZ #16706]
39391         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39392         implementation.
39393         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39395         [BZ #16701]
39396         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39397         implementation.
39398         * math/libm-test.inc (ceil_test_data): Add more tests.
39400         * math/libm-test.inc (trunc_test_data): Add more tests related to
39401         BZ#16414.
39403 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39405         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39406         with #if rather than #ifdef.
39407         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39409 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39411         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39412         first.  Disable AVX-512 GCC support if assembler doesn't support
39413         it.
39414         * sysdeps/x86_64/configure: Regenerated.
39416 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39418         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39419         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39420         (__old_pthread_attr_setstack): Likewise.
39421         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39422         [!_STACK_GROWS_DOWN]: Likewise.
39424 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39426         * config.make.in (have-bash2): Delete.
39427         * configure.ac (libc_cv_have_bash2): Delete.
39428         * configure: Regenerate.
39429         * elf/Makefile (common-ldd-rewrite): Rename to ...
39430         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39431         (sh-ldd-rewrite): Delete.
39432         (bash-ldd-rewrite): Delete.
39433         (have-bash2): Delete checks.
39434         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39435         ldd-rewrite.
39437         * config.make.in (have-ksh): Delete.
39438         (KSH): Delete.
39439         * configure.ac (libc_cv_have_ksh): Delete.
39440         * configure: Regenerate.
39442         * elf/Makefile: Delete $(have-ksh) check.
39443         ($(objpfx)sotruss): Change KSH to BASH.
39444         * elf/sotruss.ksh: Rename to ...
39445         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39446         function style to match POSIX.  Drop ksh vim mode setting.
39448         * manual/time.texi (Specifying the Time Zone with TZ): Change
39449         Tuesday to Thursday.
39451         * debug/tst-longjmp_chk2.c: Update header comment.
39452         (stackoverflow_handler): Add comment.  Call assert on pass value.
39454 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39456         [BZ #16194]
39457         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39458         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39459         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39460         (La_x86_64_vector): Add zmm.
39461         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39462         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39463         ($(objpfx)tst-audit10): New target.
39464         ($(objpfx)tst-audit10.out): Likewise.
39465         (tst-audit10-ENV): New.
39466         (AVX512-CFLAGS): Likewise.
39467         (CFLAGS-tst-audit10.c): Likewise.
39468         (CFLAGS-tst-auditmod10a.c): Likewise.
39469         (CFLAGS-tst-auditmod10b.c): Likewise.
39470         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39471         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39472         * sysdeps/x86_64/configure: Regenerated.
39473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39474         AVX-512 zmm register support.
39475         (_dl_x86_64_save_sse): Likewise.
39476         (_dl_x86_64_restore_sse): Likewise.
39477         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39478         size vector registers.
39479         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39480         (ZMM_SIZE): Likewise.
39481         * sysdeps/x86_64/tst-audit10.c: New file.
39482         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39483         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39485 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39487         * configure.ac (HAVE_EHDR_START): New check.
39488         * configure: Regenerated.
39489         * config.h.in (HAVE_EHDR_START): New #undef.
39490         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39491         assuming the lowest-addressed segment maps the start of the file.
39493 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39495         * INSTALL: Regenerated.
39497 2014-03-13  Will Newton  <will.newton@linaro.org>
39499         * manual/setjmp.texi (System V contexts): Improve
39500         clarity and grammar of documentation.
39502 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39504         [BZ #16381]
39505         * elf/Makefile (tests): Add tst-pie2.
39506         (tests-pie): Add tst-pie2.
39507         * elf/tst-pie2.c: New file.
39508         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39509         for ET_EXEC.
39510         * elf/rtld.c (map_doit): Load executable as lt_executable.
39511         (dl_main): Likewise.
39513 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39515         [BZ #16642]
39516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39517         (__ASSUME_PSELECT): Undefine.
39519 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39521         [BZ #16689]
39522         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39523         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39524         static build.
39525         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39526         selector for static builds.
39528 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39530         [BZ #16695]
39531         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39532         key in the buffer.
39534 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39536         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39537         IFUNC selector for static builds.
39539 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39541         * sysdeps/mips/math_private.h [__mips_hard_float]
39542         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39543         libc_feresetround_mips_ctx.
39544         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39545         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39546         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39548         [BZ #16677]
39549         * math/s_nextafter.c (__nextafter): Do not return value from
39550         overflowing computation.
39551         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39552         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39554         Likewise.
39555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39556         Likewise.
39557         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39558         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39560 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39562         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39563         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39564         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39565         the new mov targetting sp.
39567 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39569         [BZ #16683]
39570         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39571         Define it for static builds as well.
39572         (NO_BZERO_IMPL): Likewise.
39574 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39576         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39577         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39578         multiarch strspn for PPC64.
39579         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39580         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39582         (__libc_ifunc_impl_list): Likewise.
39583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39584         multiarch optimizations
39585         * string/strspn.c (strspn): Using macro to redefine symbol name.
39587 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39588             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39590         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39591         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39592         multiarch strncat for PPC64.
39593         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39594         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39596         (__libc_ifunc_impl_list): Likewise.
39597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39598         multiarch optimizations
39600 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39602         [BZ #16639]
39603         * nscd/nscd.service: Make service type forking.
39605 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39607         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39608         sign in non default rounding modes.
39609         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39611 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39613         * math/libm-test.inc (ALL_RM_TEST): New macro.
39614         (ceil_test): Use ALL_RM_TEST.
39615         (cimag_test): Likewise.
39616         (conj_test): Likewise.
39617         (copysign_test): Likewise.
39618         (cproj_test): Likewise.
39619         (creal_test): Likewise.
39620         (fabs_test): Likewise.
39621         (floor_test): Likewise.
39622         (fmax_test): Likewise.
39623         (fmin_test): Likewise.
39624         (fmod_test): Likewise.
39625         (fpclassify_test): Likewise.
39626         (frexp_test): Likewise.
39627         (ilogb_test): Likewise.
39628         (isfinite_test): Likewise.
39629         (finite_test): Likewise.
39630         (isgreater_test): Likewise.
39631         (isgreaterequal_test): Likewise.
39632         (isinf_test): Likewise.
39633         (isless_test): Likewise.
39634         (islessequal_test): Likewise.
39635         (islessgreater_test): Likewise.
39636         (isnan_test): Likewise.
39637         (isnormal_test): Likewise.
39638         (issignaling_test): Likewise.
39639         (isunordered_test): Likewise.
39640         (logb_test): Likewise.
39641         (logb_downward_test_data): Remove.
39642         (logb_test_downward): Likewise.
39643         (lround_test): Use ALL_RM_TEST.
39644         (llround_test): Likewise.
39645         (modf_test): Likewise.
39646         (nexttoward_test): Likewise.
39647         (remainder_test): Likewise.
39648         (drem_test): Likewise.
39649         (remainder_tonearest_test_data): Likewise.
39650         (remainder_test_tonearest): Likewise.
39651         (drem_test_tonearest): Likewise.
39652         (remainder_towardzero_test_data): Likewise.
39653         (remainder_test_towardzero): Likewise.
39654         (drem_test_towardzero): Likewise.
39655         (remainder_downward_test_data): Likewise.
39656         (remainder_test_downward): Likewise.
39657         (drem_test_downward): Likewise.
39658         (remainder_upward_test_data): Likewise.
39659         (remainder_test_upward): Likewise.
39660         (drem_test_upward): Likewise.
39661         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39662         (round_test): Use ALL_RM_TEST.
39663         (signbit_test): Likewise.
39664         (trunc_test): Likewise.
39665         (significand_test): Likewise.
39666         (main): Don't call removed functions.
39668 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39670         [BZ #16674]
39671         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39672         || __USE_XOPEN2K8].
39673         (ILL_ILLOPN): Likewise.
39674         (ILL_ILLADR): Likewise.
39675         (ILL_ILLTRP): Likewise.
39676         (ILL_PRVOPC): Likewise.
39677         (ILL_PRVREG): Likewise.
39678         (ILL_COPROC): Likewise.
39679         (ILL_BADSTK): Likewise.
39680         (FPE_INTDIV): Likewise.
39681         (FPE_INTOVF): Likewise.
39682         (FPE_FLTDIV): Likewise.
39683         (FPE_FLTOVF): Likewise.
39684         (FPE_FLTUND): Likewise.
39685         (FPE_FLTRES): Likewise.
39686         (FPE_FLTINV): Likewise.
39687         (FPE_FLTSUB): Likewise.
39688         (SEGV_MAPERR): Likewise.
39689         (SEGV_ACCERR): Likewise.
39690         (BUS_ADRALN): Likewise.
39691         (BUS_ADRERR): Likewise.
39692         (BUS_OBJERR): Likewise.
39693         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39694         (TRAP_TRACE): Likewise.
39695         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39696         __USE_XOPEN2K8].
39697         (CLD_KILLED): Likewise.
39698         (CLD_DUMPED): Likewise.
39699         (CLD_TRAPPED): Likewise.
39700         (CLD_STOPPED): Likewise.
39701         (CLD_CONTINUED): Likewise.
39702         (POLL_IN): Likewise.
39703         (POLL_OUT): Likewise.
39704         (POLL_MSG): Likewise.
39705         (POLL_ERR): Likewise.
39706         (POLL_PRI): Likewise.
39707         (POLL_HUP): Likewise.
39708         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39709         Likewise.
39710         (ILL_ILLOPN): Likewise.
39711         (ILL_ILLADR): Likewise.
39712         (ILL_ILLTRP): Likewise.
39713         (ILL_PRVOPC): Likewise.
39714         (ILL_PRVREG): Likewise.
39715         (ILL_COPROC): Likewise.
39716         (ILL_BADSTK): Likewise.
39717         (FPE_INTDIV): Likewise.
39718         (FPE_INTOVF): Likewise.
39719         (FPE_FLTDIV): Likewise.
39720         (FPE_FLTOVF): Likewise.
39721         (FPE_FLTUND): Likewise.
39722         (FPE_FLTRES): Likewise.
39723         (FPE_FLTINV): Likewise.
39724         (FPE_FLTSUB): Likewise.
39725         (SEGV_MAPERR): Likewise.
39726         (SEGV_ACCERR): Likewise.
39727         (BUS_ADRALN): Likewise.
39728         (BUS_ADRERR): Likewise.
39729         (BUS_OBJERR): Likewise.
39730         (BUS_MCEERR_AR): Likewise.
39731         (BUS_MCEERR_AO): Likewise.
39732         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39733         (TRAP_TRACE): Likewise.
39734         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39735         __USE_XOPEN2K8].
39736         (CLD_KILLED): Likewise.
39737         (CLD_DUMPED): Likewise.
39738         (CLD_TRAPPED): Likewise.
39739         (CLD_STOPPED): Likewise.
39740         (CLD_CONTINUED): Likewise.
39741         (POLL_IN): Likewise.
39742         (POLL_OUT): Likewise.
39743         (POLL_MSG): Likewise.
39744         (POLL_ERR): Likewise.
39745         (POLL_PRI): Likewise.
39746         (POLL_HUP): Likewise.
39747         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39748         (ILL_ILLOPN): Likewise.
39749         (ILL_ILLADR): Likewise.
39750         (ILL_ILLTRP): Likewise.
39751         (ILL_PRVOPC): Likewise.
39752         (ILL_PRVREG): Likewise.
39753         (ILL_COPROC): Likewise.
39754         (ILL_BADSTK): Likewise.
39755         (FPE_INTDIV): Likewise.
39756         (FPE_INTOVF): Likewise.
39757         (FPE_FLTDIV): Likewise.
39758         (FPE_FLTOVF): Likewise.
39759         (FPE_FLTUND): Likewise.
39760         (FPE_FLTRES): Likewise.
39761         (FPE_FLTINV): Likewise.
39762         (FPE_FLTSUB): Likewise.
39763         (SEGV_MAPERR): Likewise.
39764         (SEGV_ACCERR): Likewise.
39765         (BUS_ADRALN): Likewise.
39766         (BUS_ADRERR): Likewise.
39767         (BUS_OBJERR): Likewise.
39768         (BUS_MCEERR_AR): Likewise.
39769         (BUS_MCEERR_AO): Likewise.
39770         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39771         (TRAP_TRACE): Likewise.
39772         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39773         __USE_XOPEN2K8].
39774         (CLD_KILLED): Likewise.
39775         (CLD_DUMPED): Likewise.
39776         (CLD_TRAPPED): Likewise.
39777         (CLD_STOPPED): Likewise.
39778         (CLD_CONTINUED): Likewise.
39779         (POLL_IN): Likewise.
39780         (POLL_OUT): Likewise.
39781         (POLL_MSG): Likewise.
39782         (POLL_ERR): Likewise.
39783         (POLL_PRI): Likewise.
39784         (POLL_HUP): Likewise.
39785         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39786         Likewise.
39787         (ILL_ILLOPN): Likewise.
39788         (ILL_ILLADR): Likewise.
39789         (ILL_ILLTRP): Likewise.
39790         (ILL_PRVOPC): Likewise.
39791         (ILL_PRVREG): Likewise.
39792         (ILL_COPROC): Likewise.
39793         (ILL_BADSTK): Likewise.
39794         (ILL_BADIADDR): Likewise.
39795         (ILL_BREAK): Likewise.
39796         (FPE_INTDIV): Likewise.
39797         (FPE_INTOVF): Likewise.
39798         (FPE_FLTDIV): Likewise.
39799         (FPE_FLTOVF): Likewise.
39800         (FPE_FLTUND): Likewise.
39801         (FPE_FLTRES): Likewise.
39802         (FPE_FLTINV): Likewise.
39803         (FPE_FLTSUB): Likewise.
39804         (FPE_DECOVF): Likewise.
39805         (FPE_DECDIV): Likewise.
39806         (FPE_DECERR): Likewise.
39807         (FPE_INVASC): Likewise.
39808         (FPE_INVDEC): Likewise.
39809         (SEGV_MAPERR): Likewise.
39810         (SEGV_ACCERR): Likewise.
39811         (SEGV_PSTKOVF): Likewise.
39812         (BUS_ADRALN): Likewise.
39813         (BUS_ADRERR): Likewise.
39814         (BUS_OBJERR): Likewise.
39815         (BUS_MCEERR_AR): Likewise.
39816         (BUS_MCEERR_AO): Likewise.
39817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39818         (TRAP_TRACE): Likewise.
39819         (TRAP_BRANCH): Likewise.
39820         (TRAP_HWBKPT): Likewise.
39821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39822         __USE_XOPEN2K8].
39823         (CLD_KILLED): Likewise.
39824         (CLD_DUMPED): Likewise.
39825         (CLD_TRAPPED): Likewise.
39826         (CLD_STOPPED): Likewise.
39827         (CLD_CONTINUED): Likewise.
39828         (POLL_IN): Likewise.
39829         (POLL_OUT): Likewise.
39830         (POLL_MSG): Likewise.
39831         (POLL_ERR): Likewise.
39832         (POLL_PRI): Likewise.
39833         (POLL_HUP): Likewise.
39834         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39835         (ILL_ILLOPN): Likewise.
39836         (ILL_ILLADR): Likewise.
39837         (ILL_ILLTRP): Likewise.
39838         (ILL_PRVOPC): Likewise.
39839         (ILL_PRVREG): Likewise.
39840         (ILL_COPROC): Likewise.
39841         (ILL_BADSTK): Likewise.
39842         (FPE_INTDIV): Likewise.
39843         (FPE_INTOVF): Likewise.
39844         (FPE_FLTDIV): Likewise.
39845         (FPE_FLTOVF): Likewise.
39846         (FPE_FLTUND): Likewise.
39847         (FPE_FLTRES): Likewise.
39848         (FPE_FLTINV): Likewise.
39849         (FPE_FLTSUB): Likewise.
39850         (SEGV_MAPERR): Likewise.
39851         (SEGV_ACCERR): Likewise.
39852         (BUS_ADRALN): Likewise.
39853         (BUS_ADRERR): Likewise.
39854         (BUS_OBJERR): Likewise.
39855         (BUS_MCEERR_AR): Likewise.
39856         (BUS_MCEERR_AO): Likewise.
39857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39858         (TRAP_TRACE): Likewise.
39859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39860         __USE_XOPEN2K8].
39861         (CLD_KILLED): Likewise.
39862         (CLD_DUMPED): Likewise.
39863         (CLD_TRAPPED): Likewise.
39864         (CLD_STOPPED): Likewise.
39865         (CLD_CONTINUED): Likewise.
39866         (POLL_IN): Likewise.
39867         (POLL_OUT): Likewise.
39868         (POLL_MSG): Likewise.
39869         (POLL_ERR): Likewise.
39870         (POLL_PRI): Likewise.
39871         (POLL_HUP): Likewise.
39872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39873         (ILL_ILLOPN): Likewise.
39874         (ILL_ILLADR): Likewise.
39875         (ILL_ILLTRP): Likewise.
39876         (ILL_PRVOPC): Likewise.
39877         (ILL_PRVREG): Likewise.
39878         (ILL_COPROC): Likewise.
39879         (ILL_BADSTK): Likewise.
39880         (FPE_INTDIV): Likewise.
39881         (FPE_INTOVF): Likewise.
39882         (FPE_FLTDIV): Likewise.
39883         (FPE_FLTOVF): Likewise.
39884         (FPE_FLTUND): Likewise.
39885         (FPE_FLTRES): Likewise.
39886         (FPE_FLTINV): Likewise.
39887         (FPE_FLTSUB): Likewise.
39888         (SEGV_MAPERR): Likewise.
39889         (SEGV_ACCERR): Likewise.
39890         (BUS_ADRALN): Likewise.
39891         (BUS_ADRERR): Likewise.
39892         (BUS_OBJERR): Likewise.
39893         (BUS_MCEERR_AR): Likewise.
39894         (BUS_MCEERR_AO): Likewise.
39895         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39896         (TRAP_TRACE): Likewise.
39897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39898         __USE_XOPEN2K8].
39899         (CLD_KILLED): Likewise.
39900         (CLD_DUMPED): Likewise.
39901         (CLD_TRAPPED): Likewise.
39902         (CLD_STOPPED): Likewise.
39903         (CLD_CONTINUED): Likewise.
39904         (POLL_IN): Likewise.
39905         (POLL_OUT): Likewise.
39906         (POLL_MSG): Likewise.
39907         (POLL_ERR): Likewise.
39908         (POLL_PRI): Likewise.
39909         (POLL_HUP): Likewise.
39910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39911         (ILL_ILLOPN): Likewise.
39912         (ILL_ILLADR): Likewise.
39913         (ILL_ILLTRP): Likewise.
39914         (ILL_PRVOPC): Likewise.
39915         (ILL_PRVREG): Likewise.
39916         (ILL_COPROC): Likewise.
39917         (ILL_BADSTK): Likewise.
39918         (FPE_INTDIV): Likewise.
39919         (FPE_INTOVF): Likewise.
39920         (FPE_FLTDIV): Likewise.
39921         (FPE_FLTOVF): Likewise.
39922         (FPE_FLTUND): Likewise.
39923         (FPE_FLTRES): Likewise.
39924         (FPE_FLTINV): Likewise.
39925         (FPE_FLTSUB): Likewise.
39926         (SEGV_MAPERR): Likewise.
39927         (SEGV_ACCERR): Likewise.
39928         (BUS_ADRALN): Likewise.
39929         (BUS_ADRERR): Likewise.
39930         (BUS_OBJERR): Likewise.
39931         (BUS_MCEERR_AR): Likewise.
39932         (BUS_MCEERR_AO): Likewise.
39933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39934         (TRAP_TRACE): Likewise.
39935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39936         __USE_XOPEN2K8].
39937         (CLD_KILLED): Likewise.
39938         (CLD_DUMPED): Likewise.
39939         (CLD_TRAPPED): Likewise.
39940         (CLD_STOPPED): Likewise.
39941         (CLD_CONTINUED): Likewise.
39942         (POLL_IN): Likewise.
39943         (POLL_OUT): Likewise.
39944         (POLL_MSG): Likewise.
39945         (POLL_ERR): Likewise.
39946         (POLL_PRI): Likewise.
39947         (POLL_HUP): Likewise.
39948         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39949         (ILL_ILLOPN): Likewise.
39950         (ILL_ILLADR): Likewise.
39951         (ILL_ILLTRP): Likewise.
39952         (ILL_PRVOPC): Likewise.
39953         (ILL_PRVREG): Likewise.
39954         (ILL_COPROC): Likewise.
39955         (ILL_BADSTK): Likewise.
39956         (ILL_DBLFLT): Likewise.
39957         (ILL_HARDWALL): Likewise.
39958         (FPE_INTDIV): Likewise.
39959         (FPE_INTOVF): Likewise.
39960         (FPE_FLTDIV): Likewise.
39961         (FPE_FLTOVF): Likewise.
39962         (FPE_FLTUND): Likewise.
39963         (FPE_FLTRES): Likewise.
39964         (FPE_FLTINV): Likewise.
39965         (FPE_FLTSUB): Likewise.
39966         (SEGV_MAPERR): Likewise.
39967         (SEGV_ACCERR): Likewise.
39968         (BUS_ADRALN): Likewise.
39969         (BUS_ADRERR): Likewise.
39970         (BUS_OBJERR): Likewise.
39971         (BUS_MCEERR_AR): Likewise.
39972         (BUS_MCEERR_AO): Likewise.
39973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39974         (TRAP_TRACE): Likewise.
39975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39976         __USE_XOPEN2K8].
39977         (CLD_KILLED): Likewise.
39978         (CLD_DUMPED): Likewise.
39979         (CLD_TRAPPED): Likewise.
39980         (CLD_STOPPED): Likewise.
39981         (CLD_CONTINUED): Likewise.
39982         (POLL_IN): Likewise.
39983         (POLL_OUT): Likewise.
39984         (POLL_MSG): Likewise.
39985         (POLL_ERR): Likewise.
39986         (POLL_PRI): Likewise.
39987         (POLL_HUP): Likewise.
39988         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39989         (ILL_ILLOPN): Likewise.
39990         (ILL_ILLADR): Likewise.
39991         (ILL_ILLTRP): Likewise.
39992         (ILL_PRVOPC): Likewise.
39993         (ILL_PRVREG): Likewise.
39994         (ILL_COPROC): Likewise.
39995         (ILL_BADSTK): Likewise.
39996         (FPE_INTDIV): Likewise.
39997         (FPE_INTOVF): Likewise.
39998         (FPE_FLTDIV): Likewise.
39999         (FPE_FLTOVF): Likewise.
40000         (FPE_FLTUND): Likewise.
40001         (FPE_FLTRES): Likewise.
40002         (FPE_FLTINV): Likewise.
40003         (FPE_FLTSUB): Likewise.
40004         (SEGV_MAPERR): Likewise.
40005         (SEGV_ACCERR): Likewise.
40006         (BUS_ADRALN): Likewise.
40007         (BUS_ADRERR): Likewise.
40008         (BUS_OBJERR): Likewise.
40009         (BUS_MCEERR_AR): Likewise.
40010         (BUS_MCEERR_AO): Likewise.
40011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40012         (TRAP_TRACE): Likewise.
40013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40014         __USE_XOPEN2K8].
40015         (CLD_KILLED): Likewise.
40016         (CLD_DUMPED): Likewise.
40017         (CLD_TRAPPED): Likewise.
40018         (CLD_STOPPED): Likewise.
40019         (CLD_CONTINUED): Likewise.
40020         (POLL_IN): Likewise.
40021         (POLL_OUT): Likewise.
40022         (POLL_MSG): Likewise.
40023         (POLL_ERR): Likewise.
40024         (POLL_PRI): Likewise.
40025         (POLL_HUP): Likewise.
40026         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40027         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40029         [BZ #16670]
40030         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40031         before #include of <time.h>.
40032         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40033         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40034         (test-xfail-UNIX98/sched.h/conform): Likewise.
40036 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40038         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40039         error absence of trapping exception support.
40040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40042 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40044         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40045         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40046         * timezone/Makefile (testdata): Move definition above include of
40047         Rules.
40048         (test-zones): New variable.
40049         (tests-special): Add zone files.
40050         (build-testdata): Use $(evaluate-test).
40052         * elf/Makefile (tests-special): Rename tests to end with .out.
40053         ($(objpfx)noload-mem): Likewise.
40054         ($(objpfx)tst-leaks1-mem): Likewise.
40055         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40056         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40057         $(objpfx)test-iconvconfig.out.
40058         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40059         set -e inside subshell and redirect output to file.
40060         * iconvdata/Makefile (generated): Rename tests to end with .out.
40061         Correct type.
40062         (tests-special): Rename tests to end with .out.
40063         ($(objpfx)mtrace-tst-loading): Likewise.
40064         * intl/Makefile (generated): Likewise.
40065         (tests-special): Likewise.
40066         ($(objpfx)mtrace-tst-gettext): Likewise.
40067         * misc/Makefile (generated): Likewise.
40068         (tests-special): Likewise.
40069         ($(objpfx)tst-error1-mem): Likewise.
40070         * nptl/Makefile (tests-special): Likewise.
40071         ($(objpfx)tst-stack3-mem): Likewise.
40072         (generated): Likewise.
40073         * posix/Makefile (generated): Likewise.
40074         (tests-special): Likewise.
40075         (xtests-special): Likewise.
40076         ($(objpfx)tst-fnmatch-mem): Likewise.
40077         ($(objpfx)bug-regex2-mem): Likewise.
40078         ($(objpfx)bug-regex14-mem): Likewise.
40079         ($(objpfx)bug-regex21-mem): Likewise.
40080         ($(objpfx)bug-regex31-mem): Likewise.
40081         ($(objpfx)tst-vfork3-mem): Likewise.
40082         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40083         ($(objpfx)tst-pcre-mem): Likewise.
40084         ($(objpfx)tst-boost-mem): Likewise.
40085         ($(objpfx)bug-ga2-mem): Likewise.
40086         ($(objpfx)bug-glob2-mem): Likewise.
40087         * resolv/Makefile (generate): Likewise.
40088         (tests-special): Likewise.
40089         (xtests-special): Likewise.
40090         (generated): Likewise.
40091         ($(objpfx)mtrace-tst-leaks): Likewise.
40092         ($(objpfx)mtrace-tst-leaks2): Likewise.
40094         * scripts/merge-test-results.sh: New file.
40095         * Makefile (tests-special-notdir): New variable.
40096         (tests): Run merge-test-results.sh.
40097         (xtests): Likewise.
40098         * Rules (tests-special-notdir): New variable.
40099         (xtests-special-notdir): Likewise.
40100         (tests): Run merge-test-results.sh
40101         (xtests): Likewise.
40103         * Makeconfig (test-xfail-name): New variable.
40104         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40105         compute variable name for expected failures.
40106         * conform/Makefile (conformtest-headers-data): New variable.
40107         (conformtest-standards): Likewise.
40108         (conformtest-headers-ISO): Likewise.
40109         (conformtest-headers-ISO99): Likewise.
40110         (conformtest-headers-ISO11): Likewise.
40111         (conformtest-headers-POSIX): Likewise.
40112         (conformtest-headers-XPG3): Likewise.
40113         (conformtest-headers-XPG4): Likewise.
40114         (conformtest-headers-UNIX98): Likewise.
40115         (conformtest-headers-XOPEN2K): Likewise.
40116         (conformtest-headers-POSIX2008): Likewise.
40117         (conformtest-headers-XOPEN2K8): Likewise.
40118         (conformtest-header-list-base): Likewise.
40119         (conformtest-header-list-tests): Likewise.
40120         (conformtest-header-base): Likewise.
40121         (conformtest-header-tests): Likewise.
40122         (tests-special): Add $(conformtest-header-list-tests).  If
40123         [$(fast-check) && !$(cross-compiling)], add
40124         $(conformtest-header-tests) instead of
40125         $(objpfx)run-conformtest.out.
40126         (generated): Add $(conformtest-header-list-base).  If
40127         [$(fast-check) && !$(cross-compiling)], add
40128         $(conformtest-header-base).  Remove previous setting.
40129         ($(conformtest-header-list-tests)): New target.
40130         (test-xfail-run-conformtest): Remove variable.
40131         ($(objpfx)run-conformtest.out): Remove target.
40132         (test-xfail-ISO11/complex.h/conform): New variable.
40133         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40134         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40135         (test-xfail-XPG3/varargs.h/conform): Likewise.
40136         (test-xfail-XPG4/varargs.h/conform): Likewise.
40137         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40138         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40139         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40140         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40141         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40142         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40143         (test-xfail-XPG3/ftw.h/conform): Likewise.
40144         (test-xfail-XPG3/grp.h/conform): Likewise.
40145         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40146         (test-xfail-XPG3/limits.h/conform): Likewise.
40147         (test-xfail-XPG3/pwd.h/conform): Likewise.
40148         (test-xfail-XPG3/search.h/conform): Likewise.
40149         (test-xfail-XPG3/signal.h/conform): Likewise.
40150         (test-xfail-XPG3/stdio.h/conform): Likewise.
40151         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40152         (test-xfail-XPG3/string.h/conform): Likewise.
40153         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40154         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40155         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40156         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40157         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40158         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40159         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40160         (test-xfail-XPG3/termios.h/conform): Likewise.
40161         (test-xfail-XPG3/time.h/conform): Likewise.
40162         (test-xfail-XPG3/unistd.h/conform): Likewise.
40163         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40164         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40165         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40166         (test-xfail-XPG4/netdb.h/conform): Likewise.
40167         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40168         (test-xfail-XPG4/signal.h/conform): Likewise.
40169         (test-xfail-XPG4/stdio.h/conform): Likewise.
40170         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40171         (test-xfail-XPG4/stropts.h/conform): Likewise.
40172         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40173         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40174         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40175         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40176         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40177         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40178         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40179         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40180         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40181         (test-xfail-XPG4/termios.h/conform): Likewise.
40182         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40183         (test-xfail-XPG4/unistd.h/conform): Likewise.
40184         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40185         (test-xfail-POSIX/sched.h/conform): Likewise.
40186         (test-xfail-POSIX/signal.h/conform): Likewise.
40187         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40188         (test-xfail-POSIX/tar.h/conform): Likewise.
40189         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40190         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40191         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40192         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40193         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40194         (test-xfail-UNIX98/sched.h/conform): Likewise.
40195         (test-xfail-UNIX98/signal.h/conform): Likewise.
40196         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40197         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40198         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40199         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40200         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40201         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40202         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40203         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40204         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40205         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40206         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40207         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40208         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40209         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40210         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40211         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40212         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40213         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40214         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40215         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40216         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40217         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40218         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40219         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40220         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40221         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40222         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40223         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40224         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40225         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40226         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40227         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40228         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40229         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40230         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40231         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40232         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40233         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40234         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40235         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40236         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40237         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40238         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40239         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40240         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40241         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40242         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40243         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40244         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40245         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40246         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40247         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40248         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40249         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40250         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40251         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40252         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40253         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40254         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40255         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40256         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40257         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40258         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40259         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40260         (conformtest-cc-flags): Likewise.
40261         ($(conformtest-header-tests): New target.
40262         * conform/check-header-lists.sh: New file.
40263         * conform/run-conformtest.sh: Remove.
40265         * conform/conformtest.pl: Allow ' and \ in values given for
40266         constants.
40267         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40268         inclusion.
40269         [POSIX] (sys/types.h): Likewise.
40270         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40271         inclusion.
40272         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40273         inclusion.
40274         * conform/data/signal.h-data (SIGIO): Remove expectation.
40275         [XPG3] (SIGBUS): Do not expect.
40276         [POSIX || XPG3] (SIGPOLL): Likewise.
40277         [POSIX || XPG3] (SIGPROF): Likewise.
40278         [POSIX || XPG3] (SIGSYS): Likewise.
40279         [XPG3] (SIGTRAP): Likewise.
40280         [POSIX || XPG3] (SIGURG): Likewise.
40281         [POSIX || XPG3] (SIGVTALRM): Likewise.
40282         [POSIX || XPG3] (SIGXCPU): Likewise.
40283         [POSIX || XPG3] (SIGXFSZ): Likewise.
40284         [POSIX] (SA_SIGINFO): Expect.
40285         [XPG3] (siginfo_t): Do not expect type or contents.
40286         [POSIX] (si_pid): Do not expect element.
40287         [POSIX] (si_uid): Likewise.
40288         [POSIX] (si_addr): Likewise.
40289         [POSIX] (si_status): Likewise.
40290         [POSIX] (si_band): Likewise.
40291         [XPG4] (si_value): Likewise.
40292         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40293         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40294         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40295         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40296         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40297         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40298         [POSIX || XPG3] (ILL_COPROC): Likewise.
40299         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40300         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40301         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40302         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40303         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40304         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40305         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40306         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40307         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40308         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40309         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40310         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40311         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40312         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40313         [POSIX || XPG3] (CLD_EXITED): Likewise.
40314         [POSIX || XPG3] (CLD_KILLED): Likewise.
40315         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40316         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40317         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40318         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40319         [POSIX || XPG3] (POLL_IN): Likewise.
40320         [POSIX || XPG3] (POLL_OUT): Likewise.
40321         [POSIX || XPG3] (POLL_MSG): Likewise.
40322         [POSIX || XPG3] (POLL_ERR): Likewise.
40323         [POSIX || XPG3] (POLL_PRI): Likewise.
40324         [POSIX || XPG3] (POLL_HUP): Likewise.
40325         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40326         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40327         (SIG*): Do not allow.
40328         [XPG3] (si_*): Likewise.
40329         [XPG3] (SI_*): Likewise.
40330         [XPG3 || XPG4] (sigev_*): Likewise.
40331         [XPG3 || XPG4] (SIGEV_*): Likewise.
40332         [XPG3 || XPG4] (sival_*): Likewise.
40333         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40334         [POSIX || XPG3] (BUS_*): Likewise.
40335         [POSIX || XPG3] (CLD_*): Likewise.
40336         [POSIX || XPG3] (FPE_*): Likewise.
40337         [POSIX || XPG3] (ILL_*): Likewise.
40338         [POSIX || XPG3] (POLL_*): Likewise.
40339         [POSIX || XPG3] (SEGV_*): Likewise.
40340         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40341         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40342         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40343         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40344         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40345         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40346         Specify type and value.
40347         (TVERSLEN): Likewise.
40348         (REGTYPE): Likewise.
40349         (AREGTYPE): Likewise.
40350         (LNKTYPE): Likewise.
40351         (SYMTYPE): Likewise.
40352         (CHRTYPE): Likewise.
40353         (BLKTYPE): Likewise.
40354         (DIRTYPE): Likewise.
40355         (FIFOTYPE): Likewise.
40356         (CONTTYPE): Likewise.
40357         (TSUID): Likewise.
40358         (TSGID): Likewise.
40359         (TSVTX): Likewise.
40360         (TUREAD): Likewise.
40361         (TUWRITE): Likewise.
40362         (TUEXEC): Likewise.
40363         (TGREAD): Likewise.
40364         (TGWRITE): Likewise.
40365         (TGEXEC): Likewise.
40366         (TOREAD): Likewise.
40367         (TOWRITE): Likewise.
40368         (TOEXEC): Likewise.
40369         [POSIX] (TSVTX): Expect constant.
40371 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40373         * Makefile (tests): Change dependencies to ....
40374         (tests-special): ... additions to this variable.
40375         (tests): Depend on $(tests-special).
40376         * Makerules (check-abi-list): New variable.
40377         (check-abi): Depend on $(check-abi-list).
40378         [$(subdir) = elf] (tests-special): Add
40379         $(objpfx)check-abi-libc.out.
40380         [$(build-shared) = yes && subdir] (tests-special): Add
40381         $(check-abi-list).
40382         [$(build-shared) = yes && subdir] (tests): Do not depend on
40383         check-abi.
40384         * Rules (tests): Depend on $(tests-special).
40385         (xtests): Depend on $(xtests-special).
40386         * catgets/Makefile (tests): Change dependencies to ....
40387         (tests-special): ... additions to this variable.
40388         * conform/Makefile (tests): Change dependencies to ....
40389         (tests-special): ... additions to this variable.
40390         * elf/Makefile (tests): Change dependencies to ....
40391         (tests-special): ... additions to this variable.
40392         * grp/Makefile (tests): Change dependencies to ....
40393         (tests-special): ... additions to this variable.
40394         * iconv/Makefile (xtests): Change dependencies to ....
40395         (xtests-special): ... additions to this variable.
40396         * iconvdata/Makefile (tests): Change dependencies to ....
40397         (tests-special): ... additions to this variable.
40398         * intl/Makefile (tests): Change dependencies to ....
40399         (tests-special): ... additions to this variable.  Also add
40400         $(objpfx)tst-gettext.out.
40401         * io/Makefile (tests): Change dependencies to ....
40402         (tests-special): ... additions to this variable.
40403         * libio/Makefile (tests): Change dependencies to ....
40404         (tests-special): ... additions to this variable.
40405         * malloc/Makefile (tests): Change dependencies to ....
40406         (tests-special): ... additions to this variable.
40407         * misc/Makefile (tests): Change dependencies to ....
40408         (tests-special): ... additions to this variable.
40409         * nptl/Makefile (tests): Change dependencies to ....
40410         (tests-special): ... additions to this variable.
40411         * nptl_db/Makefile (tests): Change dependencies to ....
40412         (tests-special): ... additions to this variable.
40413         * posix/Makefile (tests): Change dependencies to ....
40414         (tests-special): ... additions to this variable.
40415         (xtests): Change dependencies to ....
40416         (xtests-special): ... additions to this variable.
40417         * resolv/Makefile (tests): Change dependencies to ....
40418         (tests-special): ... additions to this variable.
40419         (xtests): Change dependencies to ....
40420         (xtests-special): ... additions to this variable.
40421         * stdio-common/Makefile (tests): Change dependencies to ....
40422         (tests-special): ... additions to this variable.
40423         (do-tst-unbputc): Remove target.
40424         (do-tst-printf): Likewise.
40425         * stdlib/Makefile (tests): Change dependencies to ....
40426         (tests-special): ... additions to this variable.
40427         * string/Makefile (tests): Change dependencies to ....
40428         (tests-special): ... additions to this variable.
40429         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40430         (tests-special): ... additions to this variable.
40432         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40433         whole file.
40434         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40435         whole file.
40436         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40437         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40439         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40440         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40441         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40442         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40443         * conform/data/libgen.h-data [XPG3]: Likewise.
40444         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40445         * conform/data/ndbm.h-data [XPG3]: Likewise.
40446         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40447         * conform/data/netdb.h-data [XPG3]: Likewise.
40448         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40449         * conform/data/poll.h-data [XPG3]: Likewise.
40450         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40451         * conform/data/strings.h-data [XPG3]: Likewise.
40452         * conform/data/stropts.h-data [XPG3]: Likewise.
40453         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40454         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40455         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40456         Likewise.
40457         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40458         * conform/data/sys/time.h-data [XPG3]: Likewise.
40459         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40460         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40461         * conform/data/sys/un.h-data [XPG3]: Likewise.
40462         * conform/data/syslog.h-data [XPG3]: Likewise.
40463         * conform/data/ucontext.h-data [XPG3]: Likewise.
40464         * conform/data/utmpx.h-data [XPG3]: Likewise.
40465         * conform/data/varargs.h-data [UNIX98]: Enable file.
40467         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40469         * math/libm-test.inc (struct test_f_f_data): Move expected results
40470         into structure for each rounding mode.
40471         (struct test_ff_f_data): Likewise.
40472         (struct test_ff_f_data_nexttoward): Likewise.
40473         (struct test_fi_f_data): Likewise.
40474         (struct test_fl_f_data): Likewise.
40475         (struct test_if_f_data): Likewise.
40476         (struct test_fff_f_data): Likewise.
40477         (struct test_c_f_data): Likewise.
40478         (struct test_f_f1_data): Likewise.
40479         (struct test_fF_f1_data): Likewise.
40480         (struct test_ffI_f1_data): Likewise.
40481         (struct test_c_c_data): Likewise.
40482         (struct test_cc_c_data): Likewise.
40483         (struct test_f_i_data): Likewise.
40484         (struct test_ff_i_data): Likewise.
40485         (struct test_f_l_data): Likewise.
40486         (struct test_f_L_data): Likewise.
40487         (struct test_fFF_11_data): Likewise.
40488         (RM_): New macro.
40489         (RM_FE_DOWNWARD): Likewise.
40490         (RM_FE_TONEAREST): Likewise.
40491         (RM_FE_TOWARDZERO): Likewise.
40492         (RM_FE_UPWARD): Likewise.
40493         (RUN_TEST_LOOP_f_f): Update references to expected results.
40494         (RUN_TEST_LOOP_2_f): Likewise.
40495         (RUN_TEST_LOOP_fff_f): Likewise.
40496         (RUN_TEST_LOOP_c_f): Likewise.
40497         (RUN_TEST_LOOP_f_f1): Likewise.
40498         (RUN_TEST_LOOP_fF_f1): Likewise.
40499         (RUN_TEST_LOOP_fI_f1): Likewise.
40500         (RUN_TEST_LOOP_ffI_f1): Likewise.
40501         (RUN_TEST_LOOP_c_c): Likewise.
40502         (RUN_TEST_LOOP_cc_c): Likewise.
40503         (RUN_TEST_LOOP_f_i): Likewise.
40504         (RUN_TEST_LOOP_f_i_tg): Likewise.
40505         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40506         (RUN_TEST_LOOP_f_b): Likewise.
40507         (RUN_TEST_LOOP_f_b_tg): Likewise.
40508         (RUN_TEST_LOOP_f_l): Likewise.
40509         (RUN_TEST_LOOP_f_L): Likewise.
40510         (RUN_TEST_LOOP_fFF_11): Likewise.
40511         * math/gen-libm-test.pl (parse_args): Output four copies of
40512         expected results for each test.
40514         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40515         (__ASSUME_UTIMES): Remove.
40516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40517         (__ASSUME_UTIMES): Likewise.
40519         * math/gen-auto-libm-tests.c: Update comment on output format.
40520         (output_for_one_input_case): Generate before-rounding and
40521         after-rounding information as conditions on output flags not
40522         floating-point format.
40523         * math/auto-libm-test-out: Regenerated.
40524         * math/gen-libm-test.pl (cond_value): New function.
40525         (or_cond_value): Use cond_value.
40526         (generate_testfile): Handle conditional exceptions.
40528 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40530         * math/libm-test.inc (max_valid_error): New variable.
40531         (init_max_error): Take new argument specifying whether function
40532         results are exactly determined.  Set max_valid_error and bound
40533         other variables for errors based on this argument.
40534         (set_max_error): Do not record results above max_valid_error.
40535         (check_float_internal): Only accept errors of up to 0.5ulps if
40536         also at most max_valid_error.
40537         (START): Take new argument EXACT and pass it to init_max_error.
40538         (acos_test): Update call to START.
40539         (acos_test_tonearest): Likewise.
40540         (acos_test_towardzero): Likewise.
40541         (acos_test_downward): Likewise.
40542         (acos_test_upward): Likewise.
40543         (acosh_test): Likewise.
40544         (asin_test): Likewise.
40545         (asin_test_tonearest): Likewise.
40546         (asin_test_towardzero): Likewise.
40547         (asin_test_downward): Likewise.
40548         (asin_test_upward): Likewise.
40549         (asinh_test): Likewise.
40550         (atan_test): Likewise.
40551         (atanh_test): Likewise.
40552         (atan2_test): Likewise.
40553         (cabs_test): Likewise.
40554         (cacos_test): Likewise.
40555         (cacosh_test): Likewise.
40556         (carg_test): Likewise.
40557         (casin_test): Likewise.
40558         (casinh_test): Likewise.
40559         (catan_test): Likewise.
40560         (catanh_test): Likewise.
40561         (cbrt_test): Likewise.
40562         (ccos_test): Likewise.
40563         (ccosh_test): Likewise.
40564         (ceil_test): Likewise.
40565         (cexp_test): Likewise.
40566         (cimag_test): Likewise.
40567         (clog_test): Likewise.
40568         (clog10_test): Likewise.
40569         (conj_test): Likewise.
40570         (copysign_test): Likewise.
40571         (cos_test): Likewise.
40572         (cos_test_tonearest): Likewise.
40573         (cos_test_towardzero): Likewise.
40574         (cos_test_downward): Likewise.
40575         (cos_test_upward): Likewise.
40576         (cosh_test): Likewise.
40577         (cosh_test_tonearest): Likewise.
40578         (cosh_test_towardzero): Likewise.
40579         (cosh_test_downward): Likewise.
40580         (cosh_test_upward): Likewise.
40581         (cpow_test): Likewise.
40582         (cproj_test): Likewise.
40583         (creal_test): Likewise.
40584         (csin_test): Likewise.
40585         (csinh_test): Likewise.
40586         (csqrt_test): Likewise.
40587         (ctan_test): Likewise.
40588         (ctan_test_tonearest): Likewise.
40589         (ctan_test_towardzero): Likewise.
40590         (ctan_test_downward): Likewise.
40591         (ctan_test_upward): Likewise.
40592         (ctanh_test): Likewise.
40593         (ctanh_test_tonearest): Likewise.
40594         (ctanh_test_towardzero): Likewise.
40595         (ctanh_test_downward): Likewise.
40596         (ctanh_test_upward): Likewise.
40597         (erf_test): Likewise.
40598         (erfc_test): Likewise.
40599         (exp_test): Likewise.
40600         (exp_test_tonearest): Likewise.
40601         (exp_test_towardzero): Likewise.
40602         (exp_test_downward): Likewise.
40603         (exp_test_upward): Likewise.
40604         (exp10_test): Likewise.
40605         (exp10_test_tonearest): Likewise.
40606         (exp10_test_towardzero): Likewise.
40607         (exp10_test_downward): Likewise.
40608         (exp10_test_upward): Likewise.
40609         (pow10_test): Likewise.
40610         (exp2_test): Likewise.
40611         (expm1_test): Likewise.
40612         (expm1_test_tonearest): Likewise.
40613         (expm1_test_towardzero): Likewise.
40614         (expm1_test_downward): Likewise.
40615         (expm1_test_upward): Likewise.
40616         (fabs_test): Likewise.
40617         (fdim_test): Likewise.
40618         (floor_test): Likewise.
40619         (fma_test): Likewise.
40620         (fma_test_towardzero): Likewise.
40621         (fma_test_downward): Likewise.
40622         (fma_test_upward): Likewise.
40623         (fmax_test): Likewise.
40624         (fmin_test): Likewise.
40625         (fmod_test): Likewise.
40626         (fpclassify_test): Likewise.
40627         (frexp_test): Likewise.
40628         (hypot_test): Likewise.
40629         (ilogb_test): Likewise.
40630         (isfinite_test): Likewise.
40631         (finite_test): Likewise.
40632         (isgreater_test): Likewise.
40633         (isgreaterequal_test): Likewise.
40634         (isinf_test): Likewise.
40635         (isless_test): Likewise.
40636         (islessequal_test): Likewise.
40637         (islessgreater_test): Likewise.
40638         (isnan_test): Likewise.
40639         (isnormal_test): Likewise.
40640         (issignaling_test): Likewise.
40641         (isunordered_test): Likewise.
40642         (j0_test): Likewise.
40643         (j1_test): Likewise.
40644         (jn_test): Likewise.
40645         (ldexp_test): Likewise.
40646         (lgamma_test): Likewise.
40647         (gamma_test): Likewise.
40648         (lrint_test): Likewise.
40649         (lrint_test_tonearest): Likewise.
40650         (lrint_test_towardzero): Likewise.
40651         (lrint_test_downward): Likewise.
40652         (lrint_test_upward): Likewise.
40653         (llrint_test): Likewise.
40654         (llrint_test_tonearest): Likewise.
40655         (llrint_test_towardzero): Likewise.
40656         (llrint_test_downward): Likewise.
40657         (llrint_test_upward): Likewise.
40658         (log_test): Likewise.
40659         (log10_test): Likewise.
40660         (log1p_test): Likewise.
40661         (log2_test): Likewise.
40662         (logb_test): Likewise.
40663         (logb_test_downward): Likewise.
40664         (lround_test): Likewise.
40665         (llround_test): Likewise.
40666         (modf_test): Likewise.
40667         (nearbyint_test): Likewise.
40668         (nextafter_test): Likewise.
40669         (nexttoward_test): Likewise.
40670         (pow_test): Likewise.
40671         (pow_test_tonearest): Likewise.
40672         (pow_test_towardzero): Likewise.
40673         (pow_test_downward): Likewise.
40674         (pow_test_upward): Likewise.
40675         (remainder_test): Likewise.
40676         (drem_test): Likewise.
40677         (remainder_test_tonearest): Likewise.
40678         (drem_test_tonearest): Likewise.
40679         (remainder_test_towardzero): Likewise.
40680         (drem_test_towardzero): Likewise.
40681         (remainder_test_downward): Likewise.
40682         (drem_test_downward): Likewise.
40683         (remainder_test_upward): Likewise.
40684         (drem_test_upward): Likewise.
40685         (remquo_test): Likewise.
40686         (rint_test): Likewise.
40687         (rint_test_tonearest): Likewise.
40688         (rint_test_towardzero): Likewise.
40689         (rint_test_downward): Likewise.
40690         (rint_test_upward): Likewise.
40691         (round_test): Likewise.
40692         (scalb_test): Likewise.
40693         (scalbn_test): Likewise.
40694         (scalbln_test): Likewise.
40695         (signbit_test): Likewise.
40696         (sin_test): Likewise.
40697         (sin_test_tonearest): Likewise.
40698         (sin_test_towardzero): Likewise.
40699         (sin_test_downward): Likewise.
40700         (sin_test_upward): Likewise.
40701         (sincos_test): Likewise.
40702         (sinh_test): Likewise.
40703         (sinh_test_tonearest): Likewise.
40704         (sinh_test_towardzero): Likewise.
40705         (sinh_test_downward): Likewise.
40706         (sinh_test_upward): Likewise.
40707         (sqrt_test): Likewise.
40708         (sqrt_test_tonearest): Likewise.
40709         (sqrt_test_towardzero): Likewise.
40710         (sqrt_test_downward): Likewise.
40711         (sqrt_test_upward): Likewise.
40712         (tan_test): Likewise.
40713         (tan_test_tonearest): Likewise.
40714         (tan_test_towardzero): Likewise.
40715         (tan_test_downward): Likewise.
40716         (tan_test_upward): Likewise.
40717         (tanh_test): Likewise.
40718         (tgamma_test): Likewise.
40719         (trunc_test): Likewise.
40720         (y0_test): Likewise.
40721         (y1_test): Likewise.
40722         (yn_test): Likewise.
40723         (significand_test): Likewise.
40725         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40726         individual tests in comment.
40727         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40728         (prev_max_error): New variable.
40729         (prev_real_max_error): Likewise.
40730         (prev_imag_max_error): Likewise.
40731         (compare_ulp_data): Don't refer to test names in comment.
40732         (find_test_ulps): Remove function.
40733         (find_function_ulps): Likewise.
40734         (find_complex_function_ulps): Likewise.
40735         (init_max_error): Take function name as argument.  Look up ulps
40736         for that function.
40737         (print_ulps): Remove function.
40738         (print_max_error): Use prev_max_error instead of calling
40739         find_function_ulps.
40740         (print_complex_max_error): Use prev_real_max_error and
40741         prev_imag_max_error instead of calling find_complex_function_ulps.
40742         (check_float_internal): Take max_ulp parameter instead of calling
40743         find_test_ulps.  Don't call print_ulps.
40744         (check_float): Update call to check_float_internal.
40745         (check_complex): Update calls to check_float_internal.
40746         (START): Pass argument to init_max_error.
40747         * math/gen-libm-test.pl (%results): Don't include "kind"
40748         information.
40749         (parse_ulps): Don't handle ulps of individual tests.
40750         (print_ulps_file): Likewise.
40751         (output_ulps): Likewise.
40752         * math/README.libm-test: Update.
40753         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40754         individual tests.
40755         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40756         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40757         * sysdeps/arm/libm-test-ulps: Likewise.
40758         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40759         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40760         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40761         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40762         * sysdeps/microblaze/libm-test-ulps: Likewise.
40763         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40764         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40765         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40766         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40767         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40768         * sysdeps/sh/libm-test-ulps: Likewise.
40769         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40770         * sysdeps/tile/libm-test-ulps: Likewise.
40771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40773 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40775         * math/libm-test.inc (print_complex_max_error): Check separately
40776         whether real and imaginary errors are within allowed range and
40777         pass 0 to print_complex_function_ulps instead of value within
40778         allowed range.
40780 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40782         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40783         formatting.
40784         (get_handles_fopen): Likewise.
40785         (do_write_test): Likewise.
40787         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40789         * libio/fileops.c (do_ftell): Use cached offset when
40790         available.
40791         * libio/iofwide.c (do_ftell_wide): Likewise.
40792         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40793         _IO_file_attach.
40794         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40796         [BZ #16532]
40797         * libio/libioP.h (get_file_offset): New function.
40798         * libio/fileops.c (get_file_offset): Likewise.
40799         (do_ftell): Likewise.
40800         (_IO_new_file_seekoff): Split out ftell logic.
40801         * libio/wfileops.c (do_ftell_wide): Likewise.
40802         (_IO_wfile_seekoff): Split out ftell logic.
40803         * libio/tst-ftell-active-handler.c: New test case.
40804         * libio/Makefile (tests): Add it.
40806 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40808         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40809         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40811 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40813         [BZ #16639]
40814         * nscd/connections.c (nscd_init): Call do_exit.
40815         (start_threads): Call do_exit and notify_parent.
40816         (begin_drop_privileges): Call do_exit.
40817         (finish_drop_privileges): Likewise.
40818         * nscd/selinux.c (preserve_capabilities): Likewise.
40819         (install_real_capabilities): Likewise.
40820         (nscd_selinux_enabled): Likewise.
40821         (avc_create_thread): Likewise.
40822         (avc_alloc_lock): Likewise.
40823         (nscd_avc_init): Likewise.
40824         * nscd/nscd.c (parent_fd): New static variable.
40825         (main): Create a pipe between parent and child processes.
40826         Skip closing parent_fd.
40827         (monitor_child): New function.
40828         (do_exit): Likewise.
40829         (notify_parent): Likewise.
40830         * nscd/nscd.h (notify_parent): Likewise.
40831         (do_exit): Likewise.
40833 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40835         * malloc/malloc.c (__libc_calloc): Revert last change.
40837 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40841 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40843         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40845         implementation.
40846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40847         (__libc_ifunc_impl_list): Likewise.
40848         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40849         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40850         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40851         * string/strrchr.c: Define STRRCHR.
40853 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40855         * benchtest/bench-strtok.c (simple_strtok): Delete.
40856         (strtok_string): Use as benchmark.
40857         * string/strtok (STRTOK): New macro.
40859 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40861         * manual/threads.texi: Add header and standard comments to all
40862         functions.
40864         * elf/dl-lookup.c (check_match): New function.
40865         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40866         (do_lookup_x): Remove nested function check_match. Use non-nested
40867         function check_match.
40869 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40871         * csu/Makefile (generated, before-compile): Use += rather than =.
40872         * catgets/Makefile (generated, generated-dirs): Likewise.
40873         * debug/Makefile (generated): Likewise.
40874         * dlfcn/Makefile (generated): Likewise.
40875         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40876         * iconvdata/Makefile (before-compile, generated): Likewise.
40877         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40878         * libio/Makefile (generated): Likewise.
40879         * malloc/Makefile (generated): Likewise.
40880         * manual/Makefile (generated, generated-dirs): Likewise.
40881         * misc/Makefile (generated): Likewise.
40882         * posix/Makefile (generated): Likewise.
40883         * resolv/Makefile (generated): Likewise.
40884         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40885         * timezone/Makefile (generated, generated-dirs): Likewise.
40887         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40889 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40892         power8 implementation.
40893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40894         file: POWER8 llround ifunc implementation.
40895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40896         (__lllround): Add POWER8 implementation.
40897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40898         POWER8 llround implementation.
40900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40901         power8 implementation.
40902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40903         file: POWER8 llrint ifunc implementation.
40904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40905         Add POWER8 implementation.
40906         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40907         POWER8 llrint implementation.
40909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40910         power8 implementation.
40911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40912         file: POWER8 finite ifunc implementation.
40913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40914         Add POWER8 implementation.
40915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40916         Likewise.
40917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40918         POWER8 finite implementation.
40919         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40922         power8 implementation.
40923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40924         file: POWER8 isinf ifunc implementation.
40925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40926         POWER8 implementation.
40927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40928         Likewise.
40929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40930         isinf implementation.
40931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40933         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40934         (INIT_ARCH): Add hwcap2 initialization.
40935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40936         power8 implementation.
40937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40938         file: POWER8 isnan ifunc implementation.
40939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40940         POWER8 implementation.
40941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40942         Likewise.
40943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40944         isnan implementation.
40945         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40947 2014-02-27  Joey Ye  <joey.ye@arm.com>
40949         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40950         (_FP_NANFRAC_Q): Set to zero.
40952 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40954         [BZ #16623]
40955         * math/auto-libm-test-in: New test inputs.
40956         * math/auto-libm-test-out: Regenerate.
40957         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40958         and DA.
40959         (__cos): Likewise.
40960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40962 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40964         * scripts/evaluate-test.sh: Take new argument indicating whether
40965         failure is expected.
40966         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40967         indicating whether failure is expected.
40968         * conform/Makefile (test-xfail-run-conformtest): New variable.
40969         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40970         level.
40971         * posix/Makefile (test-xfail-annexc): New variable.
40972         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40974 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40976         * argp/Makefile: Include Makeconfig immediately after defining
40977         subdir.
40978         * assert/Makefile: Likewise.
40979         * benchtests/Makefile: Likewise.
40980         * catgets/Makefile: Likewise.
40981         * conform/Makefile: Likewise.
40982         * crypt/Makefile: Likewise.
40983         * csu/Makefile: Likewise.
40984         (all): Remove target.
40985         * ctype/Makefile: Include Makeconfig immediately after defining
40986         subdir.
40987         * debug/Makefile: Likewise.
40988         * dirent/Makefile: Likewise.
40989         * dlfcn/Makefile: Likewise.
40990         * gmon/Makefile: Likewise.
40991         * gnulib/Makefile: Likewise.
40992         * grp/Makefile: Likewise.
40993         * gshadow/Makefile: Likewise.
40994         * hesiod/Makefile: Likewise.
40995         * hurd/Makefile: Likewise.
40996         (all): Remove target.
40997         * iconvdata/Makefile: Include Makeconfig immediately after
40998         defining subdir.
40999         * inet/Makefile: Likewise.
41000         * intl/Makefile: Likewise.
41001         * io/Makefile: Likewise.
41002         * libio/Makefile: Likewise.
41003         (all): Remove target.
41004         * locale/Makefile: Include Makeconfig immediately after defining
41005         subdir.
41006         * login/Makefile: Likewise.
41007         * mach/Makefile: Likewise.
41008         (all): Remove target.
41009         * malloc/Makefile: Include Makeconfig immediately after defining
41010         subdir.
41011         (all): Remove target.
41012         * manual/Makefile: Include Makeconfig immediately after defining
41013         subdir.
41014         * math/Makefile: Likewise.
41015         * misc/Makefile: Likewise.
41016         * nis/Makefile: Likewise.
41017         * nss/Makefile: Likewise.
41018         * po/Makefile: Likewise.
41019         (all): Remove target.
41020         * posix/Makefile: Include Makeconfig immediately after defining
41021         subdir.
41022         * pwd/Makefile: Likewise.
41023         * resolv/Makefile: Likewise.
41024         * resource/Makefile: Likewise.
41025         * rt/Makefile: Likewise.
41026         * setjmp/Makefile: Likewise.
41027         * shadow/Makefile: Likewise.
41028         * signal/Makefile: Likewise.
41029         * socket/Makefile: Likewise.
41030         * soft-fp/Makefile: Likewise.
41031         * stdio-common/Makefile: Likewise.
41032         * stdlib/Makefile: Likewise.
41033         * streams/Makefile: Likewise.
41034         * string/Makefile: Likewise.
41035         * sunrpc/Makefile: Likewise.
41036         (all): Remove target.
41037         * sysvipc/Makefile: Include Makeconfig immediately after defining
41038         subdir.
41039         * termios/Makefile: Likewise.
41040         * time/Makefile: Likewise.
41041         * timezone/Makefile: Likewise.
41042         (all): Remove target.
41043         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41044         subdir.
41045         * wctype/Makefile: Likewise.
41047 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41049         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41050         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41051         (libc_feholdexcept_setround_mips): Ditto.
41052         (libc_feholdsetround): New.
41053         (libc_feholdsetroundf): New.
41054         (libc_feholdsetroundl): New.
41055         (libc_feupdateenv_test_mips): New.
41056         (libc_feupdateenv_test): New.
41057         (libc_feupdateenv_testf): New.
41058         (libc_feupdateenv_testl): New.
41059         (libc_feresetround): New.
41060         (libc_feresetroundf): New.
41061         (libc_feresetroundl): New.
41062         (libc_fetestexcept_mips): New.
41063         (libc_fetestexcept): New.
41064         (libc_fetestexceptf): New.
41065         (libc_fetestexceptl): New.
41066         (HAVE_RM_CTX): New.
41067         (libc_feholdexcept_setround_mips_ctx): New.
41068         (libc_feholdexcept_setround_ctx): New.
41069         (libc_feholdexcept_setroundf_ctx): New.
41070         (libc_feholdexcept_setroundl_ctx): New.
41071         (libc_fesetenv_mips_ctx): New.
41072         (libc_fesetenv_ctx): New.
41073         (libc_fesetenv_ctxf): New.
41074         (libc_fesetenv_ctxl): New.
41075         (libc_feupdateenv_mips_ctx): New.
41076         (libc_feupdateenv_ctx): New.
41077         (libc_feupdateenvf_ctx): New.
41078         (libc_feupdateenvl_ctx): New.
41079         (libc_feholdsetround_mips_ctx): New.
41080         (libc_feholdsetround_ctx): New.
41081         (libc_feholdsetroundf_ctx): New.
41082         (libc_feholdsetroundl_ctx): New.
41083         (libc_feresetround_mips_ctx): New.
41084         (libc_feresetround_ctx): New.
41085         (libc_feresetroundf_ctx): New.
41086         (libc_feresetroundl_ctx): New.
41088 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41090         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41092         * manual/ipc.texi: New file.
41093         * manual/Makefile (chapters): Add ipc.
41094         * manual/job.texi: Add "Inter-Process Communication" to next.
41095         * manual/process.texi: Add "Inter-Process Communication" to prev.
41097 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41101 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41103         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41105         * manual/arith.texi: Fix spaces after sentences.
41106         * manual/charset.texi: Likewise.
41107         * manual/errno.texi: Likewise.
41108         * manual/install.texi: Likewise.
41109         * manual/llio.texi: Likewise.
41110         * manual/locale.texi: Likewise.
41111         * manual/maint.texi: Likewise.
41112         * manual/math.texi: Likewise.
41113         * manual/memory.texi: Likewise.
41114         * manual/message.texi: Likewise.
41115         * manual/probes.texi: Likewise.
41116         * manual/resource.texi: Likewise.
41117         * manual/signal.texi: Likewise.
41118         * manual/socket.texi: Likewise.
41119         * manual/stdio.texi: Likewise.
41120         * manual/string.texi: Likewise.
41121         * manual/time.texi: Likewise.
41122         * manual/users.texi: Likewise.
41124 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41126         [BZ #16632]
41127         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41128         _DEFAULT_SOURCE is defined.
41130 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41131             Carlos O'Donell  <carlos@redhat.com>
41133         [BZ #16613]
41134         * elf/dl-tls.c (_dl_count_modids): New function.
41135         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41136         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41137         audit library and increment generation counter.
41138         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41139         * elf/tst-audit9.c: New file.
41140         * elf/tst-auditmod9a.c: New file.
41141         * elf/tst-auditmod9b.c: New file.
41142         * elf/Makefile: Add rules to build and run tst-audit9.
41144 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41146         [BZ #15347]
41147         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41149 2014-02-25  Will Newton  <will.newton@linaro.org>
41151         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41152         (__longjmp): Restore sp and lr before restoring callee
41153         saved registers.  Add longjmp and longjmp_target
41154         SystemTap probe point.
41155         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41156         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41157         Define to zero to match jmpbuf layout.
41158         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41159         (__sigsetjmp): Save sp and lr before saving callee
41160         saved registers.  Add setjmp SystemTap probe point.
41162 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41164         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41166 2014-02-24  Andreas Schwab  <schwab@suse.de>
41168         [BZ #15804]
41169         * elf/pldd.c (wait_for_ptrace_stop): New function.
41170         (main): Call it after attaching.
41172 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41174         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41175         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41176         Versions files is now verboten.
41177         * hurd/Versions (libc: GLIBC_2.0):
41178         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41179         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41180         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41181         * mach/Versions: Likewise.
41183         * csu/Versions: Remove unused %include.
41184         * resolv/Versions: Likewise.
41186 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41188         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41189         ($(objpfx)check-local-headers.out): Likewise.
41190         ($(objpfx)begin-end-check.out): Likewise.
41191         * Makerules (check-abi-%.out): Likewise.
41192         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41193         ($(objpfx)test2.cat): Likewise.
41194         ($(objpfx)de/libc.cat): Likewise.
41195         ($(objpfx)test-gencat.out): Likewise.
41196         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41197         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41198         ($(objpfx)noload-mem): Likewise.
41199         ($(objpfx)tst-pathopt.out): Likewise.
41200         ($(objpfx)tst-rtld-load-self.out): Likewise.
41201         ($(objpfx)tst-array1-cmp.out): Likewise.
41202         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41203         ($(objpfx)tst-array2-cmp.out): Likewise.
41204         ($(objpfx)tst-array3-cmp.out): Likewise.
41205         ($(objpfx)tst-array4-cmp.out): Likewise.
41206         ($(objpfx)tst-array5-cmp.out): Likewise.
41207         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41208         ($(objpfx)check-textrel.out): Likewise.
41209         ($(objpfx)check-execstack.out): Likewise.
41210         ($(objpfx)check-localplt.out): Likewise.
41211         ($(objpfx)order2-cmp.out): Likewise.
41212         ($(objpfx)tst-leaks1-mem): Likewise.
41213         ($(objpfx)tst-leaks1-static-mem): Likewise.
41214         ($(objpfx)tst-initorder-cmp.out): Likewise.
41215         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41216         ($(objpfx)tst-unused-dep.out): Likewise.
41217         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41218         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41219         * iconv/Makefile (test-iconvconfig): Likewise.
41220         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41221         ($(objpfx)iconv-test.out): Likewise.
41222         ($(objpfx)tst-tables.out): Likewise.
41223         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41224         ($(objpfx)tst-gettext.out): Likewise.
41225         ($(objpfx)tst-translit.out): Likewise.
41226         ($(objpfx)tst-gettext2.out): Likewise.
41227         ($(objpfx)tst-gettext4.out): Likewise.
41228         ($(objpfx)tst-gettext6.out): Likewise.
41229         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41230         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41231         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41232         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41233         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41234         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41235         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41236         ($(objpfx)wordexp-tst.out): Likewise.
41237         ($(objpfx)annexc.out): Likewise.
41238         ($(objpfx)tst-fnmatch-mem): Likewise.
41239         ($(objpfx)bug-regex2-mem): Likewise.
41240         ($(objpfx)bug-regex14-mem): Likewise.
41241         ($(objpfx)bug-regex21-mem): Likewise.
41242         ($(objpfx)bug-regex31-mem): Likewise.
41243         ($(objpfx)tst-vfork3-mem): Likewise.
41244         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41245         ($(objpfx)tst-pcre-mem): Likewise.
41246         ($(objpfx)tst-boost-mem): Likewise.
41247         ($(objpfx)tst-getconf.out): Likewise.
41248         ($(objpfx)bug-ga2-mem): Likewise.
41249         ($(objpfx)bug-glob2-mem): Likewise.
41250         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41251         ($(objpfx)mtrace-tst-leaks2): Likewise.
41252         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41253         ($(objpfx)tst-printf.out): Likewise.
41254         ($(objpfx)tst-setvbuf1.out): Likewise.
41255         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41256         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41257         ($(objpfx)tst-fmtmsg.out): Likewise.
41258         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41259         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41261         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41262         * bits/sigaction.h [__USE_MISC]: Likewise.
41263         * bits/waitstatus.h: Update #endif comments.
41264         * ctype/ctype.h: Likewise.
41265         * dirent/dirent.h: Likewise.
41266         [__USE_MISC]: Remove redundant conditionals.
41267         * grp/grp.h: Update #endif comments.
41268         [__USE_GNU]: Remove redundant conditionals.
41269         [__USE_MISC]: Likewise.
41270         * inet/netinet/in.h [__USE_GNU]: Likewise.
41271         * io/sys/stat.h [__USE_MISC]: Likewise.
41272         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41273         * libio/bits/stdio.h: Update #endif comments.
41274         [__USE_MISC]: Remove redundant conditionals.
41275         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41276         * libio/stdio.h: Update #endif comments.
41277         [__USE_MISC]: Remove redundant conditionals.
41278         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41279         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41280         * math/math.h: Update #else and #endif comments.
41281         [__USE_MISC]: Remove redundant conditionals.
41282         * misc/sys/uio.h: Update #endif comments.
41283         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41284         * posix/glob.h [__USE_MISC]: Likewise.
41285         * posix/sys/types.h: Update #endif comments.
41286         [__USE_MISC]: Remove redundant conditionals.
41287         * posix/sys/wait.h: Update #endif comments.
41288         [__USE_MISC]: Remove redundant conditionals.
41289         * posix/unistd.h: Update #endif comments.
41290         [__USE_MISC]: Remove redundant conditionals.
41291         * pwd/pwd.h [__USE_GNU]: Likewise.
41292         [__USE_MISC]: Likewise.
41293         * resolv/netdb.h [__USE_GNU]: Likewise.
41294         * signal/signal.h: Update #endif comments.
41295         [__USE_MISC]: Remove redundant conditionals.
41296         * stdlib/stdlib.h: Update #else and #endif comments.
41297         [__USE_MISC]: Remove redundant conditionals.
41298         [__USE_GNU]: Likewise.
41299         * string/bits/string2.h [__USE_MISC]: Likewise.
41300         * string/string.h: Update #endif comments.
41301         [__USE_MISC]: Remove redundant conditionals.
41302         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41303         Likewise.
41304         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41305         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41306         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41307         Likewise.
41308         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41309         Likewise.
41310         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41311         comments.
41312         [__USE_MISC]: Remove redundant conditionals.
41313         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41314         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41315         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41316         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41317         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41318         Likewise.
41319         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41320         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41321         Likewise.
41322         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41323         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41324         Likewise.
41325         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41326         Likewise.
41327         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41328         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41329         Likewise.
41330         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41331         Likewise.
41332         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41333         * sysdeps/x86/bits/string.h: Update #endif comments.
41334         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41335         conditionals.
41336         * time/sys/time.h: Update #endif comments.
41337         * time/time.h: Likewise.
41338         [__USE_MISC]: Remove redundant conditionals.
41340 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41342         [BZ #16600]
41343         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41345 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41347         * Versions.def (librt): Add GLIBC_2.17.
41349 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41351         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41352         synonym for _SYS_AUXV_H to allow direct inclusion.
41353         * sysdeps/sparc/bits/hwcap.h: Likewise.
41354         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41355         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41356         * sysdeps/sparc/sysdep.h: Likewise.
41358 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41360         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41362 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41364         * benchtests/bench-strrchr.c: Print length instead of position.
41366 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41368         [BZ #16611]
41369         * sysdeps/unix/sysv/linux/kernel-features.h
41370         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41371         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41372         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41373         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41374         Likewise.
41375         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41376         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41377         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41378         (__ASSUME_SENDMMSG): Define instead of using previous
41379         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41380         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41381         (__ASSUME_SENDMMSG_SYSCALL): Define.
41382         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41383         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41384         Likewise.
41385         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41386         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41387         Likewise.
41388         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41389         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41390         Likewise.
41391         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41392         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41393         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41394         [__ASSUME_SENDMMSG]: Change conditionals to
41395         [__ASSUME_SENDMMSG_SOCKETCALL].
41396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41397         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41398         Define.
41399         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41400         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41401         Likewise.
41402         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41403         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41404         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41405         [!__ASSUME_SENDMMSG]: Change conditional to
41406         [!__ASSUME_SENDMMSG_SOCKETCALL].
41407         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41408         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41409         Define.
41411         [BZ #16610]
41412         * sysdeps/unix/sysv/linux/kernel-features.h
41413         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41414         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41415         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41416         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41417         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41418         [__i386__ || __sparc__]
41419         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41420         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41421         (__ASSUME_RECVMMSG): Define instead of using previous
41422         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41423         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41424         (__ASSUME_RECVMMSG_SYSCALL): Define.
41425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41426         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41427         Likewise.
41428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41429         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41430         Likewise.
41431         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41433         Likewise.
41434         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41435         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41436         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41437         [__ASSUME_RECVMMSG]: Change condition to
41438         [__ASSUME_RECVMMSG_SOCKETCALL].
41439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41440         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41441         Define.
41442         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41445         Likewise.
41446         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41447         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41448         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41449         [!__ASSUME_RECVMMSG]: Change condition to
41450         [!__ASSUME_RECVMMSG_SOCKETCALL].
41451         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41452         (__ASSUME_RECVMMSG_SYSCALL): Define.
41454         [BZ #16609]
41455         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41456         __powerpc__ || __s390__ || __sh__ || __sparc__]
41457         (__ASSUME_SOCKETCALL): Define.
41458         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41459         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41460         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41461         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41462         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41463         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41464         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41465         (__ASSUME_ACCEPT4): Define instead of using previous
41466         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41467         __powerpc__ || __sparc__ || __s390__)] condition.
41468         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41469         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41470         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41471         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41472         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41473         [!__ASSUME_ACCEPT4]: Change condition to
41474         [!__ASSUME_ACCEPT4_SOCKETCALL].
41475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41476         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41477         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41478         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41479         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41480         __ASSUME_ACCEPT4_SYSCALL.
41481         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41482         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41483         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41484         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41485         __ASSUME_ACCEPT4_SYSCALL.
41486         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41487         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41488         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41489         [__ASSUME_ACCEPT4]: Change condition to
41490         [__ASSUME_ACCEPT4_SOCKETCALL].
41491         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41492         (__ASSUME_SOCKETCALL): Define.
41493         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41495         (__ASSUME_SOCKETCALL): Define.
41496         (__ASSUME_ACCEPT4): Remove.
41497         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41498         Define.
41499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41500         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41501         Likewise.
41502         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41505         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41506         macro.
41507         (HWCAP_ARM_LPAE): Likewise.
41508         (HWCAP_ARM_EVTSTRM): Likewise.
41509         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41510         Add vpfd32, lpae and evtstrm.
41511         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41512         Increase to 22.
41514 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41516         * math/auto-libm-test-in: Add tests of clog10.
41517         * math/auto-libm-test-out: Regenerated.
41518         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41519         * sysdeps/i386/fpu/libm-test-ulps: Update.
41520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41522 2014-02-18  Andreas Schwab  <schwab@suse.de>
41524         [BZ #16574]
41525         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41526         Store non-zero if the second buffer was newly allocated.
41527         (send_dg): Likewise.
41528         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41529         to send_vc and send_dg.
41530         (res_nsend): Pass NULL for ansp2_malloced.
41531         * resolv/res_query.c (__libc_res_nquery): Add parameter
41532         answerp2_malloced and pass it down to __libc_res_nsend.
41533         (res_nquery): Pass additional NULL to __libc_res_nquery.
41534         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41535         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41536         second answer buffer if answerp2_malloced was set.
41537         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41538         (__libc_res_nquerydomain): Add parameter
41539         answerp2_malloced and pass it down to __libc_res_nquery.
41540         (res_nquerydomain): Pass additional NULL to
41541         __libc_res_nquerydomain.
41542         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41543         additional NULL to __libc_res_nsend and __libc_res_nquery.
41544         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41545         additional NULL to __libc_res_nsearch.
41546         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41547         parameter of __libc_res_nsearch to check for separately allocated
41548         second buffer.
41549         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41550         __libc_res_nquery.
41551         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41552         additional NULL to __libc_res_nquery.
41553         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41554         __libc_res_nsearch.
41555         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41556         * include/resolv.h: Update prototypes of __libc_res_nquery,
41557         __libc_res_nsearch, __libc_res_nsend.
41559 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41561         * math/auto-libm-test-in: Add tests of fma.
41562         * math/auto-libm-test-out: Regenerated.
41563         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41564         (fma_towardzero_test_data): Likewise.
41565         (fma_downward_test_data): Likewise.
41566         (fma_upward_test_data): Likewise.
41567         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41568         mpc_mode.
41569         (rounding_modes): Add values for new field.
41570         (func_calc_method): Add value mpfr_fff_f.
41571         (func_calc_desc): Add mpfr_fff_f union field.
41572         (test_function): Add field exact_args.
41573         (FUNC): Add macro argument EXACT_ARGS.
41574         (FUNC_mpfr_f_f): Update call to FUNC.
41575         (FUNC_mpfr_f_f): Likewise.
41576         (FUNC_mpfr_ff_f): Likewise.
41577         (FUNC_mpfr_if_f): Likewise.
41578         (FUNC_mpc_c_f): Likewise.
41579         (FUNC_mpc_c_c): Likewise.
41580         (test_functions): Add fma.  Update calls to FUNC.
41581         (handle_input_arg): Add argument exact_args.
41582         (add_test): Update call to handle_input_arg.
41583         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41584         (output_for_one_input_case): Update call to calc_generic_results.
41585         Recalculate exact zero results in each rounding mode.
41587         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41588         non-negative before setting low bit.
41589         * math/auto-libm-test-in: Mark one asin test possibly having
41590         spurious underflow.
41591         * math/auto-libm-test-out: Regenerated.
41592         * sysdeps/i386/fpu/libm-test-ulps: Update.
41593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41595 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41597         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41598         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41599         ports/sysdeps/unix/sysv/linux/microblaze.
41600         * README: Add missing listing for microblaze*-*-linux-gnu.
41602 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41604         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41605         duplicate code
41607 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41609         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41610         * sysdeps/unix/sysv/linux/ia64: Move directory from
41611         ports/sysdeps/unix/sysv/linux/ia64.
41612         * README: Update listing for ia64-*-linux-gnu.
41614 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41615             Joseph Myers  <joseph@codesourcery.com>
41617         * Makeconfig (test-name): New variable.
41618         (evaluate-test): Likewise.
41619         * Makerules (do-test-clean): Remove .test-result files.
41620         (common-mostlyclean): Likewise.
41621         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41622         * scripts/evaluate-test.sh: New file.
41624 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41626         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41627         separate $(objpfx)tst-fopenloc-cmp.out and
41628         $(objpfx)tst-fopenloc-mem.out targets.
41629         (tests): Update dependencies.
41630         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41631         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41632         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41633         (tst-rxspencer-no-utf8-ARGS): New variable.
41634         (tst-rxspencer-no-utf8-ENV): Likewise.
41635         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41636         instead of $(objpfx)tst-rxspencer-mem.
41637         ($(objpfx)tst-rxspencer-mem): Change target to
41638         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41639         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41640         * posix/tst-rxspencer-no-utf8.c: New file.
41642         * elf/Makefile ($(objpfx)order.out): Remove rule.
41643         [$(run-built-tests) = yes] (tests): Depend on
41644         $(objpfx)order-cmp.out.
41645         ($(objpfx)order-cmp.out): New rule.
41646         [$(run-built-tests) = yes] (tests): Depend on
41647         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41648         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41649         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41650         $(objpfx)tst-array5-static-cmp.out.
41651         ($(objpfx)tst-array1.out): Remove rule.
41652         ($(objpfx)tst-array1-cmp.out): New rule.
41653         ($(objpfx)tst-array1-static.out): Remove rule.
41654         ($(objpfx)tst-array1-static-cmp.out): New rule.
41655         ($(objpfx)tst-array2.out): Remove rule.
41656         ($(objpfx)tst-array2-cmp.out): New rule.
41657         ($(objpfx)tst-array3.out): Remove rule.
41658         ($(objpfx)tst-array3-cmp.out): New rule.
41659         ($(objpfx)tst-array4.out): Remove rule.
41660         ($(objpfx)tst-array4-cmp.out): New rule.
41661         ($(objpfx)tst-array5.out): Remove rule.
41662         ($(objpfx)tst-array5-cmp.out): New rule.
41663         ($(objpfx)tst-array5-static.out): Remove rule.
41664         ($(objpfx)tst-array5-static-cmp.out): New rule.
41665         [$(run-built-tests) = yes] (tests): Depend on
41666         $(objpfx)order2-cmp.out.
41667         ($(objpfx)order2.out): Remove rule.
41668         ($(objpfx)order2-cmp.out): New rule.
41669         ($(objpfx)tst-initorder.out): Remove rule.
41670         [$(run-built-tests) = yes] (tests): Depend on
41671         $(objpfx)tst-initorder-cmp.out.
41672         ($(objpfx)tst-initorder-cmp.out): New rule.
41673         ($(objpfx)tst-initorder2.out): Remove rule.
41674         [$(run-built-tests) = yes] (tests): Depend on
41675         $(objpfx)tst-initorder2-cmp.out.
41676         ($(objpfx)tst-initorder2-cmp.out): New rule.
41677         [$(run-built-tests) = yes] (tests): Depend on
41678         $(objpfx)tst-unused-dep-cmp.out.
41679         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41680         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41681         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41682         on $(objpfx)tst-setvbuf1-cmp.out.
41683         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41684         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41685         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41686         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41687         ($(objpfx)tst-svc.out): Remove rule.
41688         ($(objpfx)tst-svc-cmp.out): New rule.
41690 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41692         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41693         * ctype/ctype.h [__USE_MISC]: Likewise.
41694         * dirent/dirent.h [__USE_MISC]: Likewise.
41695         * grp/grp.h [__USE_MISC]: Likewise.
41696         * io/fcntl.h [__USE_MISC]: Likewise.
41697         * io/sys/stat.h [__USE_MISC]: Likewise.
41698         * libio/stdio.h [__USE_MISC]: Likewise.
41699         * posix/unistd.h [__USE_MISC]: Likewise.
41700         * pwd/pwd.h [__USE_MISC]: Likewise.
41701         * stdlib.h [__USE_MISC]: Likewise.
41702         * string/bits/string2.h [__USE_MISC]: Likewise.
41703         * string/string.h [__USE_MISC]: Likewise.
41704         * time/time.h [__USE_MISC]: Likewise.
41706 2014-02-13  Andreas Schwab  <schwab@suse.de>
41708         [BZ #16574]
41709         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41710         second answer buffer if it was separately allocated.
41712 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41714         * sysdeps/mips/math-tests.h: Include <features.h>.
41715         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41716         (ROUNDING_TESTS_long_double): Do not define.
41717         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41718         (EXCEPTION_TESTS_long_double): Likewise.
41719         * sysdeps/mips/mips64/libm-test-ulps: Update.
41721         * include/features.h (__USE_BSD): Remove macro definitions.
41722         (__USE_SVID): Likewise.
41723         (_BSD_SOURCE): Likewise.
41724         (_SVID_SOURCE): Likewise.
41725         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41726         from definition of _DEFAULT_SOURCE.
41727         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41728         [_DEFAULT_SOURCE].
41729         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41730         * bits/mman.h [__USE_BSD]: Likewise.
41731         * bits/termios.h [__USE_BSD]: Likewise.
41732         * bits/waitstatus.h [__USE_BSD]: Likewise.
41733         * ctype/ctype.h [__USE_SVID]: Likewise.
41734         * dirent/dirent.h [__USE_BSD]: Likewise.
41735         * grp/grp.h [__USE_SVID]: Likewise.
41736         [__USE_BSD]: Likewise.
41737         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41738         * io/fcntl.h [__USE_BSD]: Likewise.
41739         * io/ftw.h [__USE_BSD]: Likewise.
41740         * io/sys/stat.h [__USE_BSD]: Likewise.
41741         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41742         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41743         * libio/stdio.h [__USE_SVID]: Likewise.
41744         [__USE_BSD]: Likewise.
41745         * math/math.h [__USE_SVID]: Likewise.
41746         [__USE_BSD]: Likewise.
41747         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41748         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41749         * misc/search.h [__USE_SVID]: Likewise.
41750         * misc/sys/mman.h [__USE_BSD]: Likewise.
41751         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41752         * misc/sys/uio.h [__USE_BSD]: Likewise.
41753         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41754         * posix/glob.h [__USE_BSD]: Likewise.
41755         * posix/regex.h [__USE_BSD]: Likewise.
41756         * posix/sys/types.h [__USE_BSD]: Likewise.
41757         [__USE_SVID]: Likewise.
41758         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41759         * posix/sys/wait.h [__USE_BSD]: Likewise.
41760         [__USE_SVID]: Likewise.
41761         * posix/unistd.h [__USE_BSD]: Likewise.
41762         [__USE_SVID]: Likewise.
41763         * pwd/pwd.h [__USE_SVID]: Likewise.
41764         * resolv/netdb.h [__USE_BSD]: Likewise.
41765         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41766         * signal/signal.h [__USE_BSD]: Likewise.
41767         [__USE_SVID]: Likewise.
41768         * socket/sys/socket.h [__USE_BSD]: Likewise.
41769         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41770         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41771         [__USE_SVID]: Likewise.
41772         * string/bits/string2.h [__USE_BSD]: Likewise.
41773         [__USE_SVID]: Likewise.
41774         * string/bits/string3.h [__USE_BSD]: Likewise.
41775         * string/endian.h [__USE_BSD]: Likewise.
41776         * string/string.h [__USE_SVID]: Likewise.
41777         [__USE_BSD]: Likewise.
41778         * string/strings.h [__USE_BSD]: Likewise.
41779         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41780         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41781         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41782         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41783         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41784         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41785         Likewise.
41786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41787         Likewise.
41788         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41789         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41790         Likewise.
41791         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41792         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41793         Likewise.
41794         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41795         Likewise.
41796         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41797         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41798         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41799         Likewise.
41800         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41801         Likewise.
41802         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41803         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41804         * termios/termios.h [__USE_BSD]: Likewise.
41805         * time/sys/time.h [__USE_BSD]: Likewise.
41806         * time/time.h [__USE_BSD]: Likewise.
41807         [__USE_SVID]: Likewise.
41809         * Makefile (subdir_targets): Remove subdir_lint.out.
41811         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41812         (do-tst-printf): Likewise.
41813         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41814         $(objpfx)tst-printf.out.
41816         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41818         * Makerules (check-abi-%): Change target to
41819         $(objpfx)check-abi-%.out.
41820         (check-abi target): Update dependencies.
41821         (check-abi-pattern variable): Redirect output of diff to $@.
41822         (check-abi variable): Likewise.
41823         * elf/Makefile (check-abi): Update dependencies.
41825         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41826         unused.
41827         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41828         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41829         subnormal range.
41830         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41831         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41832         value has largest subnormal exponent.
41833         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41834         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41835         * sysdeps/aarch64/soft-fp/sfp-machine.h
41836         (_FP_TININESS_AFTER_ROUNDING): New macro.
41837         * sysdeps/alpha/soft-fp/sfp-machine.h
41838         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41839         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41840         Likewise.
41841         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41842         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41843         * sysdeps/mips/soft-fp/sfp-machine.h
41844         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41845         * sysdeps/powerpc/soft-fp/sfp-machine.h
41846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41847         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41848         Likewise.
41849         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41850         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41851         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41852         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41853         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41854         Likewise.
41856 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41858         [BZ #16545]
41859         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41860         model 1.
41862 2014-02-12  Richard Henderson  <rth@redhat.com>
41864         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41865         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41866         * sysdeps/unix/sysv/linux/alpha: Move directory from
41867         ports/sysdeps/unix/sysv/linux/alpha.
41868         * README: Update listing for alpha-*-linux-gnu.
41870 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41872         * include/features.h: Update comment documenting feature test
41873         macros.
41874         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41875         _DEFAULT_SOURCE.
41876         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41877         (_SVID_SOURCE): Likewise.
41878         (_DEFAULT_SOURCE): Update description of default features.
41879         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41880         with _GNU_SOURCE.
41881         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41882         (S_ISVTX): Likewise.
41883         * manual/math.texi (Mathematical Constants): Likewise.
41884         * manual/signal.texi (Interrupted Primitives): Likewise.
41885         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41886         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41887         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41888         Don't refer to _SVID_SOURCE in warning text.
41890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41892         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41893         already defined.
41894         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41895         * sysdeps/mips/dl-lookup.c: Remove.
41896         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41898 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41900         [BZ #16447]
41901         * math/auto-libm-test-in: Add testcase for expl.
41902         * math/auto-libm-test-out: Regenerate.
41903         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41904         calculation of unsafe.
41905         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41907 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41909         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41910         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41911         ports/sysdeps/unix/sysv/linux/aarch64.
41912         * README: Update listing for aarch64*-*-linux-gnu.
41914 2014-02-11  Will Newton  <will.newton@linaro.org>
41916         * manual/probes.texi (Mathematical Function Probes): Use
41917         "triggered" instead of "hit".
41919         * manual/probes.texi (Internal Probes): Add documentation
41920         of setjmp, longjmp and longjmp_target probes.
41922         * include/stap-probe.h: Add comment about probe argument
41923         format.
41925         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41926         definition.  (tr_where, tr_freehook, tr_mallochook,
41927         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41929 2014-02-11  David S. Miller  <davem@davemloft.net>
41931         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41932         processing int_tests.
41934 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41936         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41937         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41938         * sysdeps/unix/sysv/linux/mips: Move directory from
41939         ports/sysdeps/unix/sysv/linux/mips.
41940         * README: Update listing for mips-*-linux-gnu and
41941         mips64-*-linux-gnu.
41943 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41945         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41946         * sysdeps/unix/sysv/linux/m68k: Move directory from
41947         ports/sysdeps/unix/sysv/linux/m68k.
41948         * README: Update listing for m68k-*-linux-gnu.
41950 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41952         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41953         * sysdeps/unix/sysv/linux/generic: Move directory from
41954         ports/sysdeps/unix/sysv/linux/generic.
41955         * sysdeps/unix/sysv/linux/tile: Move directory from
41956         ports/sysdeps/unix/sysv/linux/tile.
41957         * README: Update listing for tile*-*-linux-gnu.
41959 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41961         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41962         __builtin_expect.
41963         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41964         * catgets/open_catalog.c (__open_catalog): Likewise.
41965         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41966         * debug/confstr_chk.c: Likewise.
41967         * debug/fread_chk.c (__fread_chk): Likewise.
41968         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41969         * debug/getgroups_chk.c: Likewise.
41970         * debug/mbsnrtowcs_chk.c: Likewise.
41971         * debug/mbsrtowcs_chk.c: Likewise.
41972         * debug/mbstowcs_chk.c: Likewise.
41973         * debug/memcpy_chk.c: Likewise.
41974         * debug/memmove_chk.c: Likewise.
41975         * debug/mempcpy_chk.c: Likewise.
41976         * debug/memset_chk.c: Likewise.
41977         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41978         * debug/strcat_chk.c (__strcat_chk): Likewise.
41979         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41980         * debug/strncat_chk.c (__strncat_chk): Likewise.
41981         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41982         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41983         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41984         * debug/wcpncpy_chk.c: Likewise.
41985         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41986         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41987         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41988         * debug/wcsncpy_chk.c: Likewise.
41989         * debug/wcsnrtombs_chk.c: Likewise.
41990         * debug/wcsrtombs_chk.c: Likewise.
41991         * debug/wcstombs_chk.c: Likewise.
41992         * debug/wmemcpy_chk.c: Likewise.
41993         * debug/wmemmove_chk.c: Likewise.
41994         * debug/wmempcpy_chk.c: Likewise.
41995         * debug/wmemset_chk.c: Likewise.
41996         * dirent/scandirat.c (SCANDIRAT): Likewise.
41997         * dlfcn/dladdr1.c (dladdr1): Likewise.
41998         * dlfcn/dladdr.c (dladdr): Likewise.
41999         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42000         * dlfcn/dlerror.c (__dlerror): Likewise.
42001         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42002         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42003         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42004         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42005         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42006         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42007         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42008         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42009         Likewise.
42010         * elf/dl-conflict.c: Likewise.
42011         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42012         * elf/dl-dst.h: Likewise.
42013         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42014         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42015         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42016         * elf/dl-init.c (call_init, _dl_init): Likewise.
42017         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42018         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42019         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42020         Likewise.
42021         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42022         Likewise.
42023         * elf/dl-minimal.c (__libc_memalign): Likewise.
42024         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42025         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42026         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42027         * elf/dl-sym.c (do_sym): Likewise.
42028         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42029         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42030         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42031         * elf/dl-writev.h (_dl_writev): Likewise.
42032         * elf/ldconfig.c (search_dir): Likewise.
42033         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42034         (dl_main): Likewise.
42035         * elf/setup-vdso.h (setup_vdso): Likewise.
42036         * grp/compat-initgroups.c (compat_call): Likewise.
42037         * grp/fgetgrent.c (fgetgrent): Likewise.
42038         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42039         * grp/putgrent.c (putgrent): Likewise.
42040         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42041         Likewise.
42042         * hurd/hurdinit.c: Likewise.
42043         * iconvdata/8bit-gap.c (struct): Likewise.
42044         * iconvdata/ansi_x3.110.c : Likewise.
42045         * iconvdata/big5.c : Likewise.
42046         * iconvdata/big5hkscs.c : Likewise.
42047         * iconvdata/cp1255.c: Likewise.
42048         * iconvdata/cp1258.c : Likewise.
42049         * iconvdata/cp932.c : Likewise.
42050         * iconvdata/euc-cn.c: Likewise.
42051         * iconvdata/euc-jisx0213.c : Likewise.
42052         * iconvdata/euc-jp.c: Likewise.
42053         * iconvdata/euc-jp-ms.c : Likewise.
42054         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42055         * iconvdata/gb18030.c : Likewise.
42056         * iconvdata/gbbig5.c (const): Likewise.
42057         * iconvdata/gbgbk.c: Likewise.
42058         * iconvdata/gbk.c : Likewise.
42059         * iconvdata/ibm1364.c : Likewise.
42060         * iconvdata/ibm930.c : Likewise.
42061         * iconvdata/ibm932.c: Likewise.
42062         * iconvdata/ibm933.c : Likewise.
42063         * iconvdata/ibm935.c : Likewise.
42064         * iconvdata/ibm937.c : Likewise.
42065         * iconvdata/ibm939.c : Likewise.
42066         * iconvdata/ibm943.c: Likewise.
42067         * iconvdata/iso_11548-1.c: Likewise.
42068         * iconvdata/iso-2022-cn.c : Likewise.
42069         * iconvdata/iso-2022-cn-ext.c : Likewise.
42070         * iconvdata/iso-2022-jp-3.c: Likewise.
42071         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42072         * iconvdata/iso-2022-kr.c : Likewise.
42073         * iconvdata/iso646.c (gconv_end): Likewise.
42074         * iconvdata/iso_6937-2.c : Likewise.
42075         * iconvdata/iso_6937.c : Likewise.
42076         * iconvdata/iso8859-1.c: Likewise.
42077         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42078         * iconvdata/shift_jisx0213.c : Likewise.
42079         * iconvdata/sjis.c : Likewise.
42080         * iconvdata/t.61.c : Likewise.
42081         * iconvdata/tcvn5712-1.c : Likewise.
42082         * iconvdata/tscii.c: Likewise.
42083         * iconvdata/uhc.c : Likewise.
42084         * iconvdata/unicode.c (gconv_end): Likewise.
42085         * iconvdata/utf-16.c (gconv_end): Likewise.
42086         * iconvdata/utf-32.c (gconv_end): Likewise.
42087         * iconvdata/utf-7.c (base64): Likewise.
42088         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42089         * iconv/gconv_close.c (__gconv_close): Likewise.
42090         * iconv/gconv_open.c (__gconv_open): Likewise.
42091         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42092         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42093         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42094         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42095         (ucs4le_internal_loop_single): Likewise.
42096         * iconv/iconv.c (iconv): Likewise.
42097         * iconv/iconv_close.c: Likewise.
42098         * iconv/loop.c (SINGLE): Likewise.
42099         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42100         * include/atomic.h: Likewise.
42101         * inet/inet6_option.c (option_alloc): Likewise.
42102         * intl/bindtextdom.c (set_binding_values): Likewise.
42103         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42104         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42105         * intl/localealias.c (read_alias_file): Likewise.
42106         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42107         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42108         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42109         * libio/fmemopen.c (fmemopen): Likewise.
42110         * libio/iofgets.c (_IO_fgets): Likewise.
42111         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42112         * libio/iofgetws.c (fgetws): Likewise.
42113         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42114         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42115         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42116         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42117         * locale/findlocale.c (_nl_find_locale): Likewise.
42118         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42119         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42120         Likewise.
42121         * locale/setlocale.c (setlocale): Likewise.
42122         * login/programs/pt_chown.c (main): Likewise.
42123         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42124         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42125         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42126         (mmap, mmap64, mremap, munmap): Likewise.
42127         * math/e_exp2l.c: Likewise.
42128         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42129         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42130         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42131         * math/s_catan.c (__catan): Likewise.
42132         * math/s_catanf.c (__catanf): Likewise.
42133         * math/s_catanh.c (__catanh): Likewise.
42134         * math/s_catanhf.c (__catanhf): Likewise.
42135         * math/s_catanhl.c (__catanhl): Likewise.
42136         * math/s_catanl.c (__catanl): Likewise.
42137         * math/s_ccosh.c (__ccosh): Likewise.
42138         * math/s_ccoshf.c (__ccoshf): Likewise.
42139         * math/s_ccoshl.c (__ccoshl): Likewise.
42140         * math/s_cexp.c (__cexp): Likewise.
42141         * math/s_cexpf.c (__cexpf): Likewise.
42142         * math/s_cexpl.c (__cexpl): Likewise.
42143         * math/s_clog10.c (__clog10): Likewise.
42144         * math/s_clog10f.c (__clog10f): Likewise.
42145         * math/s_clog10l.c (__clog10l): Likewise.
42146         * math/s_clog.c (__clog): Likewise.
42147         * math/s_clogf.c (__clogf): Likewise.
42148         * math/s_clogl.c (__clogl): Likewise.
42149         * math/s_csin.c (__csin): Likewise.
42150         * math/s_csinf.c (__csinf): Likewise.
42151         * math/s_csinh.c (__csinh): Likewise.
42152         * math/s_csinhf.c (__csinhf): Likewise.
42153         * math/s_csinhl.c (__csinhl): Likewise.
42154         * math/s_csinl.c (__csinl): Likewise.
42155         * math/s_csqrt.c (__csqrt): Likewise.
42156         * math/s_csqrtf.c (__csqrtf): Likewise.
42157         * math/s_csqrtl.c (__csqrtl): Likewise.
42158         * math/s_ctan.c (__ctan): Likewise.
42159         * math/s_ctanf.c (__ctanf): Likewise.
42160         * math/s_ctanh.c (__ctanh): Likewise.
42161         * math/s_ctanhf.c (__ctanhf): Likewise.
42162         * math/s_ctanhl.c (__ctanhl): Likewise.
42163         * math/s_ctanl.c (__ctanl): Likewise.
42164         * math/w_pow.c: Likewise.
42165         * math/w_powf.c: Likewise.
42166         * math/w_powl.c: Likewise.
42167         * math/w_scalb.c (sysv_scalb): Likewise.
42168         * math/w_scalbf.c (sysv_scalbf): Likewise.
42169         * math/w_scalbl.c (sysv_scalbl): Likewise.
42170         * misc/error.c (error_tail): Likewise.
42171         * misc/pselect.c (__pselect): Likewise.
42172         * nis/nis_callback.c (__nis_create_callback): Likewise.
42173         * nis/nis_call.c (__nisfind_server): Likewise.
42174         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42175         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42176         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42177         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42178         * nis/nis_lookup.c (nis_lookup): Likewise.
42179         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42180         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42181         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42182         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42183         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42184         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42185         * nis/nss_compat/compat-initgroups.c (add_group)
42186         (internal_getgrent_r): Likewise.
42187         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42188         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42189         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42190         (internal_getspnam_r): Likewise.
42191         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42192         (_nss_nis_getaliasbyname_r): Likewise.
42193         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42194         (_nss_nis_getntohost_r): Likewise.
42195         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42196         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42197         (_nss_nis_getgrgid_r): Likewise.
42198         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42199         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42200         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42201         (_nss_nis_gethostbyname4_r): Likewise.
42202         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42203         (initgroups_netid): Likewise.
42204         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42205         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42206         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42207         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42208         (_nss_nis_getprotobynumber_r): Likewise.
42209         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42210         (_nss_nis_getsecretkey): Likewise.
42211         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42212         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42213         (_nss_nis_getpwuid_r): Likewise.
42214         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42215         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42216         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42217         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42218         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42219         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42220         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42221         Likewise.
42222         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42223         (_nss_nisplus_getntohost_r): Likewise.
42224         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42225         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42226         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42227         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42228         Likewise.
42229         * nis/nss_nisplus/nisplus-initgroups.c
42230         (_nss_nisplus_initgroups_dyn): Likewise.
42231         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42232         (_nss_nisplus_getnetbyaddr_r): Likewise.
42233         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42234         (_nss_nisplus_getprotobynumber_r): Likewise.
42235         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42236         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42237         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42238         Likewise.
42239         * nis/nss_nisplus/nisplus-service.c
42240         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42241         (_nss_nisplus_getservbyport_r): Likewise.
42242         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42243         (_nss_nisplus_getspnam_r): Likewise.
42244         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42245         Likewise.
42246         * nscd/aicache.c (addhstaiX): Likewise.
42247         * nscd/cache.c (cache_search, prune_cache): Likewise.
42248         * nscd/connections.c (register_traced_file, send_ro_fd)
42249         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42250         (main_loop_epoll): Likewise.
42251         * nscd/grpcache.c (addgrbyX): Likewise.
42252         * nscd/hstcache.c (addhstbyX): Likewise.
42253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42254         * nscd/mem.c (gc, mempool_alloc): Likewise.
42255         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42256         (addinnetgrX): Likewise.
42257         * nscd/nscd-client.h (__nscd_acquire_maplock)
42258         (__nscd_drop_map_ref): Likewise.
42259         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42260         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42261         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42262         Likewise.
42263         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42264         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42265         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42266         (__nscd_get_map_ref): Likewise.
42267         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42268         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42269         Likewise.
42270         * nscd/pwdcache.c (addpwbyX): Likewise.
42271         * nscd/selinux.c (preserve_capabilities): Likewise.
42272         * nscd/servicescache.c (addservbyX): Likewise.
42273         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42274         * posix/fnmatch.c (fnmatch): Likewise.
42275         * posix/getopt.c (_getopt_internal_r): Likewise.
42276         * posix/glob.c (glob, glob_in_dir): Likewise.
42277         * posix/wordexp.c (exec_comm_child): Likewise.
42278         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42279         (getanswer_r, gaih_getanswer_slice): Likewise.
42280         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42281         * resolv/res_init.c: Likewise.
42282         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42283         * resolv/res_query.c (__libc_res_nquery): Likewise.
42284         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42285         Likewise.
42286         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42287         * stdio-common/perror.c (perror): Likewise.
42288         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42289         * stdio-common/tmpnam.c (tmpnam): Likewise.
42290         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42291         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42292         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42293         Likewise.
42294         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42295         * stdlib/putenv.c (putenv): Likewise.
42296         * stdlib/setenv.c (__add_to_environ): Likewise.
42297         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42298         * stdlib/strtol_l.c (INTERNAL): Likewise.
42299         * string/memmem.c (memmem): Likewise.
42300         * string/strerror.c (strerror): Likewise.
42301         * string/strnlen.c (__strnlen): Likewise.
42302         * string/test-memmem.c (simple_memmem): Likewise.
42303         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42304         * sunrpc/pm_getport.c (__get_socket): Likewise.
42305         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42306         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42307         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42308         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42309         Likewise.
42310         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42311         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42312         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42313         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42314         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42315         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42316         Likewise.
42317         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42318         Likewise.
42319         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42320         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42321         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42322         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42323         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42325         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42326         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42327         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42328         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42329         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42330         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42331         Likewise.
42332         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42333         Likewise.
42334         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42335         Likewise.
42336         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42338         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42339         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42340         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42341         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42342         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42345         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42346         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42348         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42349         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42351         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42352         Likewise.
42353         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42354         Likewise.
42355         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42356         Likewise.
42357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42358         Likewise.
42359         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42360         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42361         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42362         Likewise.
42363         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42364         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42365         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42366         * sysdeps/posix/sleep.c: Likewise.
42367         * sysdeps/posix/tempname.c: Likewise.
42368         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42369         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42370         Likewise.
42371         * sysdeps/powerpc/powerpc32/dl-machine.h
42372         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42373         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42375         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42376         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42377         Likewise.
42378         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42379         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42380         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42381         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42382         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42383         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42384         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42385         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42386         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42387         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42388         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42389         (elf_machine_lazy_rel): Likewise.
42390         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42392         (elf_machine_lazy_rel): Likewise.
42393         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42394         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42395         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42396         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42397         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42398         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42399         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42401         Likewise.
42402         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42403         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42404         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42405         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42406         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42407         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42408         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42409         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42410         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42411         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42412         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42413         Likewise.
42414         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42415         (__posix_fallocate64_l64): Likewise.
42416         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42417         (posix_fallocate): Likewise.
42418         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42419         Likewise.
42420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42421         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42422         (getifaddrs_internal): Likewise.
42423         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42424         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42425         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42426         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42427         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42428         (__posix_fallocate64_l64): Likewise.
42429         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42430         Likewise.
42431         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42432         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42433         (__get_clockfreq): Likewise.
42434         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42435         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42436         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42439         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42440         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42441         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42442         Likewise.
42443         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42444         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42445         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42446         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42447         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42448         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42449         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42450         Likewise.
42451         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42452         (posix_fallocate): Likewise.
42453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42454         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42455         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42456         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42457         (elf_machine_rela, elf_machine_rela_relative)
42458         (elf_machine_lazy_rel): Likewise.
42459         * time/asctime.c (asctime_internal): Likewise.
42460         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42461         * time/tzset.c (__tzset_parse_tz): Likewise.
42462         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42463         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42464         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42465         * wcsmbs/wcsmbsload.h: Likewise.
42467         [BZ #15894]
42468         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42470         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42471         (arena_get2): Remove THREAD_STATS conditionals.
42472         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42473         (__malloc_stats, int): Likewise.
42475 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42477         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42478         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42480         * manual/setjmp.texi: Fix typos/grammar errors.
42482         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42483         Only return early when n is <= 0.  Delete unused return statement.
42485         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42486         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42487         * debug/tst-longjmp_chk3.c: New file.
42489         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42490         (test_main): Replace code with set_fortify_handler call.
42491         * debug/test-strcpy_chk.c: Likewise.
42492         * debug/tst-chk1.c: Likewise.
42493         * debug/tst-longjmp_chk.c: Likewise.
42494         * test-skeleton.c: Include fcntl.h & paths.h
42495         (set_fortify_handler): Define.
42497         * debug/tst-longjmp_chk.c: Add header comment and include
42498         ../test-skeleton.c.
42499         (do_test): Mark static.
42500         (TEST_FUNCTION): Define.
42502         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42503         (IP_PMTUDISC_INTERFACE): Likewise.
42504         (IP_MULTICAST_IF): Likewise.
42505         (IP_MULTICAST_TTL): Likewise.
42506         (IP_MULTICAST_LOOP): Likewise.
42507         (IP_ADD_MEMBERSHIP): Likewise.
42508         (IP_DROP_MEMBERSHIP): Likewise.
42509         (IP_UNBLOCK_SOURCE): Likewise.
42510         (IP_BLOCK_SOURCE): Likewise.
42511         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42512         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42513         (IP_MSFILTER): Likewise.
42514         (MCAST_JOIN_GROUP): Likewise.
42515         (MCAST_BLOCK_SOURCE): Likewise.
42516         (MCAST_UNBLOCK_SOURCE): Likewise.
42517         (MCAST_LEAVE_GROUP): Likewise.
42518         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42519         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42520         (MCAST_MSFILTER): Likewise.
42521         (IP_MULTICAST_ALL): Likewise.
42522         (IP_UNICAST_IF): Likewise.
42524         * timezone/Makefile: Delete $(have-ksh) check.
42525         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42526         * timezone/tzselect.ksh: Add +x mode bits.
42528         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42529         (ANON_INODE_FS_MAGIC): Likewise.
42530         (BDEVFS_MAGIC): Likewise.
42531         (BINFMTFS_MAGIC): Likewise.
42532         (BTRFS_TEST_MAGIC): Likewise.
42533         (CRAMFS_MAGIC_WEND): Likewise.
42534         (DEBUGFS_MAGIC): Likewise.
42535         (ECRYPTFS_SUPER_MAGIC): Likewise.
42536         (EXT3_SUPER_MAGIC): Likewise.
42537         (EXT4_SUPER_MAGIC): Likewise.
42538         (FUTEXFS_SUPER_MAGIC): Likewise.
42539         (HOSTFS_SUPER_MAGIC): Likewise.
42540         (HUGETLBFS_MAGIC): Likewise.
42541         (MINIX3_SUPER_MAGIC): Likewise.
42542         (MTD_INODE_FS_MAGIC): Likewise.
42543         (NILFS_SUPER_MAGIC): Likewise.
42544         (OPENPROM_SUPER_MAGIC): Likewise.
42545         (PIPEFS_MAGIC): Likewise.
42546         (PSTOREFS_MAGIC): Likewise.
42547         (QNX6_SUPER_MAGIC): Likewise.
42548         (RAMFS_MAGIC): Likewise.
42549         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42550         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42551         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42552         (SECURITYFS_MAGIC): Likewise.
42553         (SELINUX_MAGIC): Likewise.
42554         (SMACK_MAGIC): Likewise.
42555         (SOCKFS_MAGIC): Likewise.
42556         (SQUASHFS_MAGIC): Likewise.
42557         (STACK_END_MAGIC): Likewise.
42558         (TMPFS_MAGIC): Likewise.
42559         (USBDEVICE_SUPER_MAGIC): Likewise.
42560         (V9FS_MAGIC): Likewise.
42561         (XENFS_SUPER_MAGIC): Likewise.
42562         (CRAMFS_MAGIC): Fix typo in comment.
42563         (EXT2_SUPER_MAGIC): Update comment.
42564         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42566 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42568         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42569         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42570         * sysdeps/unix/sysv/linux/arm: Move directory from
42571         ports/sysdeps/unix/sysv/linux/arm.
42572         * README: Update listing for arm-*-linux-gnueabi.
42574         * README: Remove mention of am33.
42576 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42578         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42579         than the comma operator, to avoid "rhs of comma has no effect"
42580         compiler warnings.
42581         (__sigfillset, __sigandset, __sigorset): Likewise.
42582         * include/signal.h (__sigemptyset): Likewise.
42583         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42585 2014-02-07  Allan McRae  <allan@archlinux.org>
42587         * version.h (RELEASE): Set to "development".
42588         (VERSION): Set to "2.19.90"
42589         * NEWS: Add 2.20 section.
42591 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42593         [BZ #16529]
42594         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42596 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42598         * manual/contrib.texi: Update entry for Carlos O'Donell,
42599         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42601 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42603         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42605         * sysdeps/unix/sysv/linux/kernel-features.h
42606         [__LINUX_KERNEL_VERSION >= 0x020621]
42607         (__ASSUME_PROC_PID_TASK_COMM): Define.
42609 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42611         [BZ #16398]
42612         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42613         conversion when destination buffer does not have enough space.
42614         * libio/tst-ftell-partial-wide.c: New test case.
42615         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42617         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42618         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42619         Leonard and Allan McRae.
42621 2014-02-04  David S. Miller  <davem@davemloft.net>
42623         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42624         32-bit.
42626 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42629         New file
42630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42631         New file
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42633         New file.
42634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42635         New file.
42636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42637         New file.
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42639         New file.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42641         New file.
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42643         New file.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42645         New file.
42646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42647         New file.
42648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42649         New file.
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42651         New file.
42652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42653         New file.
42655 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42657         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42658         * shlib-versions: Likewise.
42660 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42661             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42663         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42664         (abilist-pattern): New variable, set to %-le.abilist.
42666         * Makerules (abilist-pattern): New variable.
42667         (vpath): Use $(abilist-pattern) in place of %.abilist.
42668         (check-abi-% pattern rule): Likewise.
42669         (check-abi, update-abi): Likewise.
42671 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42675 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42677         * manual/startup.texi: Add next, previous, and top entries for
42678         the `Program Arguments' and `Environment Variables' nodes.
42680 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42682         * manual/macros.texi: Add comments before MTASC-safety macros.
42684         * manual/users.texi: Document MTASC-safety properties.
42686         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42687         (pthread_getspecific, pthread_setspecific): Format with
42688         @deftypefun, and add @safety note.
42689         * manual/signal.texi: Move comments that analyze the above
42690         functions to their home place.
42692 2014-02-03  Allan McRae  <allan@archlinux.org>
42694         * po/sl.po: Update Slovenian translation from translation project.
42696 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42698         * manual/time.texi (timegm): Add missing blank after @c.
42699         Reported by Joseph Myers <joseph@codesourcery.com>.
42701 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42703         * manual/check-safety.sh: New.
42704         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42706         * manual/terminal.texi: Document MTASC-safety properties.
42708         * manual/filesys.texi: Document MTASC-safety properties.
42710         * manual/errno.texi: Document MTASC-safety properties.
42712         * manual/intro.texi: Document safety identifiers and
42713         conditionals.
42715         * manual/string.texi (wcstok): Fix prototype.
42716         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42718         * manual/time.texi: Document MTASC-safety properties.
42720         * manual/string.texi: Document MTASC-safety properties.
42722         * manual/threads.texi: Document MTASC-safety properties.
42724         * manual/stdio.texi: Document MTASC-safety properties.
42726         * manual/syslog.texi: Document MTASC-safety properties.
42728         * manual/sysinfo.texi: Document MTASC-safety properties.
42730         * manual/startup.texi: Document MTASC-safety properties.
42732         * manual/socket.texi: Document MTASC-safety properties.
42734         * manual/signal.texi: Document MTASC-safety properties.
42736 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42738         * manual/setjmp.texi: Document MTASC-safety properties.
42740         * manual/search.texi: Document MTASC-safety properties.
42742         * manual/resource.texi: Document MTASC-safety properties.
42744         * manual/process.texi: Document MTASC-safety properties.
42746         * manual/platform.texi: Document MTASC-safety properties.
42748         * manual/pipe.texi: Document MTASC-safety properties.
42750         * manual/pattern.texi: Document MTASC-safety properties.
42752         * manual/message.texi: Document MTASC-safety properties.
42754         [BZ #12751]
42755         * manual/memory.texi: Document MTASC-safety properties.
42757         * manual/math.texi: Document MTASC-safety properties.
42759         * manual/locale.texi: Document MTASC-safety properties.
42761         * manual/llio.texi: Document MTASC-safety properties.
42763         * manual/libdl.texi: New.
42765         * manual/lang.texi: Document MTASC-safety properties.
42767         * manual/job.texi: Document MTASC-safety properties.
42769         * manual/getopt.texi: Document MTASC-safety properties.
42771         * manual/ctype.texi: Document MTASC-safety properties.
42773 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42775         [BZ #16046]
42776         * csu/libc-tls.c (static_map): Remove variable.
42777         (__libc_setup_tls): Use main executable's link map for TLS data.
42778         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42779         casing for LM_ID_BASE and GL(dl_nns).
42780         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42781         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42782         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42783         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42784         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42785         member.
42786         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42787         l_phnum members.
42789 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42791         * manual/debug.texi: Document MTASC-safety properties.
42793 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42795         [BZ #16510]
42796         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42797         of __x86_64__ when disabling x87 inline functions.
42799 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42801         * manual/charset.texi: Document MTASC-safety properties.
42803         * manual/crypt.texi: Document MTASC-safety properties.
42805         * manual/conf.texi: Document MTASC-safety properties.
42807         * manual/arith.texi: Document MTASC-safety properties.
42809         * manual/argp.texi: Document MTASC-safety properties.
42811         * manual/macros.texi: Introduce macros to document multi
42812         thread, asynchronous signal and asynchronous cancellation
42813         safety properties.
42814         * manual/intro.texi: Introduce the properties themselves.
42816 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42818         * sysdeps/sh/sh4/Makefile: New file.
42820 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42822         * math/gen-libm-test.pl ($srcdir): New variable.
42823         ($auto_input): Use it.
42825 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42827         [BZ #16506]
42828         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42829         access beyond array bounds when parsing netgroups file.
42831         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42832         the old buffer before realloc.
42834 2014-01-27  Allan McRae  <allan@archlinux.org>
42836         * po/fr.po: Update French translation from translation project.
42838 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42840         * sysdeps/sh/libm-test-ulps: Regenerate.
42842 2014-01-24  David S. Miller  <davem@davemloft.net>
42844         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42846 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42848         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42849         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42851 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42853         [BZ #16474]
42854         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42855         string pointers after reallocation.
42857 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42859         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42860         __SH4A__ instead of __SH_FPU_ANY__.
42862 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42864         * sysdeps/sh/fpu_control.h: New file.
42865         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42866         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42867         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42868         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42869         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42870         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42871         * sysdeps/sh/sys/ucontext.h: Remove.
42872         * sysdeps/sh/sys: Remove directory.
42874 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42876         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42877         s390/sys/ucontext.h.
42878         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42879         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42881 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42883         [BZ #15605]
42884         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42886 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42888         [BZ#16431]
42889         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42890         Adjust the vDSO correctly for internal calls.
42891         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42893 2014-01-20  Allan McRae  <allan@archlinux.org>
42895         * po/ca.po: Update Catalan translation from translation project.
42897 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42899         * sysdeps/s390/sotruss-lib.c: New file.
42901 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42903         [BZ#16430]
42904         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42905         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42906         local calls issues by not having a PLT stub required for IFUNC calls.
42907         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42909 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42911         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42912         * math/test-fpucw-static.c: Likewise.
42914 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42916         [BZ #16453]
42917         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42919 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42921         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42922         implementation for powerpc.
42924 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42926         [BZ #14782]
42927         * sysdeps/posix/system.c (__libc_system): Do not enable
42928         asynchronous cancellation.
42930 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42932         [BZ #16427]
42933         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42934         handling only for numbers special also in the IEEE case.
42936 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42938         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42940 2014-01-11  Allan McRae  <allan@archlinux.org>
42942         * po/bg.po: Update Bulgarian translation from translation project.
42944         * po/de.po: Update German translation from translation project.
42946 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42948         * sysdeps/generic/gcc-compat.h: New file.
42950 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42952         * benchtests/asin-inputs: Correct slow inputs.
42953         * benchtests/acos-inputs: Likewise.
42955 2014-01-10  Allan McRae  <allan@archlinux.org>
42957         * po:sv.po: Update Swedish translation from translation project.
42959         * po/vi.po: Update Vietnamese translation from translation project.
42961         * po/eo.po: Update Esperanto translation from translation project.
42963         * po/cs.po: Update Czech translation from translation project.
42965         * po/nl.po: Update Dutch translation from translation project.
42967         * po/pl.po: Update Polish translation from translation project.
42969         * po/ru.po: Update Russian translation from translation project.
42971         * po/uk.po: Update Ukrainian translation from translation project.
42973 2014-01-08  Brooks Moses  <bmoses@google.com>
42975         * elf/dl-load.c: Fix comment typo.
42977 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42979         * po/header.pot: Rename to...
42980         * po/pot.header: ... this.
42981         * po/Makefile: Use pot.header.
42983 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42984             Maxim Kuvyrkov  <maxim@kugelworks.com>
42986         [BZ #16394]
42987         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42988         SRC and DEST against LEN.
42990 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42992         [BZ #16414]
42993         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42994         implementation.
42995         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42997 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43001 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43003         [BZ #16408]
43004         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43005         for large positive arguments.
43007 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43009         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43011         * math/auto-libm-test-in: Mark various tests with
43012         xfail-rounding:ldbl-128ibm.
43013         * math/auto-libm-test-out: Regenerated.
43015         [BZ #16407]
43016         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43017         Increase overflow threshold.
43019 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43021         [BZ #14286]
43022         * stdio-common/vfprintf.c: Check for integer overflow.
43024 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43026         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43027         the first argument and return value of __tls_get_addr_internal.
43029 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43031         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43032         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43034 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43036         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43037         * sysdeps/s390/rtld-global-offsets.sym: New file.
43038         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43039         GLIBC_2.19 symbol.
43040         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43043         ... this.
43044         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43045         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43046         ... this.
43047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43048         Regenerate.
43049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43050         Regenerate.
43051         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43052         halfs of GPRs for high_gprs contexts.
43053         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43054         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43055         field.
43056         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43057         uc_flags field.
43058         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43059         64 bit versions:
43060         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43061         for high GPRs (uc_high_gprs) and for future extensions
43062         (__reserved).
43063         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43064         for future extensions (__reserved).
43065         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43066         64 bit versions:
43067         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43068         SC_HIGHGPRS offset definition.
43069         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43070         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43072         * Versions.def: Add GLIBC_2.19 for libpthread.
43073         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43074         siglongjmp for libpthread with GLIBC_2.19 symver.
43075         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43076         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43077         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43078         * sysdeps/s390/__longjmp.c: New file.
43079         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43080         * sysdeps/s390/longjmp.c: New file.
43081         * sysdeps/s390/setjmp.S: New file.
43082         * sysdeps/s390/sigjmp.S: New file.
43083         * sysdeps/s390/v1-longjmp.c: New file.
43084         * sysdeps/s390/v1-setjmp.h: New file.
43085         * sysdeps/s390/v1-sigjmp.c: New file.
43086         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43087         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43088         GLIBC_2.19 version.
43089         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43090         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43091         versioned symbols for ____longjmp_chk.
43092         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43093         Likewise.
43094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43095         Regenerate.
43096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43097         Regenerate.
43098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43099         Regenerate.
43100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43101         Regenerate.
43102         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43103         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43104         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43105         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43106         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43107         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43108         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43109         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43110         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43111         * sysdeps/s390/rtld-__longjmp.c: New file.
43112         * sysdeps/s390/rtld-setjmp.S: New file.
43114 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43116         [BZ #16400]
43117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43118         Return -__logl (x) for small positive arguments without evaluating
43119         a polynomial.
43121 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43123         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43124         Rename to ...
43125         (__ptrace_peeksiginfo_args): ... this.
43126         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43127         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43128         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43130 2014-01-06  Allan McRae  <allan@archlinux.org>
43132         * inet/netinet/in.h: Fix typo in comment.
43134 2014-01-05  Andreas Jaeger  <aj@suse.de>
43136         * sysdeps/i386/fpu/libm-test-ulps: Update.
43138 2014-01-05  Allan McRae  <allan@archlinux.org>
43140         * po/libc.pot: Regenerated.
43142         * malloc/memusagestat.c: Fix gettext call formatting.
43144 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43146         * nscd/nscd.c: Improve usage() output.
43148 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43150         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43151         * sysdeps/unix/sysv/linux/configure: Regenerated.
43152         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43153         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43155 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43157         [BZ #16390]
43158         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43159         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43161 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43163         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43164         extra tokens at end of #undef directive.
43165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43166         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43167         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43169 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43171         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43173         * math/auto-libm-test-in: Mark various tests with
43174         xfail-rounding:ldbl-128ibm.
43175         * math/auto-libm-test-out: Regenerated.
43177 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43179         [BZ #16386]
43180         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43181         numbers with subnormal high part when calculating exponent.
43183         [BZ #16385]
43184         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43185         fabs.
43187         [BZ #16384]
43188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43189         M_LN2l.
43190         (__ieee754_acoshl): Use __log1pl not __log1p.
43192 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43194         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43195         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43196         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43197         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43198         (reused_arena, arena_get2): Convert to GNU style.
43199         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43200         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43201         (memalign_check, __malloc_set_state): Likewise.
43202         * malloc/mallocbug.c (main): Likewise.
43203         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43204         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43205         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43206         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43207         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43208         (__posix_memalign, malloc_info): Likewise.
43209         * malloc/malloc.h: Likewise.
43210         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43211         (mallochook, memalignhook, reallochook, mabort): Likewise.
43212         * malloc/mcheck.h: Likewise.
43213         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43214         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43215         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43216         * malloc/morecore.c (__default_morecore): Likewise.
43217         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43218         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43219         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43220         (print_and_abort): Likewise.
43221         * malloc/obstack.h: Likewise.
43222         * malloc/set-freeres.c (__libc_freeres): Likewise.
43223         * malloc/tst-mallocstate.c (main): Likewise.
43224         * malloc/tst-mtrace.c (main): Likewise.
43225         * malloc/tst-realloc.c (do_test): Likewise.
43227 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43229         [BZ #16366]
43230         * nscd/netgroupcache.c (do_notfound): New function.
43231         (addgetnetgrentX): Use it.
43233         [BZ # 16365]
43234         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43235         NSS_STATUS_NOTFOUND.
43237 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43239         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43242 2014-01-01  Allan McRae  <allan@archlinux.org>
43244         * scripts/update-copyrights: Update configure input file suffix.
43246         * NEWS: Update copyright year.
43247         * catgets/gencat.c: Likewise.
43248         * csu/version.c: Likewise.
43249         * debug/catchsegv.sh: Likewise.
43250         * debug/pcprofiledump.c: Likewise.
43251         * debug/xtrace.sh: Likewise.
43252         * elf/ldconfig.c: Likewise.
43253         * elf/ldd.bash.in: Likewise.
43254         * elf/pldd.c: Likewise.
43255         * elf/sotruss.ksh: Likewise.
43256         * elf/sprof.c: Likewise.
43257         * iconv/iconv_prog.c: Likewise.
43258         * iconv/iconvconfig.c: Likewise.
43259         * locale/programs/locale.c: Likewise.
43260         * locale/programs/localedef.c: Likewise.
43261         * login/programs/pt_chown.c: Likewise.
43262         * malloc/memusage.sh: Likewise.
43263         * malloc/memusagestat.c: Likewise.
43264         * malloc/mtrace.pl: Likewise.
43265         * manual/libc.texinfo: Likewise.
43266         * nscd/nscd.c: Likewise.
43267         * nss/getent.c: Likewise.
43268         * nss/makedb.c: Likewise.
43269         * posix/getconf.c: Likewise.
43270         * scripts/test-installation.pl: Likewise.
43272         * All files with FSF copyright notices: Update copyright dates
43273         using scripts/update-copyrights.
43274         * intl/plural.c: Regenerated.
43275         * locale/programs/charmap-kw.h: Likewise.
43276         * locale/programs/locfile-kw.h: Likewise.
43278 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43280         * sysdeps/unix/sysv/linux/configure: Regenerated.
43281         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43282         the linux/fanotify.h header.
43283         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43284         HAVE_LINUX_FANOTIFY_H is defined.
43286 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43288         * benchtests/cos-inputs: New inputs.
43289         * benchtests/sin-inputs: Likewise.
43291         * benchtests/atan-inputs: New inputs. Fix name of multiple
43292         precision fallback inputs.
43294         * benchtests/atanh-inputs: New inputs.
43295         * benchtests/tanh-inputs: Likewise.
43297         * benchtests/acosh-inputs: New inputs.
43298         * benchtests/asinh-inputs: Likewise.
43300         * benchtests/cosh-inputs: New inputs.
43301         * benchtests/sinh-inputs: Likewise.
43303         * benchtests/acos-inputs: Add more inputs.
43304         * benchtests/asin-inputs: Likewise.
43306 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43308         [BZ #16375]
43309         * manual/arith.texi: Fix spelling.
43310         * manual/charset.texi: Likewise.
43311         * manual/errno.texi: Likewise.
43312         * manual/filesys.texi: Likewise.
43313         * manual/lang.texi: Likewise.
43314         * manual/llio.texi: Likewise.
43315         * manual/locale.texi: Likewise.
43316         * manual/message.texi: Likewise.
43317         * manual/resource.texi: Likewise.
43318         * manual/search.texi: Likewise.
43319         * manual/setjmp.texi: Likewise.
43320         * manual/stdio.texi: Likewise.
43321         * manual/string.texi: Likewise.
43322         * manual/sysinfo.texi: Likewise.
43323         * manual/time.texi: Likewise.
43325 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43327         * po/sl.po: New file.
43329 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43331         * .gitignore: Add core/.gdbinit/.gdb_history.
43333 2013-12-27  Allan McRae  <allan@archlinux.org>
43335         [BZ #16369]
43336         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43337         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43339 2013-12-24  Brooks Moses  <bmoses@google.com>
43341         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43342         all compilers that claim C++98 compliance, not just GCC.
43343         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43344         Likewise.
43346 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43348         * NEWS: Restore accidentally deleted bug-fix entries.
43350 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43351             Ondřej Bílka  <neleai@seznam.cz>
43353         [BZ #15073]
43354         * malloc/malloc.c (_int_free): Perform sanity check only if we
43355         have_lock.
43357 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43359         [BZ #12986]
43360         * manual/stdio.texi (String Input Conversions): Clarify that character
43361         classes are not supported.
43363 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43367 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43369         [BZ #16337]
43370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43371         Calculate results for small negative arguments directly rather
43372         than using reflection formula with special underflow handling.
43374         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43375         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43376         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43377         (fchflags): Likewise.
43378         (revoke): Likewise.
43379         (setlogin): Likewise.
43380         (sigaltstack): Likewise.
43381         (wait4): Likewise.
43382         (sigblock): Remove.
43383         (sigsetmask): Likewise.
43384         (wait3): Likewise.
43385         (waitpid): Likewise.
43386         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43387         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43388         file.
43389         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43390         * sysdeps/unix/bsd/Makefile: ... here.
43391         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43392         * sysdeps/unix/bsd/Versions: ... here.
43393         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43394         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43395         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43396         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43397         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43398         * sysdeps/unix/bsd/sigblock.c: ... here.
43399         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43400         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43401         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43402         * sysdeps/unix/bsd/sigvec.c: ... here.
43403         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43404         * sysdeps/unix/bsd/tcdrain.c: ... here.
43405         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43406         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43407         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43408         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43409         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43410         * sysdeps/unix/bsd/wait.c: ... here.
43411         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43412         * sysdeps/unix/bsd/wait3.c: ... here.
43413         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43414         * sysdeps/unix/bsd/waitpid.c: ... here.
43416 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #16356]
43419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43420         round-to-nearest for [!USE_AS_EXPM1L].
43421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43422         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43423         more tests of exp and exp10.  Expect some exp10 tests to miss
43424         exceptions or fail in directed rounding modes.
43425         * math/auto-libm-test-out: Regenerated.
43426         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43427         (exp10_test_tonearest): New function.
43428         (exp10_towardzero_test_data): New array.
43429         (exp10_test_towardzero): New function.
43430         (exp10_downward_test_data): New array.
43431         (exp10_test_downward): New function.
43432         (exp10_upward_test_data): New array.
43433         (exp10_test_upward): New function.
43434         (main): Call the new functions.
43435         * sysdeps/i386/fpu/libm-test-ulps: Update.
43436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43438 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43440         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43441         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43442         * math/auto-libm-test-out: Regenerated.
43443         * math/libm-test.inc (acosh_test_data): Add more tests.
43444         (atanh_test_data): Likewise.
43445         (ceil_test_data): Likewise.
43446         (copysign_test_data): Likewise.
43447         * sysdeps/i386/fpu/libm-test-ulps: Update.
43448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43450         * timezone/checktab.awk: Update from tzcode 2013i.
43451         * timezone/private.h: Likewise.
43452         * timezone/scheck.c: Likewise.
43453         * timezone/tzfile.h: Likewise.
43454         * timezone/tzselect.ksh: Likewise.
43455         * timezone/zdump.c: Likewise.
43456         * timezone/zic.c: Likewise.
43458         * math/auto-libm-test-in: Add tests of cpow.
43459         * math/auto-libm-test-out: Regenerated.
43460         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43462         mpc_cc_c.
43463         (func_calc_desc): Add mpc_cc_c union field.
43464         (test_functions): Add cpow.
43465         (special_fill_2pi): New function.
43466         (special_real_inputs): Add 2pi.
43467         (calc_generic_results): Handle mpc_cc_c.
43468         * sysdeps/i386/fpu/libm-test-ulps: Update.
43469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43471         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43472         csqrt, ctan and ctanh.
43473         * math/auto-libm-test-out: Regenerated.
43474         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43475         (TEST_COND_x86): Likewise.
43476         (ccos_test_data): Use AUTO_TESTS_c_c.
43477         (ccosh_test_data): Likewise.
43478         (cexp_test_data): Likewise.
43479         (clog_test_data): Likewise.
43480         (csqrt_test_data): Likewise.
43481         (ctan_test_data): Likewise.
43482         (ctan_tonearest_test_data): Likewise.
43483         (ctan_towardzero_test_data): Likewise.
43484         (ctan_downward_test_data): Likewise.
43485         (ctan_upward_test_data): Likewise.
43486         (ctanh_test_data): Likewise.
43487         (ctanh_tonearest_test_data): Likewise.
43488         (ctanh_towardzero_test_data): Likewise.
43489         (ctanh_downward_test_data): Likewise.
43490         (ctanh_upward_test_data): Likewise.
43491         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43492         mpc_c_c.
43493         (func_calc_desc): Add mpc_c_c union field.
43494         (FUNC_mpc_c_c): New macro.
43495         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43496         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43497         ctanh.
43498         (special_fill_min_subnorm_p120): New function.
43499         (special_real_inputs): Add min_subnorm_p120.
43500         (calc_generic_results): Handle mpc_c_c.
43501         * sysdeps/i386/fpu/libm-test-ulps: Update.
43502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43506         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43507         (do_sin_slow): New functions.
43508         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43509         (cslow2, csloww1, csloww2): Use the new functions.
43511         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43512         Use M to change sign of result instead of X.  Assume X is
43513         positive.
43514         (csloww1): Likewise.
43515         (__sin): Adjust.
43516         (__cos): Adjust.
43518         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43519         arguments A and DA.
43520         (__sin): Adjust.
43521         (__cos): Likewise.
43523         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43524         (__cos): Likewise.
43525         (sloww1): Don't adjust sign of DX.
43526         (csloww1): Likewise.
43527         (sloww2): Use X directly and don't adjust sign of DX.
43528         (csloww2): Likewise.
43530 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43532         * math/auto-libm-test-in: Add tests of cabs and carg.
43533         * math/auto-libm-test-out: Regenerated.
43534         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43535         (carg_test_data): Likewise.
43536         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43537         mpc_c_f.
43538         (func_calc_desc): Add mpc_c_f union field.
43539         (test_functions): Add cabs and carg.
43540         (calc_generic_results): Handle mpc_c_f.
43542         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43543         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43544         as a macro and a compat symbol.
43545         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43546         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43547         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43548         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43549         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43550         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43551         not use .hidden.
43552         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43553         Likewise.
43554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43555         Likewise.
43556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43557         Likewise.
43558         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43559         Likewise.
43560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43561         Likewise.
43562         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43563         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43564         from GLIBC_2.3.2.
43566 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43570 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43572         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43573         trailing whitespace removed.
43574         * scripts/config.guess: Update to version 2013-11-29.
43575         * scripts/config.sub: Update to version 2013-10-01.
43577         * math/auto-libm-test-in: Add tests of sincos.
43578         * math/auto-libm-test-out: Regenerated.
43579         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43580         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43581         mpfr_f_11.
43582         (func_calc_desc): Add mpfr_f_11 union field.
43583         (test_functions): Add sincos.
43584         (calc_generic_results): Handle mpfr_f_11.
43585         * sysdeps/i386/fpu/libm-test-ulps: Update.
43586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43588 2013-12-19  Andreas Schwab  <schwab@suse.de>
43590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43591         CALL_MCOUNT.
43592         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43593         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43594         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43596 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43598         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43599         * sysdeps/i386/fpu/libm-test-ulps: Update.
43600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43602         [BZ #16293]
43603         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43604         round-to-nearest mode when using frndint.
43605         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43606         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43607         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43608         Likewise.
43609         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43610         sinh test to fail.
43611         * math/auto-libm-test-out: Regenerated.
43612         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43613         (TEST_COND_x86): Likewise.
43614         (expm1_tonearest_test_data): New array.
43615         (expm1_test_tonearest): New function.
43616         (expm1_towardzero_test_data): New array.
43617         (expm1_test_towardzero): New function.
43618         (expm1_downward_test_data): New array.
43619         (expm1_test_downward): New function.
43620         (expm1_upward_test_data): New array.
43621         (expm1_test_upward): New function.
43622         (main): Run the new test functions.
43623         * sysdeps/i386/fpu/libm-test-ulps: Update.
43624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43626         * include/features.h: Update comment documenting feature test
43627         macros.  Mention _DEFAULT_SOURCE in comment.
43628         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43629         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43630         _BSD_SOURCE and _SVID_SOURCE.
43631         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43632         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43633         !_SVID_SOURCE]: Likewise.
43634         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43635         (__USE_POSIX_IMPLICITLY): Define.
43636         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43637         (_POSIX_SOURCE): Undefine and redefine.
43638         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43639         (_POSIX_C_SOURCE): Likewise.
43640         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43641         (Feature Test Macros): Update documentation of default features.
43643 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43645         * benchtests/Makefile: Add bench-strtok.
43646         * benchtests/bench-strtok.c: New file: strtok benchtest.
43648 2013-12-19  Allan McRae  <allan@archlinux.org>
43650         * manual/install.texi: Suppress menu for plain text output.
43651         * INSTALL: Regenerated.
43653 2013-12-18  Brooks Moses  <bmoses@google.com>
43655         [BZ #15846]
43656         * misc/getauxval.c: Include errno.h.
43657         (__getauxval): Set errno to ENOENT if the requested type is not
43658         found.
43659         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43660         don't declare with __attribute_const__.
43661         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43662         * manual/startup.texi: Document that getauxval sets errno.
43664 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43666         * math/auto-libm-test-in: Add tests of jn and yn.
43667         * math/auto-libm-test-out: Regenerated.
43668         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43669         (yn_test_data): Likewise.
43670         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43671         mpfr_if_f.
43672         (func_calc_desc): Add mpfr_if_f union field.
43673         (FUNC_mpfr_if_f): New macro.
43674         (test_functions): Add jn and yn.
43675         (calc_generic_results): Assert type of second input for
43676         mpfr_ff_f.  Handle mpfr_if_f.
43677         (output_for_one_input_case): Disable all checking for arguments
43678         fitting floating-point types in case of an integer argument.
43679         * sysdeps/i386/fpu/libm-test-ulps: Update.
43680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43683         Don't expect fegetround reference in libm.so.
43685 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43687         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43688         $(config-cflags-nofma).
43690 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43692         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43693         * math/auto-libm-test-out: Regenerated.
43695         [BZ #16338]
43696         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43697         to determine exponent and adjust argument to have exponent of -1.
43698         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43699         log2.
43700         * math/auto-libm-test-out: Regenerated.
43701         * sysdeps/i386/fpu/libm-test-ulps: Update.
43702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43704 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43706         * manual/probes.texi: Remove cases when per-thread arenas are
43707         disabled.
43709 2013-12-18  Andreas Schwab  <schwab@suse.de>
43711         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43712         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43713         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43715         * sysdeps/i386/i686/multiarch/Makefile: Update.
43716         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43718 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43720         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43721         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43723 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43725         [BZ #15968]
43726         Support TZ transition times < 00:00:00.
43727         This is needed for version-3 tz-format files; it supports time
43728         stamps past 2037 for America/Godthab (the only entry in the tz
43729         database for which this change is relevant).
43730         * manual/time.texi (TZ Variable): Document transition times
43731         from -167:59:59 through -00:00:01.
43732         * time/tzset.c (tz_rule): Time of day is now signed.
43733         (__tzset_parse_tz): Parse negative time of day.
43735         Document TZ transition times >= 25:00:00.
43736         * manual/time.texi (TZ Variable): Document transition times from
43737         25:00:00 through 167:59:59.  These are already supported, and this
43738         support will help with version-3 tz-format files.
43740         * manual/time.texi (TZ Variable): Modernize North America example
43741         to reflect current (i.e., 2007-and-later) daylight saving rules.
43743         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43747         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43748         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43751         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43752         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43753         * sysdeps/unix/bsd/clock.c: Likewise.
43754         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43755         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43756         * sysdeps/unix/bsd/init-posix.c: Likewise.
43757         * sysdeps/unix/bsd/poll.c: Likewise.
43758         * sysdeps/unix/bsd/ptsname.c: Likewise.
43759         * sysdeps/unix/bsd/seekdir.c: Likewise.
43760         * sysdeps/unix/bsd/setegid.c: Likewise.
43761         * sysdeps/unix/bsd/seteuid.c: Likewise.
43762         * sysdeps/unix/bsd/setgid.c: Likewise.
43763         * sysdeps/unix/bsd/setrgid.c: Likewise.
43764         * sysdeps/unix/bsd/setruid.c: Likewise.
43765         * sysdeps/unix/bsd/setsid.c: Likewise.
43766         * sysdeps/unix/bsd/setuid.c: Likewise.
43767         * sysdeps/unix/bsd/sigaction.c: Likewise.
43768         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43769         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43770         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43771         * sysdeps/unix/bsd/telldir.c: Likewise.
43772         * sysdeps/unix/bsd/times.c: Likewise.
43773         * sysdeps/unix/bsd/usleep.c: Likewise.
43775         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43776         ($(objpfx)libbsd-compat.a): Remove rule.
43778         * include/features.h (__FAVOR_BSD): Do not define.
43779         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43780         features conflicting with POSIX.
43781         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43782         (_BSD_SOURCE): Remove description of not being a subset of other
43783         feature test macros.
43784         * manual/job.texi (getpgrp): Do not document BSD version.
43785         (getpgid): Do not document by reference to BSD getpgrp.
43786         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43787         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43788         * signal/signal.h [__FAVOR_BSD]: Likewise.
43789         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43790         instead of making contents conditional on [__FAVOR_BSD].
43791         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43793 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43797 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43799         [BZ #16314]
43800         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43801         values below 2**-450, not 2**-500.
43802         * math/auto-libm-test-in: Don't allow spurious underflow from
43803         hypot.
43804         * math/auto-libm-test-out: Regenerated.
43806         [BZ #16316]
43807         [BZ #16330]
43808         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43809         values of ha and hb and sort them after adjusting subnormal
43810         arguments.
43811         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43812         Likewise.
43813         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43814         values of ea and eb and sort them after adjusting subnormal
43815         arguments.
43816         * math/auto-libm-test-in: Do not expect some hypot tests of
43817         subnormals to fail.  Add more hypot tests.
43818         * math/auto-libm-test-out: Regenerated.
43820 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43822         [BZ #13304]
43823         * sysdeps/sh/s_fma.c: New file.
43824         * sysdeps/sh/s_fmaf.c: New file.
43825         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43826         version.
43827         * sysdeps/sh/Implies: Add sh/soft-fp.
43829 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43831         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43832         level of indirection to members `objname', `errstring', `malloced'.
43833         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43834         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43835         it as the __longjmp argument (just pass 1 instead).
43836         (_dl_catch_error): Initialize C with argument pointers and address of
43837         volatile local ERRCODE rather than copying values out of C at return.
43839 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43841         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43842         * math/auto-libm-test-out: Regenerated.
43843         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43844         (hypot_test_data): Likewise.
43845         (pow_test_data): Likewise.
43846         (pow_tonearest_test_data): Likewise.
43847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43848         mpfr_ff_f.
43849         (func_calc_desc): Add mpfr_ff_f union field.
43850         (FUNC_mpfr_ff_f): New macro.
43851         (test_functions): Add atan2, hypot and pow.
43852         (special_fill_min): New function.
43853         (special_fill_minus_min): Likewise.
43854         (special_fill_min_subnorm): Likewise.
43855         (special_fill_minus_min_subnorm): Likewise.
43856         (special_real_inputs): Add min, -min, min_subnorm and
43857         -min_subnorm.
43858         (calc_generic_results): Handle mpfr_ff_f.
43859         * sysdeps/i386/fpu/libm-test-ulps: Update.
43860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43862 2013-12-16  Will Newton  <will.newton@linaro.org>
43864         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43865         (Aligned Memory Blocks): Add documentation for aligned_alloc
43866         and suggest it as an alternative to posix_memalign.
43867         (Hooks for Malloc): Document __memalign_hook is also called
43868         for aligned_alloc.  (Summary of Malloc): Add summary for
43869         aligned alloc.  Document __memalign_hook is also called
43870         for aligned_alloc.
43872 2013-12-16  Will Newton  <will.newton@linaro.org>
43874         * manual/memory.texi (Malloc Examples): Clarify default
43875         alignment documentation.  Suggest posix_memalign rather
43876         than memalign or valloc.
43877         (Aligned Memory Blocks): Remove suggestion to use memalign
43878         or valloc.  Remove obsolete comment about BSD.
43879         Document memalign errno values and mark the function obsolete.
43880         Document posix_memalign returned error codes.  Mark valloc
43881         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43882         called for posix_memalign and valloc.
43883         (Summary of Malloc): Add posix_memalign to function summary.
43884         __memalign_hook is also called for posix_memalign and valloc.
43886 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43888         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43889         TAYLOR_SIN.
43890         (__sin): Adjust.
43891         (__cos): Likewise.
43892         (sloww): Use mynumber union.  Expand ternary operator into
43893         if-else statements.
43894         (cslow): use mynumber union.
43896 2013-12-16  Allan McRae  <allan@archlinux.org>
43898         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43899         * configure: Regenerated.
43901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43903         [BZ #14120]
43904         * configure.ac: Added --enable-maintainer-mode. Check for
43905         autoconf when enabled.
43906         * configure: Regenerated.
43908         * nscd/nscd.service: New file.
43909         * nscd/nscd.tmpfiles: New file.
43911 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43913         [BZ #12100]
43914         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43915         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43916         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43917         (strstr): Add __strstr_sse2_unaligned ifunc.
43918         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43919         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43920         (strcasestr): Remove __strcasestr_sse42 ifunc.
43921         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43925 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43927         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43928         * sysdeps/sh/bits/fenv.h: ... here.
43929         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43931 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43933         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43936         hypotf multiarch implementations.
43937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43940         multiarch hypot for PPC64.
43941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43944         multiarch hypotf for PPC64.
43946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43947         modff multiarch implementations.
43948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43951         multiarch modf for PPC64.
43952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43955         multiarch modff for PPC64.
43957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43958         and logl multiarch implementations.
43959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43962         multiarch logb for PPC64.
43963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43966         multiarch logb for PPC64.
43967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43970         multiarch logb for PPC64.
43972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43973         isinff multiarch implementation.
43974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43975         file.
43976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43978         multiarch isinf for PPC64.
43979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43980         file.
43981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43982         multiarch isinff for PPC64.
43984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43985         finitef multiarch implementation.
43986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43987         file.
43988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43990         multiarch finite for PPC64.
43991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43992         file.
43993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43994         multiarch finitef for PPC64.
43996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43997         lrint multiarch implementation.
43998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43999         file.
44000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44002         multiarch llrint for PPC64.
44003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44004         multiarch lrint for PPC64.
44006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44007         copysignf multiarch implementation.
44008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44009         file.
44010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44011         file.
44012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44013         multiarch copysign for PPC64.
44014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44015         multiarch copysignf for PPC64.
44017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44018         multiarch implementation.
44019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44020         file.
44021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44022         file.
44023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44024         file.
44025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44026         file.
44027         multiarch llround for PPC64.
44028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44029         multiarch trunc for PPC64.
44030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44031         multiarch truncf for PPC64.
44033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44034         multiarch implementation.
44035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44036         file.
44037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44038         file.
44039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44040         file.
44041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44042         file.
44043         multiarch llround for PPC64.
44044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44045         multiarch round for PPC64.
44046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44047         multiarch roundf for PPC64.
44049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44050         multiarch implementation.
44051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44052         file.
44053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44054         file.
44055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44056         file.
44057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44058         file.
44059         multiarch llround for PPC64.
44060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44061         multiarch floor for PPC64.
44062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44063         multiarch floorf for PPC64.
44065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44066         multiarch implementation.
44067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44068         file.
44069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44070         file.
44071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44072         file.
44073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44074         file.
44075         multiarch llround for PPC64.
44076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44077         multiarch ceil for PPC64.
44078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44079         multiarch ceilf for PPC64.
44081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44082         multiarch implementation.
44083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44084         file.
44085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44086         file.
44087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44088         file.
44089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44090         multiarch llround for PPC64.
44091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44092         multiarch lround for PPC64.
44094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44095         multiarch implementation.
44096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44099         file.
44100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44103         multiarch isnan for PPC64.
44104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44105         multiarch isnanf for PPC64.
44107         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44108         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44109         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44110         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44111         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44114         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44115         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44120         multiarch implementations.
44121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44122         (__libc_ifunc_impl_list): Likewise.
44123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44126         multiarch stpcpy for PPC64.
44128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44129         multiarch implementations.
44130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44131         (__libc_ifunc_impl_list): Likewise.
44132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44133         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44134         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44135         multiarch strcpy for PPC64.
44137         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44138         redefine function name.
44139         (_wordcopy_fwd_dest_aligned): Likewise.
44140         (_wordcopy_bwd_aligned): Likewise.
44141         (_wordcopy_bwd_dest_aligned): Likewise.
44142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44143         multiarch implementations.
44144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44145         (__libc_ifunc_impl_list): Likewise.
44146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44148         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44149         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44150         multiarch wcscpy for PPC64.
44152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44153         multiarch implementations.
44154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44155         (__libc_ifunc_impl_list): Likewise.
44156         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44157         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44159         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44160         multiarch wcscpy for PPC64.
44162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44163         multiarch implementations.
44164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44165         (__libc_ifunc_impl_list): Likewise.
44166         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44167         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44168         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44169         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44170         multiarch wcsrchr for PPC64.
44172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44173         multiarch implementations.
44174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44175         (__libc_ifunc_impl_list): Likewise.
44176         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44177         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44178         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44179         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44180         multiarch wcschr for PPC64.
44182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44183         multiarch implementations.
44184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44185         (__libc_ifunc_impl_list): Likewise.
44186         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44187         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44188         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44189         multiarch strchrnul for PPC64.
44191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44192         implementations.
44193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44194         (__libc_ifunc_impl_list): Likewise.
44195         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44196         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44197         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44198         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44199         strchr for PPC64.
44201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44202         implementations.
44203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44204         (__libc_ifunc_impl_list): Likewise.
44205         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44206         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44207         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44208         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44209         strncmp for PPC64.
44211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44212         multiarch implementations.
44213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44214         (__libc_ifunc_impl_list): Likewise.
44215         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44216         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44217         strncasecmp for PPC64.
44218         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44219         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44220         multiarch strncasecmp_l for PPC64.
44222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44223         multiarch implementations.
44224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44225         (__libc_ifunc_impl_list): Likewise.
44226         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44228         multiarch strcasecmp for PPC64.
44229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44230         file.
44231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44232         multiarch strcasecmp_l for PPC64.
44234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44235         implementations.
44236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44237         (__libc_ifunc_impl_list): Likewise.
44238         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44239         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44240         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44241         strnlen for PPC64.
44243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44244         implementations.
44245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44246         (__libc_ifunc_impl_list): Likewise.
44247         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44248         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44249         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44250         strlen for PPC64.
44252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44253         implementations.
44254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44255         (__libc_ifunc_impl_list): Likewise.
44256         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44257         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44258         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44259         rawmemrchr for PPC64.
44261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44262         implementation.
44263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44264         (__libc_ifunc_impl_list): Likewise.
44265         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44266         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44267         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44268         memrchr for PPC64.
44270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44271         implementation.
44272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44273         (__libc_ifunc_impl_list): Likewise.
44274         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44275         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44276         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44277         memchr for PPC64.
44279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44280         implementation.
44281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44282         (__libc_ifunc_impl_list): Likewise.
44283         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44284         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44285         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44286         mempcpy for PPC64.
44288         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44289         avoid cretion of __bzero symbol.
44290         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44291         Likewise.
44292         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44293         Likewise.
44294         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44295         Likewise.
44296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44297         multiarch implementations.
44298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44299         (__libc_ifunc_impl_list): Likewise.
44300         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44301         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44302         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44303         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44304         bzero for PPC32.
44305         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44306         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44307         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44308         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44309         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44310         memset for PPC64.
44311         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44313         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44315         implementations.
44316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44317         (__libc_ifunc_impl_list): Likewise.
44318         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44319         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44320         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44321         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44322         memcmp for PPC64.
44324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44325         multiarch for POWER/PPC64.
44326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44327         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44334         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44335         memcpy for PPC64.
44337         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44338         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44339         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44340         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44341         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44342         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44343         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44344         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44345         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44346         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44347         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44348         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44349         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44350         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44351         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44360 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44362         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44364 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44366         * benchtests/Makefile (bench): Add exp2 and log2.
44367         (LDLIBS-bench-exp2): Add -lm.
44368         (LDLIBS-bench-log2): Likewise.
44369         * benchtests/exp2-inputs: New inputs file.
44370         * benchtests/log2-inputs: New inputs file.
44371         * benchtests/log-inputs: Add new inputs.
44372         * benchtests/tan-inputs: Likewise.
44374 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44376         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44377         definition...
44378         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44379         (csloww2): ... from here.
44381         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44382         instead of structures.
44383         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44384         (POLYNOMIAL): Likewise.
44385         (TAYLOR_SLOW): Likewise.
44386         (__sin): Likewise.
44387         (__cos): Likewise.
44388         (slow1): Likewise.
44389         (slow2): Likewise.
44390         (sloww): Likewise.
44391         (sloww1); Likewise.
44392         (sloww2): Likewise.
44393         (bsloww1): Likewise.
44394         (bsloww2): Likewise.
44395         (cslow2): Likewise.
44396         (csloww): Likewise.
44397         (csloww1): Likewise.
44398         (csloww2): Likewise.
44400 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44402         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44403         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44404         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44405         * malloc/hooks.c (realloc_check): Likewise.
44407         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44408         * malloc/arena.c: Remove PER_THREAD conditional.
44409         [!PER_THREAD]: Remove code.
44410         (ptmalloc_unlock_all2): Likewise.
44411         (ptmalloc_init): Likewise.
44412         (_int_new_arena): Likewise.
44413         (arena_get2): Likewise.
44414         * malloc/hooks.c (__malloc_get_state): Likewise.
44415         (__malloc_set_state): Likewise.
44416         * malloc/malloc.c: Likewise.
44417         (struct malloc_state): Likewise.
44418         (struct malloc_par): Likewise.
44419         (__libc_realloc): Likewise.
44420         (__libc_mallopt): Likewise.
44422 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44424         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44426 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44428         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44429         macro to a function.  Check for zero perturb_byte.
44430         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44432         * malloc/malloc.c: (force_reg): Remove.
44433         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44434         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44435         force_reg by atomic_forced_read.
44436         * malloc/arena.c (ptmalloc_init): Likewise.
44437         * malloc/hooks.c (top_check): Likewise.
44439 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44443 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44447 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44449         * math/auto-libm-test-in: Add tests of lgamma.
44450         * math/auto-libm-test-out: Regenerated.
44451         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44452         (M_LOG_2_SQRT_PIl): Likewise.
44453         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44454         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44455         mpfr_f_f1.
44456         (func_calc_desc): Add mpfr_f_f1 union field.
44457         (ARGS1): New macro.
44458         (ARGS2): Likewise.
44459         (ARGS3): Likewise.
44460         (ARGS4): Likewise.
44461         (RET1): Likewise.
44462         (RET2): Likewise.
44463         (CALC): Likewise.
44464         (FUNC): Likewise.
44465         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44466         (test_functions): Add lgamma.
44467         (calc_generic_results): Handle mpfr_f_f1.
44468         * sysdeps/i386/fpu/libm-test-ulps: Update.
44469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44473         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44474         __mpn_add_n for PowerPC64/POWER7.
44475         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44476         __mpn_sub_n for PowerPC64/POWER7.
44478         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44479         __mpn_addmul_1 for PowerPC64.
44480         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44481         __mpn_submul_1 for PowerPC64.
44482         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44483         for PowerPC64.
44484         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44485         for PowerPC64.
44487 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44489         [BZ #15089]
44490         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44492 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44494         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44496         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44497         add multiarch folders.
44498         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44499         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44500         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44501         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44502         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44503         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44504         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44505         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44506         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44507         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44508         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44517         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44519         New file.
44520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44521         New file.
44522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44523         multiarch __ieee754_hypot for PowerPC32.
44524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44525         New file.
44526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44527         New file.
44528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44529         multiarch __ieee754_hypotf for PowerPC32.
44531         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44532         long_double_symbol only if __logbl is defined.
44533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44534         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44536         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44538         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44539         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44540         path for implementation.
44541         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44542         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44544         logb, and logbl multiarch implementations for PowerPC32.
44545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44546         file.
44547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44548         file.
44549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44550         multiarch logb for PowerPC32.
44551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44552         file.
44553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44554         file.
44555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44556         multiarch logbf for PowerPC32.
44557         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44559         file.
44560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44561         multiarch logbl implementation for PowerPC32.
44563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44564         and modff multiarch implementations.
44565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44566         New file.
44567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44568         New file.
44569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44570         multiarch modf for PowerPC32.
44571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44572         New file.
44573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44574         New file.
44575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44576         multiarch modff for PowerPC32.
44578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44579         and lrintf multiarch implementations.
44580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44581         New file.
44582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44583         New file.
44584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44585         multiarch lrint for PowerPC32.
44586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44587         file: multiarch lrintf for PowerPC32.
44589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44590         and lroundf multiarch implementations.
44591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44592         New file.
44593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44594         New file.
44595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44596         New file.
44597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44598         multiarch lround for PowerPC32.
44599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44600         file: multiarch lroundf for PowerPC32.
44602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44603         copysign and copysignf multiarch implementations.
44604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44605         New file.
44606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44607         New file.
44608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44609         file: multiarch copysign for PowerPC32.
44610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44611         file: multiarch copysignf for PowerPC32.
44613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44614         and truncf multiarch implementations.
44615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44616         New file.
44617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44618         file.
44619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44620         multiarch trunc for PowerPC32.
44621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44622         New file.
44623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44624         New file.
44625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44626         multiarch truncf for PowerPC32.
44628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44629         and roundf multiarch implementations.
44630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44631         New file.
44632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44633         file.
44634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44635         multiarch round for PowerPC32.
44636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44637         New file.
44638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44639         New file.
44640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44641         multiarch roundf for PowerPC32.
44643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44644         and floorf multiarch implementations.
44645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44646         New file.
44647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44648         file.
44649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44650         multiarch floor for PowerPC32.
44651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44652         New file.
44653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44654         New file.
44655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44656         multiarch floorf for PowerPC32.
44658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44659         and ceilf multiarch implementations.
44660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44661         New file.
44662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44663         file.
44664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44665         multiarch ceil for PowerPC32.
44666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44667         New file.
44668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44669         file.
44670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44671         multiarch ceilf for PowerPC32.
44673         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44674         is defined.
44675         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44676         FINITEF is defined.
44677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44678         and finitef multiarch implementations.
44679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44680         New file.
44681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44682         file.
44683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44684         multiarch finite for PowerPC32.
44685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44686         New file.
44687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44688         file: multiarch finitef for PowerPC32.
44690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44691         and isinff multiarch implementations.
44692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44693         file.
44694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44695         file.
44696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44697         multiarch isinf for PowerPC32.
44698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44699         New file.
44700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44701         multiarch isinff for PowerPC32.
44703         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44704         alias when __isnan is defined.
44705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44706         and isnanf multiarch implementations.
44707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44708         file.
44709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44710         file.
44711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44712         file.
44713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44714         file.
44715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44716         multiarch isnan for PowerPC32.
44717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44718         New file.
44719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44720         New file.
44721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44722         multiarch isnanf for PowerPC32.
44724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44725         and sqrtf multiarch implementations.
44726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44727         file.
44728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44729         file.
44730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44731         multiarch sqrt for PowerPC32.
44732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44733         file.
44734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44735         file.
44736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44737         multiarch sqrtf for PowerPC32.
44739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44740         and llroundf multiarch implementations.
44741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44742         New file.
44743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44744         New file.
44745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44746         New file.
44747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44748         file: multiarch llround for PowerPC32.
44749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44750         file: multiarch llroundf for PowerPC32.
44752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44753         multiarch PowerPC32 fpu implementations.
44754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44755         New file.
44756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44757         New file.
44758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44759         multiarch llrint for PowerPC32.
44760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44761         New file.
44762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44763         New file.
44764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44765         file.
44767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44769         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44770         file.
44771         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44772         file.
44773         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44774         file.
44775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44776         multiarch wordcopy for PPC32.
44777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44778         wordcopy objects.
44779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44780         (__libc_ifunc_impl_list): Likewise.
44781         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44782         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44783         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44784         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44785         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44786         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44788         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44790         file.
44791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44792         file.
44793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44794         file.
44795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44796         multiarch wcscpy for PPC32.
44797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44798         multiarch objects.
44799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44800         (__libc_ifunc_impl_list): Likewise.
44801         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44802         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44803         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44804         sysdeps/powerpc/power6/wcscpy.c.
44806         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44808         file.
44809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44810         file.
44811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44812         file.
44813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44814         multiarch wcsrchr for PPC32.
44815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44816         multiarch objects.
44817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44818         (__libc_ifunc_impl_list): Likewise.
44819         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44820         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44821         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44822         sysdeps/powerpc/power6/wcsrchr.c.
44824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44825         file.
44826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44827         file.
44828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44830         multiarch wcschr for PPc32.
44831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44832         multiarch objects.
44833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44834         (__libc_ifunc_impl_list): Likewise.
44835         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44836         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44837         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44838         sysdeps/powerpc/power6/wcschr.c.
44840         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44841         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44842         file.
44843         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44844         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44845         file: multiarch strchr for PPC32.
44846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44847         multiarch objects.
44848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44849         (__libc_ifunc_impl_list): Likewise.
44851         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44852         name.
44853         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44854         file.
44855         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44856         file.
44857         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44858         multiarch strchrnul for PPC32.
44859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44860         multiarch objects.
44861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44862         (__libc_ifunc_impl_list): Likewise.
44864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44865         file.
44866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44867         multiarch strncasecmp for PPC32.
44868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44869         file.
44870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44871         multiarch strncasecmp_l for PPC32.
44872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44873         strncasecmp multiarch objects.
44874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44875         (__libc_ifunc_impl_list): Likewise.
44877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44878         file.
44879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44880         multiarch strncasecmp for PPC32.
44881         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44882         New file.
44883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44884         multiarch strcasecmp_l for PPC32.
44885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44886         multiarch objects.
44887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44888         (__libc_ifunc_impl_list): Likewise.
44890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44891         file.
44892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44893         file.
44894         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44895         multiarch strncmp for PPC32.
44896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44897         multiarch objects.
44898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44899         (__libc_ifunc_impl_list): Likewise.
44901         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44902         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44903         file.
44904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44905         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44907         multiarch objects.
44908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44909         (__libc_ifunc_impl_list): Likewise.
44911         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44912         file.
44913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44914         file.
44915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44917         multiarch objects.
44918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44919         (__libc_ifunc_impl_list): Likewise.
44921         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44922         file.
44923         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44924         file.
44925         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44926         multiarch rawmemchr for PPC32.
44927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44928         multiarch objects.
44929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44930         (__libc_ifunc_impl_list): Likewise.
44932         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44933         file.
44934         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44935         file.
44936         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44937         file: memrchr multiarch for PPC32.
44938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44939         multiarch objects.
44940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44941         (__libc_ifunc_impl_list): Likewise.
44943         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44944         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44945         file.
44946         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44947         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44948         multiarch memchr for PPC32.
44949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44950         multiarch objects.
44951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44952         (__libc_ifunc_impl_list): Likewise.
44954         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44955         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44956         file.
44957         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44958         file.
44959         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44960         file: multiarch mempcpy for PPC32.
44961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44962         multiarch objects.
44963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44964         (__libc_ifunc_impl_list): Likewise.
44966         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44968         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44969         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44970         multiarch bzero for PPC32.
44971         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44972         file.
44973         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44974         file.
44975         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44976         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44977         file: multiarch memset for PPC32.
44978         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44980         memset multiarch objects.
44981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44982         (__libc_ifunc_impl_list): Likewise.
44984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44985         file.
44986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44988         memcmp for PPC32.
44989         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44991         multiarch objects.
44992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44993         (__libc_ifunc_impl_list): Likewise.
44995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44998         file.
44999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45000         file.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45002         file.
45003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45004         multiarch memcpy for PPC32.
45005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45006         multiarch objects.
45007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45008         (__libc_ifunc_impl_list): Likewise.
45010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45011         support multiarch for POWER/PPC32.
45012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45013         Likewise.
45014         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45016         Implies file to make multiarch folder appers before the fpu and
45017         default folder for power4 configuration.
45019 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45021         * scripts/bench.pl: Append volatile keyword to type.
45023 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45025         * sysdeps/sh/sotruss-lib.c: New file.
45026         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45028 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45032 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45034         [BZ #6810]
45035         * math/w_tgamma.c: Include <errno.h>.
45036         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45037         * math/w_tgammaf.c: Include <errno.h>.
45038         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45039         * math/w_tgammal.c: Include <errno.h>.
45040         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45041         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45042         underflow.  Add more tgamma tests.
45043         * math/auto-libm-test-out: Regenerated.
45044         * sysdeps/i386/fpu/libm-test-ulps: Update.
45045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45047         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45048         sin, sinh, tan, tanh, tgamma, y0 and y1.
45049         * math/auto-libm-test-out: Regenerated.
45050         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45051         (TEST_COND_x86): Likewise.
45052         (M_E2l): Remove macro.
45053         (M_E3l): Likewise.
45054         (M_2_SQRT_PIl): Likewise.
45055         (M_SQRT_PIl): Likewise.
45056         (M_1_DIV_El): Likewise.
45057         (log_test_data): Use AUTO_TESTS_f_f.
45058         (log10_test_data): Likewise.
45059         (log1p_test_data): Likewise.
45060         (log2_test_data): Likewise.
45061         (sin_test_data): Likewise.
45062         (sin_tonearest_test_data): Likewise.
45063         (sin_towardzero_test_data): Likewise.
45064         (sin_downward_test_data): Likewise.
45065         (sin_upward_test_data): Likewise.
45066         (sinh_test_data): Likewise.
45067         (sinh_tonearest_test_data): Likewise.
45068         (sinh_towardzero_test_data): Likewise.
45069         (sinh_downward_test_data): Likewise.
45070         (sinh_upward_test_data): Likewise.
45071         (tan_test_data): Likewise.
45072         (tan_tonearest_test_data): Likewise.
45073         (tan_towardzero_test_data): Likewise.
45074         (tan_downward_test_data): Likewise.
45075         (tan_upward_test_data): Likewise.
45076         (tanh_test_data): Likewise.
45077         (tgamma_test_data): Likewise.
45078         (y0_test_data): Likewise.
45079         (y1_test_data): Likewise.
45080         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45081         (special_real_inputs): Add pi/4.
45082         * sysdeps/i386/fpu/libm-test-ulps: Update.
45083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45085 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45087         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45088         "longjmp_target" static probes.
45089         (__longjmp): Rename to __longjmp_symbol.
45090         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45091         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45092         on which longjmp to generate.
45093         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45094         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45095         probe.
45096         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45097         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45098         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45099         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45100         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45101         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45103         __longjmp_symbol based on which __longjmp to generate.
45104         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45105         probe.
45106         (setjmp): Rename to setjmp_symbol.
45107         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45108         (_setjmp): Rename to _setjmp_symbol.
45109         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45110         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45111         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45112         which setjmp to generate.
45113         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45114         "longjmp_target" static probes.
45116 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45118         * benchtests/README: Add note about output arguments.
45119         * benchtests/bench-sincos.c: Remove file.
45120         * benchtests/sincos-inputs: New file.
45121         * scripts/bench.pl: Identify output arguments and define
45122         static variables for them.
45124         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45126         [BZ #15941]
45127         * Makefile (INSTALL): Add install-plain.texi as the primary
45128         dependency.
45129         * manual/install-plain.texi: New file.
45130         * manual/install.texi: Include node directive only for
45131         non-plaintext output.
45133 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45135         * stdlib/longlong.h: Update from GCC.
45137         [BZ #6807]
45138         [BZ #15901]
45139         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45140         * math/w_j0f.c (y0f): Likewise.
45141         * math/w_j0l.c (__y0l): Likewise.
45142         * math/w_j1.c (y1): Likewise.
45143         * math/w_j1f.c (y1f): Likewise.
45144         * math/w_j1l.c (__y1l): Likewise.
45145         * math/w_jn.c (yn): Likewise.
45146         * math/w_jnf.c (ynf): Likewise.
45147         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45148         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45149         value for Bessel function domain errors outside _SVID_ mode.
45150         Adjust sign of return value for yn (negative integer, 0).
45151         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45152         by zero in return for negative x and set sign appropriately for
45153         negative n.
45154         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45155         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45156         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45157         expectations in error cases.
45158         (y1_test_data): Likewise.
45159         (yn_test_data): Likewise.
45160         * sysdeps/i386/fpu/libm-test-ulps: Update.
45161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45163 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45165         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45166         "64" to "64-v1".  Add "64-v2".
45167         (abi-64-options): Rename to ...
45168         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45169         (abi-64-condition): Rename to ...
45170         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45171         (abi-64-ld-soname): Rename to ...
45172         (abi-64-v1-ld-soname): ... this.
45173         (abi-64-v2-options): Define.
45174         (abi-64-v2-condition): Likewise.
45175         (abi-64-v2-ld-soname): Likewise.
45176         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45177         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45182 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45183             Alan Modra  <amodra@gmail.com>
45185         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45186         New versions for use with the ELFv2 ABI.
45187         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45188         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45189         declaration.
45190         (struct La_ppc64v2_retval): Likewise.
45191         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45192         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45193         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45194         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45195         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45196         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45197         Do not save or restore CR.
45198         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45199         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45200         return values for ELFv2 ABI.  Fix location of FPR return registers.
45201         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45202         updated values for _CALL_ELF == 2.
45203         (La_regs, La_retval, int_retval): Likewise.
45205 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45207         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45208         (FRAME_MIN_SIZE_PARM): Likewise.
45209         (FRAME_BACKCHAIN): Likewise.
45210         (FRAME_CR_SAVE): Likewise.
45211         (FRAME_LR_SAVE): Likewise.
45212         (FRAME_TOC_SAVE): Likewise.
45213         (FRAME_PARM_SAVE): Likewise.
45214         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45215         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45216         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45217         (call_mcount_parm_offset): New macro.
45218         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45219         (PROF): Use symbolic stack frame offsets.
45220         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45221         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45222         Redefine in terms of FRAME_MIN_SIZE.
45223         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45224         (_dl_profile_resolve): Likewise.  Update comment.
45225         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45226         symbols stack frame offsets.
45227         (__sigsetjmp): Likewise.
45228         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45229         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45230         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45231         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45234         (FRAME_BACKCHAIN): Remove.
45235         (FRAME_CR_SAVE): Likewise.
45236         (FRAME_LR_SAVE): Likewise.
45237         (FRAME_COMPILER_DW): Likewise.
45238         (FRAME_LINKER_DW): Likewise.
45239         (FRAME_TOC_SAVE): Likewise.
45240         (FRAME_PARM_SAVE): Likewise.
45241         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45242         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45243         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45245         (CHECK_SP): Use symbolic stack frame offsets.
45246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45247         zone" instead of caller's parameter save area for temp storage.
45248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45249         Likewise.  Also, use symbolic stack frame offsets.
45250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45251         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45252         our own stack frame instead of the caller's.
45253         (__socket): Use symbolic stack frame offsets.
45255 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45256             Alan Modra  <amodra@gmail.com>
45258         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45259         Define.
45260         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45261         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45262         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45263         New function.
45264         (elf_machine_fixup_plt): Call it.
45265         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45266         reloc arguments.
45267         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45268         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45269         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45270         r2 before calling target.
45272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45273             Alan Modra  <amodra@gmail.com>
45275         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45276         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45277         versions of macros to support ELFv2 ABI.
45278         (LOCALENTRY): New macro.
45279         (ENTRY, EALIGN): Use it.
45280         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45281         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45282         fall through into ENTRY entry point.
45283         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45284         Only define if _CALL_ELF != 2.
45286         (elf_machine_matches_host): Verify ABI version matches.
45287         (RTLD_START): Use LOCALENTRY.
45288         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45289         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45290         (PLT_ENTRY_WORDS): New macro.
45291         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45292         (elf_machine_runtime_setup): Support ELFv2 ABI.
45293         (elf_machine_fixup_plt): Likewise.
45294         (elf_machine_plt_conflict): Likewise.
45295         (resolve_ifunc): Likewise.
45296         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45297         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45298         Likewise.
45299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45300         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45302         (makecontext): Support ELFv2 ABI.
45303         * elf/elf.h (EF_PPC64_ABI): Define.
45305 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45307         * sysdeps/powerpc/powerpc64/sysdep.h
45308         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45309         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45310         (ENTRY) [ASSEMBLER]: ... but instead here ...
45311         (EALIGN) [ASSEMBLER]: ... and here.
45312         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45313         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45314         (ENTRY_2) [!ASSEMBLER]: Use it.
45315         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45316         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45317         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45318         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45319         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45321         Use PPC64_LOAD_FUNCPTR.
45323         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45325 2013-12-04  Alan Modra  <amodra@gmail.com>
45327         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45328         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45329         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45330         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45333         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45334         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45335         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45336         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45337         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45342         (__makecontext): Fix incorrect CFI when backtracing out of
45343         context created via makecontext.
45344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45345         (__setcontext): Fix incorrect CFI during switch to new context.
45346         (__novec_setcontext): Likewise.
45348 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45350         [BZ #4772]
45351         * time/strptime_l.c (__strptime_internal): Allow modifiers
45352         in strptime.
45353         * time/tst-strptime.c (day_tests): Add testcase.
45355 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45357         * scripts/bench.pl: Skip over blank lines.
45359 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45361         [BZ #926]
45362         * manual/time.texi (Calendar Time): Clarify what timezone functions
45363         use.
45365 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45369 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45371         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45372         implementation.
45373         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45374         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45375         * debug/memset_chk.c (__memset_chk): Likewise.
45376         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45377         * debug/strncpy_chk.c: Likewise.
45379 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45381         [BZ #15268]
45382         [BZ #15425]
45383         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45384         (__ieee754_exp): For possibly underflowing results, check size of
45385         result and force underflow exception if required.
45386         * math/auto-libm-test-in: Add more tests of exp.
45387         * math/auto-libm-test-out: Regenerated.
45388         * sysdeps/i386/fpu/libm-test-ulps: Update.
45389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45391         [BZ #16283]
45392         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45393         * math/w_exp2f.c (__exp2f): Likewise.
45394         * math/w_exp2l.c (__exp2l): Likewise.
45395         * math/auto-libm-test-in: Do not allow missing errno on exp2
45396         underflow.
45397         * math/auto-libm-test-out: Regenerated.
45399 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45401         [BZ #16274]
45402         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45403         handle filename validation.
45404         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45405         (do_open): Delete.
45407 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45409         [BZ #6786]
45410         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45411         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45412         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45413         <float.h>.
45414         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45415         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45416         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45418         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45419         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45420         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45421         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45422         Add more erfc tests.
45423         * math/auto-libm-test-out: Regenerated.
45424         * sysdeps/i386/fpu/libm-test-ulps: Update.
45425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45427         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45428         exp2, expm1, j0 and j1.
45429         * math/auto-libm-test-out: Regenerated.
45430         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45431         (erfc_test_data): Likewise.
45432         (exp_test_data): Likewise.
45433         (exp_tonearest_test_data): Likewise.
45434         (exp_towardzero_test_data): Likewise.
45435         (exp_downward_test_data): Likewise.
45436         (exp_upward_test_data): Likewise.
45437         (exp10_test_data): Likewise.
45438         (exp2_test_data): Likewise.
45439         (expm1_test_data): Likewise.
45440         (j0_test_data): Likewise.
45441         (j1_test_data): Likewise.
45442         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45443         (input_flag_type): Add flag_xfail_rounding.
45444         (input_flags): Add xfail-rounding.
45445         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45446         (output_for_one_input_case): Handle flag_xfail_rounding.
45447         * sysdeps/i386/fpu/libm-test-ulps: Update.
45448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45450 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45452         [BZ #16289]
45453         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45454         division by 0.
45456 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45458         [BZ #16195]
45459         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45460         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45461         (STAP_PROBE0): New macro.
45462         (STAP_PROBE1): Likewise.
45463         (STAP_PROBE2): Likewise.
45464         (STAP_PROBE3): Likewise.
45465         (STAP_PROBE4): Likewise.
45467 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45469         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45471 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45473         * benchtests/Makefile (bench): Add sqrt.
45474         (LDLIBS-bench-sqrt): New.
45475         * benchtests/sqrt-input: New.
45477 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45479         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45480         (GAIH_EAI): Likewise.
45481         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45482         (gaih_inet): Likewise.
45483         (getaddrinfo): Don't use GAIH_EAI.
45485         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45486         (struct gaih): Remove definition.
45488 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45490         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45491         Use HERRNOP directly.
45493 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45497 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45499         * math/gen-auto-libm-tests.c (test_functions): Add more
45500         single-argument functions.
45501         (special_fill_pi_2): New function.
45502         (special_fill_minus_pi_2): Likewise.
45503         (special_fill_pi_6): Likewise.
45504         (special_fill_minus_pi_6): Likewise.
45505         (special_fill_pi_3): Likewise.
45506         (special_fill_2pi_3): Likewise.
45507         (special_fill_e): Likewise.
45508         (special_fill_1_e): Likewise.
45509         (special_fill_e_minus_1): Likewise.
45510         (special_real_inputs): Add more special inputs.
45511         (output_for_one_input_case): Do not require ERANGE on underflow to
45512         zero if round-to-nearest result does not underflow to zero, unless
45513         exact results required.
45514         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45515         atan, atanh, cbrt, cos and cosh.
45516         * math/auto-libm-test-out: Regenerated.
45517         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45518         (acos_tonearest_test_data): Likewise.
45519         (acos_towardzero_test_data): Likewise.
45520         (acos_downward_test_data): Likewise.
45521         (acos_upward_test_data): Likewise.
45522         (acosh_test_data): Likewise.
45523         (asin_test_data): Likewise.
45524         (asin_tonearest_test_data): Likewise.
45525         (asin_towardzero_test_data): Likewise.
45526         (asin_upward_test_data): Likewise.
45527         (asinh_test_data): Likewise.
45528         (atan_test_data): Likewise.
45529         (atanh_test_data): Likewise.
45530         (cbrt_test_data): Likewise.
45531         (cos_test_data): Likewise.
45532         (cos_tonearest_test_data): Likewise.
45533         (cos_towardzero_test_data): Likewise.
45534         (cos_downward_test_data): Likewise.
45535         (cos_upward_test_data): Likewise.
45536         (cosh_test_data): Likewise.
45537         (cosh_tonearest_test_data): Likewise.
45538         (cosh_towardzero_test_data): Likewise.
45539         (cosh_downward_test_data): Likewise.
45540         (cosh_upward_test_data): Likewise.
45541         * sysdeps/i386/fpu/libm-test-ulps: Update.
45542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45544 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45546         [BZ #6787]
45547         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45548         * math/w_exp10f.c (__exp10f): Likewise.
45549         * math/w_exp10l.c (__exp10l): Likewise.
45550         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45551         errno settings in existing tests.
45553         [BZ #14032]
45554         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45555         precision control set to double precision.
45556         * sysdeps/i386/fpu/w_sqrt.c: New file.
45557         * math/auto-libm-test-in: Add more tests.
45558         * math/auto-libm-test-out: Update.
45560         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45561         (sqrt_test_tonearest): New function.
45562         (sqrt_towardzero_test_data): New variable.
45563         (sqrt_test_towardzero): New function.
45564         (sqrt_downward_test_data): New variable.
45565         (sqrt_test_downward): New function.
45566         (sqrt_upward_test_data): New variable.
45567         (sqrt_test_upward): New function.
45568         (main): Call the new functions.
45570         * math/gen-auto-libm-tests.c: New file.
45571         * math/auto-libm-test-in: Likewise.
45572         * math/auto-libm-test-out: New generated file.
45573         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45574         variables.
45575         (%beautify): Add generated representations of zero.
45576         (top level): Set $auto_input and call parse_auto_input.
45577         (beautify): Remove trailing "f" from hex float constants.
45578         (parse_args): Handle XFAIL_TEST.
45579         (convert_condition): New function.
45580         (or_value): Likewise.
45581         (or_cond_value): Likewise.
45582         (generate_testfile): Handle AUTO_TESTS_* lines.
45583         (parse_auto_input): New function.
45584         * math/libm-test.inc (XFAIL_TEST): New macro.
45585         (ERRNO_UNCHANGED): Update value.
45586         (ERRNO_EDOM): Likewise.
45587         (ERRNO_ERANGE): Likewise.
45588         (IGNORE_RESULT): Likewise.
45589         (TEST_COND_flt_32): New macro.
45590         (TEST_COND_dbl_64): Likewise.
45591         (TEST_COND_ldbl_96_intel): Likewise.
45592         (TEST_COND_ldbl_96_m68k): Likewise.
45593         (TEST_COND_ldbl_128): Likewise.
45594         (TEST_COND_ldbl_128ibm): Likewise.
45595         (TEST_COND_long32): Likewise.
45596         (TEST_COND_long64): Likewise.
45597         (TEST_COND_before_rounding): Likewise.
45598         (TEST_COND_after_rounding): Likewise.
45599         (enable_test): Handle XFAIL_TEST flag.
45600         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45601         with finite results.
45602         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45603         auto-libm-test-out.
45605 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45606             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45608         [BZ #16214]
45609         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45610         __tls_get_addr_internal instead of __tls_get_offset in order to
45611         avoid GOT pointer dependency.  Make rtld export
45612         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45613         __tls_get_addr since we are a __tls_get_offset platform.
45614         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45615         GOT pointer being set up before.
45616         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45618 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45620         * manual/math.texi (Errors in Math Functions): Document accuracy
45621         goals.
45623         [BZ #15004]
45624         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45625         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45627         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45628         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45630         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45631         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45634         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45635         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45636         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45637         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45638         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45641         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45642         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45643         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45644         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45645         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45646         Likewise.
45647         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45648         Likewise.
45649         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45650         Likewise.
45651         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45652         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45653         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45654         atomic-feupdateenv and flt-rounds.
45655         * sysdeps/powerpc/nofpu/Versions (libc): Add
45656         __atomic_feholdexcept, __atomic_feclearexcept,
45657         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45659         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45660         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45661         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45662         here.
45663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45664         Update.
45666         * manual/arith.texi (FP Exceptions): Document that exceptions may
45667         not be raised when matherr is used.
45668         (Math Error Reporting): Document overflow in directed rounding
45669         modes.  Document that errno may not be set when finite values are
45670         returned on overflow.  Document intent to set errno on underflow
45671         only for underflow to zero.
45673         [BZ #16271]
45674         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45675         round-to-nearest then adjust result for other rounding modes.
45676         * include/fenv.h (fegetround): Use libm_hidden_proto.
45677         * math/fegetround.c (fegetround): Use libm_hidden_def.
45678         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45679         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45680         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45681         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45682         Likewise.
45683         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45684         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45685         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45686         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45688 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45690         [BZ #16077]
45691         * nss/Versions (libnss_files): Add
45692         _nss_files_gethostbyname3_r.
45693         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45694         New function.
45695         (HOST_DB_LOOKUP): Remove macro.
45696         (_nss_files_gethostbyname_r): Implement function without the
45697         HOST_DB_LOOKUP macro.
45698         (_nss_files_gethostbyname2_r): Likewise.
45700 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45702         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45704 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45706         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45707         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45708         warning.
45710 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45712         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45713         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45714         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45715         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45716         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45717         __fe_nomask_env_priv and attribute_hidden.
45718         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45719         (libc_feupdateenv_test_ppc): Likewise.
45720         (libc_feresetround_ppc): Likewise.
45721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45722         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45723         compat_symbol macro.
45724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45725         (__fe_nomask_env): Likewise.
45726         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45728 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45730         * string/Makefile: Remove ifunc tests.
45731         * string/test-string.h: Define TEST_IFUNC.
45732         * string/test-bcopy-ifunc.c: Remove.
45733         * string/test-bzero-ifunc.c: Likewise.
45734         * string/test-memccpy-ifunc.c: Likewise.
45735         * string/test-memchr-ifunc.c: Likewise.
45736         * string/test-memcmp-ifunc.c: Likewise.
45737         * string/test-memcpy-ifunc.c: Likewise.
45738         * string/test-memmem-ifunc.c: Likewise.
45739         * string/test-memmove-ifunc.c: Likewise.
45740         * string/test-mempcpy-ifunc.c: Likewise.
45741         * string/test-memrchr-ifunc.c: Likewise.
45742         * string/test-memset-ifunc.c: Likewise.
45743         * string/test-rawmemchr-ifunc.c: Likewise.
45744         * string/test-stpcpy-ifunc.c: Likewise.
45745         * string/test-stpncpy-ifunc.c: Likewise.
45746         * string/test-strcasecmp-ifunc.c: Likewise.
45747         * string/test-strcasestr-ifunc.c: Likewise.
45748         * string/test-strcat-ifunc.c: Likewise.
45749         * string/test-strchr-ifunc.c: Likewise.
45750         * string/test-strchrnul-ifunc.c: Likewise.
45751         * string/test-strcmp-ifunc.c: Likewise.
45752         * string/test-strcpy-ifunc.c: Likewise.
45753         * string/test-strcspn-ifunc.c: Likewise.
45754         * string/test-strlen-ifunc.c: Likewise.
45755         * string/test-strncasecmp-ifunc.c: Likewise.
45756         * string/test-strncat-ifunc.c: Likewise.
45757         * string/test-strncmp-ifunc.c: Likewise.
45758         * string/test-strncpy-ifunc.c: Likewise.
45759         * string/test-strnlen-ifunc.c: Likewise.
45760         * string/test-strpbrk-ifunc.c: Likewise.
45761         * string/test-strrchr-ifunc.c: Likewise.
45762         * string/test-strspn-ifunc.c: Likewise.
45763         * string/test-strstr-ifunc.c: Likewise.
45765 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45767         * benchtests/Makefile: Remove ifunc tests.
45768         * benchtests/bench-string.h: Define TEST_IFUNC.
45769         * benchtests/bench-bcopy-ifunc.c: Remove.
45770         * benchtests/bench-bzero-ifunc.c: Likewise.
45771         * benchtests/bench-memccpy-ifunc.c: Likewise.
45772         * benchtests/bench-memchr-ifunc.c: Likewise.
45773         * benchtests/bench-memcmp-ifunc.c: Likewise.
45774         * benchtests/bench-memcpy-ifunc.c: Likewise.
45775         * benchtests/bench-memmem-ifunc.c: Likewise.
45776         * benchtests/bench-memmove-ifunc.c: Likewise.
45777         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45778         * benchtests/bench-memrchr-ifunc.c: Likewise.
45779         * benchtests/bench-memset-ifunc.c: Likewise.
45780         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45781         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45782         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45783         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45784         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45785         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45786         * benchtests/bench-strcat-ifunc.c: Likewise.
45787         * benchtests/bench-strchr-ifunc.c: Likewise.
45788         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45789         * benchtests/bench-strcmp-ifunc.c: Likewise.
45790         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45791         * benchtests/bench-strcpy-ifunc.c: Likewise.
45792         * benchtests/bench-strcspn-ifunc.c: Likewise.
45793         * benchtests/bench-strlen-ifunc.c: Likewise.
45794         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45795         * benchtests/bench-strncat-ifunc.c: Likewise.
45796         * benchtests/bench-strncmp-ifunc.c: Likewise.
45797         * benchtests/bench-strncpy-ifunc.c: Likewise.
45798         * benchtests/bench-strnlen-ifunc.c: Likewise.
45799         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45800         * benchtests/bench-strrchr-ifunc.c: Likewise.
45801         * benchtests/bench-strsep-ifunc.c: Likewise.
45802         * benchtests/bench-strspn-ifunc.c: Likewise.
45803         * benchtests/bench-strstr-ifunc.c: Likewise.
45805 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45807         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45809 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45811         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45812         * rt/aio.h: Likewise.
45813         * sysdeps/gnu/bits/utmp.h: Likewise.
45814         * sysdeps/gnu/bits/utmpx.h: Likewise.
45815         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45816         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45817         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45818         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45819         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45820         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45821         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45822         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45823         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45824         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45825         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45826         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45827         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45829         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45830         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45831         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45832         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45833         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45834         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45835         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45836         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45837         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45838         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45839         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45841         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45842         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45843         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45844         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45845         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45846         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45847         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45848         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45849         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45850         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45851         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45852         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45853         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45854         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45855         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45856         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45858 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45860         [BZ #16245]
45861         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45862         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45864 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45866         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45868         Likewise.
45870 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45873         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45874         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45875         (__fesetround): Remove define.
45876         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45877         rounding and exceptions handling.
45878         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45879         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45880         (__fe_nomask_env): Likewise.
45881         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45882         __fegetround instead of fegetround.
45883         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45886 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45888         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45889         it's there.
45891         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45893 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45895         [BZ #11157]
45896         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45897         (encrypt_r): Likewise.
45898         * malloc/obstack.h (obstack_free): Likewise.
45899         * posix/unistd.h (encrypt): Likewise.
45901 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45903         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45904         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45905         DL_CALL_DT_FINI() that call the functions directly.
45906         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45907         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45908         * elf/dl-fini.c: Likewise.
45910 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45912         * malloc/hooks.c (memalign_check): Add alignment rounding.
45913         * malloc/malloc.c (_mid_memalign): New function.
45914         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45915         Implement by calling _mid_memalign.
45916         * manual/probes.texi (Memory Allocation Probes): Remove
45917         memory_valloc_retry and memory_pvalloc_retry.
45919 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45921         * locale/programs/locarchive.c (open_archive): Add const
45922         qualifier to ARCHIVEFNAME and copy default fname to
45923         DEFAULT_FNAME.
45925         [BZ #15601]
45926         * libio/tst-widetext.input: Rename Oriya to Odia.
45927         * locale/iso-639.def: Likewise.
45929         * manual/probes.texi (Mathematical Function Probes): Add
45930         documentation for sin, cos, asin and acos probes.
45931         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45932         (__sin32): Add slowasin probe.
45933         (__cos32): Add slowacos probe.
45934         (__mpsin): Add slowsin probe.
45935         (__mpcos): Add slowcos probe.
45937 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45939         [BZ #15483]
45940         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45941         thread-local __sim_exceptions_thread and global
45942         __sim_exceptions_global.
45943         (__sim_disabled_exceptions): Change to thread-local
45944         __sim_disabled_exceptions_thread and global
45945         __sim_disabled_exceptions_global.
45946         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45947         and global __sim_round_mode_global.
45948         (__simulate_exceptions): Use thread-local floating-point state and
45949         set global state from it as needed.
45950         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45951         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45952         __sim_round_mode_thread.
45953         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45954         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45955         and global __sim_exceptions_global.
45956         (__sim_disabled_exceptions): Change to thread-local
45957         __sim_disabled_exceptions_thread and global
45958         __sim_disabled_exceptions_global.
45959         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45960         and global __sim_round_mode_global.
45961         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45962         (SIM_SET_GLOBAL): Likewise.
45963         * sysdeps/powerpc/soft-fp/sfp-machine.h
45964         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45965         __sim_round_mode_thread.
45966         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45967         __sim_disabled_exceptions_thread.
45968         (__sim_exceptions): Change to __sim_exceptions_thread.
45969         (__sim_disabled_exceptions): Change to
45970         __sim_disabled_exceptions_thread.
45971         (__sim_round_mode): Change to __sim_round_mode_thread.
45972         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45973         thread-local floating-point state and set global state from it as
45974         needed.
45975         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45976         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45977         (__sim_disabled_exceptions): Remove extern declaration.
45978         (feenableexcept): Use thread-local floating-point state and set
45979         global state from it as needed.
45980         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45981         extern declaration.
45982         (__sim_disabled_exceptions): Likewise.
45983         (__sim_round_mode): Likewise.
45984         (__fegetenv): Use thread-local floating-point state.
45985         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45986         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45987         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45988         floating-point state and set global state from it as needed.
45989         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45990         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45991         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45992         Likewise.
45993         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45994         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45995         Likewise.
45996         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45997         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45998         Use __sim_round_mode_thread.
45999         * math/test-fenv-tls.c: New file.
46000         * math/Makefile (tests): Add test-fenv-tls.
46001         ($(objpfx)test-fenv-tls): Depend on
46002         $(common-objpfx)nptl/libpthread.so.
46004 2013-11-19  Andreas Schwab  <schwab@suse.de>
46006         * locale/programs/locale.c (show_info): Decode wordarray elements.
46007         * locale/categories.def (LC_MONETARY): Add element for
46008         _NL_MONETARY_CRNCYSTR.
46009         * locale/C-monetary.c (conversion_rate): New variable.
46010         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46011         element.
46013 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46015         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46016         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46018 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46020         * elf/Makefile (tst-auxv): New test.
46021         * elf/tst-auxv.c: New
46022         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46024 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46026         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46027         (hidden_proto): Caller changed.
46028         (hidden_tls_proto): New macro.
46029         (libc_hidden_tls_proto): Likewise.
46030         (rtld_hidden_tls_proto): Likewise.
46031         (libm_hidden_tls_proto): Likewise.
46032         (libresolv_hidden_tls_proto): Likewise.
46033         (librt_hidden_tls_proto): Likewise.
46034         (libdl_hidden_tls_proto): Likewise.
46035         (libnss_files_hidden_tls_proto): Likewise.
46036         (libnsl_hidden_tls_proto): Likewise.
46037         (libnss_nisplus_hidden_tls_proto): Likewise.
46038         (libutil_hidden_tls_proto): Likewise.
46040 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46042         [BZ #10253]
46043         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46044         (decompose_rpath): Defer expansion to fillin_rpath.
46045         (_dl_init_paths): Pass linkmap to fillin_rpath.
46047 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46049         * benchtests/Makefile: Add strsep.
46050         * benchtests/bench-strsep.c: New file: strsep benchtest.
46051         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46053 2013-11-18  Andreas Schwab  <schwab@suse.de>
46055         * locale/programs/locale.c (show_info) [case byte]: Check for
46056         '\377' instead of '\177'.
46057         * locale/C-monetary.c (not_available): Always use "\377".
46058         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46059         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46060         detect unavailable sign_posn locale elements.
46061         * locale/localeconv.c (__localeconv): For grouping and
46062         mon_grouping handle "\177" and "\377" like no grouping.
46063         (INT_ELEM): New macro.  Use it to set all numeric members.
46064         * locale/programs/ld-monetary.c (monetary_read)
46065         <tok_mon_grouping>: Normalize single -1 to the empty string.
46066         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46067         Likewise.
46069 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46071         [BZ #16055]
46072         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46073         when we match (nil).
46074         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46076 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46078         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46079         (NO_TEST_INLINE): Update value.
46080         (ERRNO_UNCHANGED): Likewise.
46081         (ERRNO_EDOM): Likewise.
46082         (ERRNO_ERANGE): Likewise.
46083         (IGNORE_RESULT): Likewise.
46084         (check_float_internal): Check signs of NaN results if
46085         TEST_NAN_SIGN used.
46086         (check_complex): Pass TEST_NAN_SIGN flag through to second
46087         check_float_internal call.
46088         (copysign_test_data): Add tests with quiet NaNs as second
46089         argument.  Use TEST_NAN_SIGN.
46090         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46091         TEST_NAN_SIGN.
46092         (signbit_test_data): Add tests of quiet NaN argument.
46093         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46095         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46096         $ignore_result.
46097         (parse_args): Handle function results specified as IGNORE.
46098         * math/libm-test.inc (IGNORE_RESULT): New macro.
46099         (check_float_internal): Do not check numerical result if flag
46100         IGNORE_RESULT set.
46101         (check_complex): Pass through IGNORE_RESULT to second
46102         check_float_internal call.
46103         (check_int): Do not check numerical result if flag IGNORE_RESULT
46104         set.
46105         (check_long): Likewise.
46106         (check_bool): Likewise.
46107         (check_longlong): Likewise.
46108         (lrint_test_data): Add tests of infinite and NaN arguments.
46109         (lrint_tonearest_test_data): Likewise.
46110         (lrint_towardzero_test_data): Likewise.
46111         (lrint_downward_test_data): Likewise.
46112         (lrint_upward_test_data): Likewise.
46113         (llrint_test_data): Likewise.
46114         (llrint_tonearest_test_data): Likewise.
46115         (llrint_towardzero_test_data): Likewise.
46116         (llrint_downward_test_data): Likewise.
46117         (llrint_upward_test_data): Likewise.
46118         (lround_test_data): Likewise.
46119         (llround_test_data): Likewise.
46121         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46122         (ERRNO_UNCHANGED): Update value.
46123         (ERRNO_EDOM): Likewise.
46124         (ERRNO_ERANGE): Likewise.
46125         (NO_TEST_INLINE_FLOAT): New macro.
46126         (NO_TEST_INLINE_DOUBLE): Likewise.
46127         (enable_test): New function.
46128         (RUN_TEST_f_f): Check enable_test before running test.
46129         (RUN_TEST_2_f): Likewise.
46130         (RUN_TEST_fff_f): Likewise.
46131         (RUN_TEST_c_f): Likewise.
46132         (RUN_TEST_f_f1): Likewise.
46133         (RUN_TEST_fF_f1): Likewise.
46134         (RUN_TEST_fI_f1): Likewise.
46135         (RUN_TEST_ffI_f1): Likewise.
46136         (RUN_TEST_c_c): Likewise.
46137         (RUN_TEST_cc_c): Likewise.
46138         (RUN_TEST_f_i): Likewise.
46139         (RUN_TEST_f_i_tg): Likewise.
46140         (RUN_TEST_ff_i_tg): Likewise.
46141         (RUN_TEST_f_b): Likewise.
46142         (RUN_TEST_f_b_tg): Likewise.
46143         (RUN_TEST_f_l): Likewise.
46144         (RUN_TEST_f_L): Likewise.
46145         (RUN_TEST_fFF_11): Likewise.
46146         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46147         conditionals.
46148         (cosh_test_data): Likewise.
46149         (exp_test_data): Likewise.
46150         (expm1_test_data): Likewise.
46151         (hypot_test_data): Likewise.
46152         (pow_test_data): Likewise.
46153         (sinh_test_data): Likewise.
46154         (tanh_test_data): Likewise.
46155         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46156         flags argument.
46158         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46159         tests with quiet NaN input and output.
46160         (acosh_test_data): Likewise.
46161         (asin_test_data): Likewise.
46162         (asinh_test_data): Likewise.
46163         (atan_test_data): Likewise.
46164         (atanh_test_data): Likewise.
46165         (atan2_test_data): Likewise.
46166         (cbrt_test_data): Likewise.
46167         (cos_test_data): Likewise.
46168         (cosh_test_data): Likewise.
46169         (erf_test_data): Likewise.
46170         (erfc_test_data): Likewise.
46171         (exp_test_data): Likewise.
46172         (exp10_test_data): Likewise.
46173         (exp2_test_data): Likewise.
46174         (expm1_test_data): Likewise.
46175         (hypot_test_data): Likewise.
46176         (j0_test_data): Likewise.
46177         (j1_test_data): Likewise.
46178         (jn_test_data): Likewise.
46179         (lgamma_test_data): Likewise.
46180         (log_test_data): Likewise.
46181         (log10_test_data): Likewise.
46182         (log1p_test_data): Likewise.
46183         (log2_test_data): Likewise.
46184         (pow_test_data): Likewise.
46185         (scalb_test_data): Likewise.
46186         (sin_test_data): Likewise.
46187         (sincos_test_data): Likewise.
46188         (sinh_test_data): Likewise.
46189         (tan_test_data): Likewise.
46190         (tanh_test_data): Likewise.
46191         (tgamma_test_data): Likewise.
46192         (y0_test_data): Likewise.
46193         (y1_test_data): Likewise.
46194         (yn_test_data): Likewise.
46196         [BZ #16167]
46197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46198         argument being NaN and avoid computations with second argument in
46199         that case.
46200         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46201         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46202         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46204 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46206         * locale/iso-639.def: Add Chitwani Tharu (the).
46208 2013-11-14  Andreas Schwab  <schwab@suse.de>
46210         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46211         word instead of empty string.
46213 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46216         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46218         (__fe_nomask_env): Likewise.
46220 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46222         * benchtests/bench-timing.h: Include time.h.
46224 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46226         [BZ #15997]
46227         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46228         to 3.4.0 for x32.
46229         * sysdeps/unix/sysv/linux/configure: Regenerated.
46231 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46233         [BZ #16151]
46234         * stdlib/strtod_l.c (round_and_return): Do not consider
46235         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46236         exponent one less than half the least subnormal exponent.
46237         * stdlib/test-strtod-round-data: Add more tests.
46238         * stdlib/tst-strtod-round.c (tests): Regenerated.
46240 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46242         [BZ #14143]
46243         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46244         (__fe_mask_env): Likewise.
46245         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46246         libm_hidden_proto and add function prototype.
46247         (__fe_mask_env): Add function prototype.
46248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46249         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46251         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46253         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46255 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46257         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46258         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46260 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46262         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46263         of htab_find_slot().
46265 2013-11-11  David S. Miller  <davem@davemloft.net>
46267         [BZ #16150]
46268         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46269         symbol in the non-vis3 case in static builds.
46270         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46271         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46272         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46273         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46275 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46277         [BZ #387]
46278         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46279         it is empty.
46281 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46283         * benchtests/Makefile: Add bench-strtod.
46284         * benchtests/bench-strtod.c: New file: strtod benchtest
46286 2013-11-11  Andreas Schwab  <schwab@suse.de>
46288         [BZ #16153]
46289         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46290         terminating NUL in key length.
46292 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46294         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46295         Add artificial ODP entry for vDSO symbol for PPC64.
46296         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46297         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46299 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46301         [BZ #15374]
46302         * nss/getent.c (services_keys): Recognize services starting with digit.
46304 2013-11-06  David S. Miller  <davem@davemloft.net>
46306         [BZ #15985]
46307         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46308         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46310 2013-11-06  Will Newton  <will.newton@linaro.org>
46312         * manual/memory.texi (Malloc Examples): Remove register
46313         keyword from examples.
46315 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46317         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46319 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46321         [BZ #6981]
46322         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46323         depending on [__GCC_IEC_559 > 0].
46324         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46325         depending on [__GCC_IEC_559_COMPLEX > 0].
46327 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46329         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46330         to iso-639.def.
46332 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46334         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46336 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46338         [BZ #16112]
46339         * malloc/malloc (malloc_info): Do not handle first bin as
46340         special case.
46342 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46344         * locale/iso-639.def: Add Central Nahuatl (nhn).
46346 2013-11-01  Bruno Haible  <bruno@clisp.org>
46348         [BZ #7003]
46349         * manual/math.texi (BSD Random): Specify range upper bound as
46350         in POSIX.
46352 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46354         * locale/iso-639.def: Add Meadow Mari (mhr).
46356 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46358         [BZ #14752], [BZ #15763]
46359         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46360         Validate name.
46361         * rt/tst_shm.c: Add test for escaping directory.
46363 2013-10-31  Andreas Schwab  <schwab@suse.de>
46365         [BZ #15917]
46366         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46367         followed by 'x' as part of digit sequence.
46368         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46370 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46372         [BZ #16037]
46373         * configure.ac: allow GNU Make 4.0 and greater.
46374         * configure: Regenerated.
46376 2013-10-30  Will Newton  <will.newton@linaro.org>
46378         [BZ #16038]
46379         * malloc/hooks.c (memalign_check): Limit alignment to the
46380         maximum representable power of two.
46381         * malloc/malloc.c (__libc_memalign): Likewise.
46382         * malloc/tst-memalign.c (do_test): Add test for very
46383         large alignment values.
46384         * malloc/tst-posix_memalign.c (do_test): Likewise.
46386 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46388         [BZ #11087]
46389         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46390         (munmap_chunk): Likewise.
46391         (mremap_chunk): Likewise.
46393 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46395         [BZ #15799]
46396         * stdlib/div.c (div): Remove obsolete code.
46397         * stdlib/ldiv.c (ldiv): Likewise.
46398         * stdlib/lldiv.c (lldiv): Likewise.
46400 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46402         [BZ #16071]
46403         * nss/nss_files/files-XXX.c (get_contents_ret): New
46404         enumerator.
46405         (get_contents): New function.
46406         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46408 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46410         * configure.in: Moved to ...
46411         * configure.ac: ... here. Change reference to configure.in
46412         to configure.ac.
46413         * sysdeps/arm/preconfigure.ac: ... here.
46414         configure.in to configure.ac.
46415         * sysdeps/gnu/configure.in: Moved to ...
46416         * sysdeps/gnu/configure.ac: ... here.
46417         * sysdeps/i386/configure.in: Moved to ...
46418         * sysdeps/i386/configure.ac: ... here.
46419         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46420         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46421         * sysdeps/mach/configure.in: Moved to ...
46422         * sysdeps/mach/configure.ac: ... here.
46423         * sysdeps/mach/hurd/configure.in: Moved to ...
46424         * sysdeps/mach/hurd/configure.ac: ... here.
46425         * sysdeps/powerpc/configure.in: Moved to ...
46426         * sysdeps/powerpc/configure.ac: ... here.
46427         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46428         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46429         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46430         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46431         * sysdeps/s390/s390-32/configure.in: Moved to ...
46432         * sysdeps/s390/s390-32/configure.ac: ... here.
46433         * sysdeps/s390/s390-64/configure.in: Moved to ...
46434         * sysdeps/s390/s390-64/configure.ac: ... here.
46435         * sysdeps/sh/configure.in: Moved to ...
46436         * sysdeps/sh/configure.ac: ... here.
46437         * sysdeps/sparc/configure.in: Moved to ...
46438         * sysdeps/sparc/configure.ac: ... here.
46439         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46440         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46441         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46442         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46443         * sysdeps/x86_64/configure.in: Moved to ...
46444         * sysdeps/x86_64/configure.ac: ... here.
46445         * sysdeps/x86_64/preconfigure.in: Moved to ...
46446         * sysdeps/x86_64/preconfigure.ac: ... here.
46447         * aclocal.m4: Change reference to configure.in to configure.ac.
46448         * config.h.in: Likewise.
46449         * manual/install.texi: Likewise.
46450         * manual/maint.texi: Likewise.
46451         * Makefile: Likewise.
46452         * malloc/Makefile: Likewise.
46453         * nscd/Makefile: Likewise.
46454         * Makeconfig: Change reference to configure.in and
46455         preconfigure.in to configure.ac and preconfigure.ac
46456         respectively.
46457         * INSTALL: Regenerated.
46458         * configure: Likewise.
46459         * sysdeps/gnu/configure: Likewise.
46460         * sysdeps/i386/configure: Likewise.
46461         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46462         * sysdeps/mach/configure: Likewise.
46463         * sysdeps/mach/hurd/configure: Likewise.
46464         * sysdeps/powerpc/configure: Likewise.
46465         * sysdeps/powerpc/powerpc32/configure: Likewise.
46466         * sysdeps/powerpc/powerpc64/configure: Likewise.
46467         * sysdeps/s390/s390-32/configure: Likewise.
46468         * sysdeps/s390/s390-64/configure: Likewise.
46469         * sysdeps/sh/configure: Likewise.
46470         * sysdeps/sparc/configure: Likewise.
46471         * sysdeps/unix/sysv/linux/configure: Likewise.
46472         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46473         * sysdeps/x86_64/configure: Likewise.
46474         * sysdeps/x86_64/preconfigure: Likewise.
46476 2013-10-29  Andreas Schwab  <schwab@suse.de>
46478         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46480 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46482         * benchtests/pow-inputs: Add new inputs.
46484         * benchtests/exp-inputs: Add new inputs.
46486         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46487         conditional check for return value.
46488         (__cos32): Likewise.
46490 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46492         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46493         to provide a boost for large inputs with word alignment.
46494         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46495         implementation based on optimized PPC64 strcpy.
46496         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46497         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46498         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46499         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46501 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46503         [BZ #2801]
46504         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46506 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46508         [BZ #14876]
46509         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46510         * time/tst-strptime.c (day_tests): Add testcase.
46512 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46514         [BZ #14029]
46515         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46517 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46519         [BZ #16074]
46520         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46521         MAP_FAILED on error.
46523 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46525         [BZ #16072]
46526         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46527         heap for large requests.
46529 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46531         [BZ #9954]
46532         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46533         result if the result has no associated interface.
46534         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46535         interface for all 127.X.Y.Z addresses.
46537 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46539         * locale/iso-639.def: Add Ligurian (lij)
46541 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46543         [BZ #15825]
46544         * sunrpc/rpc_main.c: Document rpcgen -5.
46546 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46548         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46550 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46552         [BZ #10278]
46553         * posix/glob.c: Match only directories when trailing slash is present.
46554         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46555         (main): Add testcase.
46557 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46559         [BZ #15670]
46560         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46562 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46564         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46565         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46566         AUTH_DES and cindex for FIPS 140-2.
46567         (DES Encryption): Add cindex FIPS 46-3.
46569         * locale/locarchive.h (struct locarhandle): Add fname.
46570         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46571         if an optional argument was specified to --list-archive,
46572         otherwise NULL.
46573         * locale/programs/locarchive.c (show_archive_content): Take new
46574         argument fname and pass it via ah.fname to open_archive.
46575         * locale/programs/localedef.h: Update decl.
46576         (open_archive): If AH->fname is non-null, open that file
46577         rather than the default file name, and don't ignore ENOENT.
46578         (create_archive): Set AH.fname to NULL.
46579         (delete_locales_from_archive): Likewise.
46580         (add_locales_to_archive): Likewise.
46581         * locale/programs/locfile.c (write_all_categories): Likewise.
46583 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46584             Aldy Hernandez  <aldyh@redhat.com>
46586         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46587         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46588         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46589         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46590         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46591         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46594         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46595         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46596         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46597         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46598         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46599         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46600         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46601         Likewise.
46602         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46603         Likewise.
46604         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46605         Likewise.
46606         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46607         Likewise.
46608         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46609         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46610         Likewise.
46611         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46612         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46613         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46614         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46615         Likewise.
46616         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46617         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46618         * sysdeps/powerpc/preconfigure: Likewise.
46619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46620         Likewise.
46621         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46622         Replace contents of file by #include of <fenv_libc.h>.
46623         * sysdeps/powerpc/soft-fp/sfp-machine.h
46624         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46625         and <sys/prctl.h>.
46626         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46639         Allow copysignl PLT reference to be missing.
46641 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46642             Joseph Myers  <joseph@codesourcery.com
46644         [BZ #15948]
46645         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46646         single character.
46647         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46649 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46651         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46652         * elf/tst-tls1.c: Likewise.
46653         * elf/tst-tls10.h: Likewise.
46654         * elf/tst-tls14.c: Likewise.
46655         * elf/tst-tls2.c: Likewise.
46656         * elf/tst-tls3.c: Likewise.
46657         * elf/tst-tls4.c: Likewise.
46658         * elf/tst-tls5.c: Likewise.
46659         * elf/tst-tls6.c: Likewise.
46660         * elf/tst-tls7.c: Likewise.
46661         * elf/tst-tls8.c: Likewise.
46662         * elf/tst-tls9.c: Likewise.
46663         * elf/tst-tlsmod1.c: Likewise.
46664         * elf/tst-tlsmod13.c: Likewise.
46665         * elf/tst-tlsmod13a.c: Likewise.
46666         * elf/tst-tlsmod14a.c: Likewise.
46667         * elf/tst-tlsmod16a.c: Likewise.
46668         * elf/tst-tlsmod16b.c: Likewise.
46669         * elf/tst-tlsmod2.c: Likewise.
46670         * elf/tst-tlsmod3.c: Likewise.
46671         * elf/tst-tlsmod4.c: Likewise.
46672         * elf/tst-tlsmod5.c: Likewise.
46673         * elf/tst-tlsmod6.c: Likewise.
46675 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46677         [BZ #12486]
46678         * malloc/malloc.c: remove checks for statistics.
46680 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46682         [BZ #15277]
46683         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46684         * inet/tst-network.c: Add testcase.
46686 2013-10-17  Andreas Schwab  <schwab@suse.de>
46688         [BZ #15218]
46689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46690         to determine canonical name.
46692 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46694         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46695         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46697         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46699         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46700         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46701         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46702         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46703         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46704         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46705         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46706         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46707         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46708         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46709         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46711         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46712         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46713         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46714         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46715         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46716         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46717         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46718         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46719         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46720         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46721         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46722         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46723         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46724         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46726         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46727         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46728         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46729         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46730         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46731         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46732         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46733         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46734         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46735         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46737         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46738         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46739         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46740         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46742         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46743         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46744         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46745         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46746         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46747         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46748         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46749         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46750         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46751         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46753 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46755         [BZ #16041]
46756         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46757         make result into a quiet NaN.
46759 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46761         * soft-fp/adddf3.c: Fix horizontal whitespace.
46762         * soft-fp/addsf3.c: Likewise.
46763         * soft-fp/addtf3.c: Likewise.
46764         * soft-fp/divdf3.c: Likewise.
46765         * soft-fp/divsf3.c: Likewise.
46766         * soft-fp/divtf3.c: Likewise.
46767         * soft-fp/double.h: Likewise.
46768         * soft-fp/eqdf2.c: Likewise.
46769         * soft-fp/eqsf2.c: Likewise.
46770         * soft-fp/eqtf2.c: Likewise.
46771         * soft-fp/extenddftf2.c: Likewise.
46772         * soft-fp/extended.h: Likewise.
46773         * soft-fp/extendsfdf2.c: Likewise.
46774         * soft-fp/extendsftf2.c: Likewise.
46775         * soft-fp/extendxftf2.c: Likewise.
46776         * soft-fp/fixdfdi.c: Likewise.
46777         * soft-fp/fixdfsi.c: Likewise.
46778         * soft-fp/fixdfti.c: Likewise.
46779         * soft-fp/fixsfdi.c: Likewise.
46780         * soft-fp/fixsfsi.c: Likewise.
46781         * soft-fp/fixsfti.c: Likewise.
46782         * soft-fp/fixtfdi.c: Likewise.
46783         * soft-fp/fixtfsi.c: Likewise.
46784         * soft-fp/fixtfti.c: Likewise.
46785         * soft-fp/fixunsdfdi.c: Likewise.
46786         * soft-fp/fixunsdfsi.c: Likewise.
46787         * soft-fp/fixunsdfti.c: Likewise.
46788         * soft-fp/fixunssfdi.c: Likewise.
46789         * soft-fp/fixunssfsi.c: Likewise.
46790         * soft-fp/fixunssfti.c: Likewise.
46791         * soft-fp/fixunstfdi.c: Likewise.
46792         * soft-fp/fixunstfsi.c: Likewise.
46793         * soft-fp/fixunstfti.c: Likewise.
46794         * soft-fp/floatdidf.c: Likewise.
46795         * soft-fp/floatdisf.c: Likewise.
46796         * soft-fp/floatditf.c: Likewise.
46797         * soft-fp/floatsidf.c: Likewise.
46798         * soft-fp/floatsisf.c: Likewise.
46799         * soft-fp/floatsitf.c: Likewise.
46800         * soft-fp/floattidf.c: Likewise.
46801         * soft-fp/floattisf.c: Likewise.
46802         * soft-fp/floattitf.c: Likewise.
46803         * soft-fp/floatundidf.c: Likewise.
46804         * soft-fp/floatundisf.c: Likewise.
46805         * soft-fp/floatunditf.c: Likewise.
46806         * soft-fp/floatunsidf.c: Likewise.
46807         * soft-fp/floatunsisf.c: Likewise.
46808         * soft-fp/floatunsitf.c: Likewise.
46809         * soft-fp/floatuntidf.c: Likewise.
46810         * soft-fp/floatuntisf.c: Likewise.
46811         * soft-fp/floatuntitf.c: Likewise.
46812         * soft-fp/fmadf4.c: Likewise.
46813         * soft-fp/fmasf4.c: Likewise.
46814         * soft-fp/fmatf4.c: Likewise.
46815         * soft-fp/gedf2.c: Likewise.
46816         * soft-fp/gesf2.c: Likewise.
46817         * soft-fp/getf2.c: Likewise.
46818         * soft-fp/ledf2.c: Likewise.
46819         * soft-fp/lesf2.c: Likewise.
46820         * soft-fp/letf2.c: Likewise.
46821         * soft-fp/muldf3.c: Likewise.
46822         * soft-fp/mulsf3.c: Likewise.
46823         * soft-fp/multf3.c: Likewise.
46824         * soft-fp/negdf2.c: Likewise.
46825         * soft-fp/negsf2.c: Likewise.
46826         * soft-fp/negtf2.c: Likewise.
46827         * soft-fp/op-1.h: Likewise.
46828         * soft-fp/op-2.h: Likewise.
46829         * soft-fp/op-4.h: Likewise.
46830         * soft-fp/op-8.h: Likewise.
46831         * soft-fp/op-common.h: Likewise.
46832         * soft-fp/quad.h: Likewise.
46833         * soft-fp/single.h: Likewise.
46834         * soft-fp/soft-fp.h: Likewise.
46835         * soft-fp/sqrtdf2.c: Likewise.
46836         * soft-fp/sqrtsf2.c: Likewise.
46837         * soft-fp/sqrttf2.c: Likewise.
46838         * soft-fp/subdf3.c: Likewise.
46839         * soft-fp/subsf3.c: Likewise.
46840         * soft-fp/subtf3.c: Likewise.
46841         * soft-fp/truncdfsf2.c: Likewise.
46842         * soft-fp/trunctfdf2.c: Likewise.
46843         * soft-fp/trunctfsf2.c: Likewise.
46844         * soft-fp/trunctfxf2.c: Likewise.
46845         * soft-fp/unorddf2.c: Likewise.
46846         * soft-fp/unordsf2.c: Likewise.
46847         * soft-fp/unordtf2.c: Likewise.
46849 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46851         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46852         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46854 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46856         * elf/dl-libc.c: Clear initfini list after freeing.
46858 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46860         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46861         * soft-fp/addsf3.c: Likewise.
46862         * soft-fp/addtf3.c: Likewise.
46863         * soft-fp/divdf3.c: Likewise.
46864         * soft-fp/divsf3.c: Likewise.
46865         * soft-fp/divtf3.c: Likewise.
46866         * soft-fp/double.h: Likewise.
46867         * soft-fp/eqdf2.c: Likewise.
46868         * soft-fp/eqsf2.c: Likewise.
46869         * soft-fp/eqtf2.c: Likewise.
46870         * soft-fp/extenddftf2.c: Likewise.
46871         * soft-fp/extended.h: Likewise.
46872         * soft-fp/extendsfdf2.c: Likewise.
46873         * soft-fp/extendsftf2.c: Likewise.
46874         * soft-fp/extendxftf2.c: Likewise.
46875         * soft-fp/fixdfdi.c: Likewise.
46876         * soft-fp/fixdfsi.c: Likewise.
46877         * soft-fp/fixdfti.c: Likewise.
46878         * soft-fp/fixsfdi.c: Likewise.
46879         * soft-fp/fixsfsi.c: Likewise.
46880         * soft-fp/fixsfti.c: Likewise.
46881         * soft-fp/fixtfdi.c: Likewise.
46882         * soft-fp/fixtfsi.c: Likewise.
46883         * soft-fp/fixtfti.c: Likewise.
46884         * soft-fp/fixunsdfdi.c: Likewise.
46885         * soft-fp/fixunsdfsi.c: Likewise.
46886         * soft-fp/fixunsdfti.c: Likewise.
46887         * soft-fp/fixunssfdi.c: Likewise.
46888         * soft-fp/fixunssfsi.c: Likewise.
46889         * soft-fp/fixunssfti.c: Likewise.
46890         * soft-fp/fixunstfdi.c: Likewise.
46891         * soft-fp/fixunstfsi.c: Likewise.
46892         * soft-fp/fixunstfti.c: Likewise.
46893         * soft-fp/floatdidf.c: Likewise.
46894         * soft-fp/floatdisf.c: Likewise.
46895         * soft-fp/floatditf.c: Likewise.
46896         * soft-fp/floatsidf.c: Likewise.
46897         * soft-fp/floatsisf.c: Likewise.
46898         * soft-fp/floatsitf.c: Likewise.
46899         * soft-fp/floattidf.c: Likewise.
46900         * soft-fp/floattisf.c: Likewise.
46901         * soft-fp/floattitf.c: Likewise.
46902         * soft-fp/floatundidf.c: Likewise.
46903         * soft-fp/floatundisf.c: Likewise.
46904         * soft-fp/floatunsidf.c: Likewise.
46905         * soft-fp/floatunsisf.c: Likewise.
46906         * soft-fp/floatuntidf.c: Likewise.
46907         * soft-fp/floatuntisf.c: Likewise.
46908         * soft-fp/floatuntitf.c: Likewise.
46909         * soft-fp/fmadf4.c: Likewise.
46910         * soft-fp/fmasf4.c: Likewise.
46911         * soft-fp/fmatf4.c: Likewise.
46912         * soft-fp/gedf2.c: Likewise.
46913         * soft-fp/gesf2.c: Likewise.
46914         * soft-fp/getf2.c: Likewise.
46915         * soft-fp/ledf2.c: Likewise.
46916         * soft-fp/lesf2.c: Likewise.
46917         * soft-fp/letf2.c: Likewise.
46918         * soft-fp/muldf3.c: Likewise.
46919         * soft-fp/mulsf3.c: Likewise.
46920         * soft-fp/multf3.c: Likewise.
46921         * soft-fp/negdf2.c: Likewise.
46922         * soft-fp/negsf2.c: Likewise.
46923         * soft-fp/negtf2.c: Likewise.
46924         * soft-fp/op-1.h: Likewise.
46925         * soft-fp/op-2.h: Likewise.
46926         * soft-fp/op-4.h: Likewise.
46927         * soft-fp/op-8.h: Likewise.
46928         * soft-fp/op-common.h: Likewise.
46929         * soft-fp/quad.h: Likewise.
46930         * soft-fp/single.h: Likewise.
46931         * soft-fp/soft-fp.h: Likewise.
46932         * soft-fp/sqrtdf2.c: Likewise.
46933         * soft-fp/sqrtsf2.c: Likewise.
46934         * soft-fp/sqrttf2.c: Likewise.
46935         * soft-fp/subdf3.c: Likewise.
46936         * soft-fp/subsf3.c: Likewise.
46937         * soft-fp/subtf3.c: Likewise.
46938         * soft-fp/truncdfsf2.c: Likewise.
46939         * soft-fp/trunctfdf2.c: Likewise.
46940         * soft-fp/trunctfsf2.c: Likewise.
46941         * soft-fp/trunctfxf2.c: Likewise.
46942         * soft-fp/unorddf2.c: Likewise.
46943         * soft-fp/unordsf2.c: Likewise.
46944         * soft-fp/unordtf2.c: Likewise.
46946 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46948         [BZ #15672]
46949         * misc/error.c (error_tail): Fix possible buffer overflow.
46951 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46953         [BZ #13028]
46954         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46955         address.
46957 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46959         [BZ #832]
46960         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46961         testing pipefail option.
46963 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46965         * soft-fp/double.h: Indent preprocessor directives inside #if.
46966         * soft-fp/extended.h: Likewise.
46967         * soft-fp/op-2.h: Likewise.
46968         * soft-fp/op-4.h: Likewise.
46969         * soft-fp/op-common.h: Likewise.
46970         * soft-fp/quad.h: Likewise.
46971         * soft-fp/single.h: Likewise.
46972         * soft-fp/soft-fp.h: Likewise.
46974 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46976         * iconv/iconv_prog.c: Fix typos.
46977         * stdio-common/psiginfo-data.h: Likewise.
46979 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46981         [BZ #15764]
46982         * locale/setlocale.c: Fix typo.
46984 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46986         [BZ #16036]
46987         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46988         signaling NaN arguments.
46989         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46990         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46992         [BZ #14910]
46993         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46994         unordered operands.
46995         * soft-fp/gesf2.c (__gesf2): Likewise.
46996         * soft-fp/getf2.c (__getf2): Likewise.
46997         * soft-fp/ledf2.c (__ledf2): Likewise.
46998         * soft-fp/lesf2.c (__lesf2): Likewise.
46999         * soft-fp/letf2.c (__letf2): Likewise.
47001         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47002         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47003         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47004         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47005         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47006         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47007         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47008         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47009         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47010         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47011         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47012         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47013         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47014         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47015         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47016         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47017         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47018         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47019         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47020         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47021         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47022         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47023         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47024         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47025         * soft-fp/floattidf.c (__floattidf): Likewise.
47026         * soft-fp/floattisf.c (__floattisf): Likewise.
47027         * soft-fp/floattitf.c (__floattitf): Likewise.
47028         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47029         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47030         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47031         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47032         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47033         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47034         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47035         * soft-fp/gesf2.c (__gesf2): Likewise.
47036         * soft-fp/getf2.c (__getf2): Likewise.
47037         * soft-fp/ledf2.c (__ledf2): Likewise.
47038         * soft-fp/lesf2.c (__lesf2): Likewise.
47039         * soft-fp/letf2.c (__letf2): Likewise.
47041         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47042         Undefine and redefine.
47043         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47044         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47045         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47046         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47047         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47048         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47049         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47050         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47051         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47052         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47053         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47054         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47055         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47056         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47057         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47059         [BZ #16032]
47060         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47061         without decrementing exponent if mantissa >= that for the
47062         denominator, not >.
47063         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47064         denominator, not >.  Decrement exponent in < case instead of
47065         incrementing in >= case.
47066         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47067         without decrementing exponent if mantissa >= that for the
47068         denominator, not >.
47070         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47071         computing saturated result for unsigned overflow.
47073 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47074             Jeff Law  <law@redhat.com>
47076         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47077         (atan2Mp): Add systemtap probe marker.
47078         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47079         (__ieee754_log): Add systemtap probe marker.
47080         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47081         (atanMp): Add systemtap probe marker.
47082         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47083         (tanMp): Add systemtap probe marker.
47084         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47085         (__slowexp): Add systemtap probe marker.
47086         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47087         (__slowpow): Add systemtap probe marker.
47088         * manual/probes.texi: Document probes.
47090 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47092         [BZ #15362]
47093         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47094         written.
47095         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47096         written.
47097         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47098         written to buffer but not flushed.
47099         * libio/iofwrite_u.c:  Likewise.
47100         * libio/iopadn.c:  Return bytes returned even if EOF was
47101         encountered.
47102         * libio/iowpadn.c:  Likewise.
47103         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47104         if _IO_padn does not write the whole buffer.
47105         [!COMPILE_WPRINTF] (PAD): Likewise.
47107 2013-10-10  David S. Miller  <davem@davemloft.net>
47109         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47110         directory block.
47112 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47114         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47115         instead of FSF address.
47116         * soft-fp/fixdfti.c: Likewise.
47117         * soft-fp/fixsfti.c: Likewise.
47118         * soft-fp/fixtfti.c: Likewise.
47119         * soft-fp/fixunsdfti.c: Likewise.
47120         * soft-fp/fixunssfti.c: Likewise.
47121         * soft-fp/fixunstfti.c: Likewise.
47122         * soft-fp/floattidf.c: Likewise.
47123         * soft-fp/floattisf.c: Likewise.
47124         * soft-fp/floattitf.c: Likewise.
47125         * soft-fp/floatuntidf.c: Likewise.
47126         * soft-fp/floatuntisf.c: Likewise.
47127         * soft-fp/floatuntitf.c: Likewise.
47128         * soft-fp/trunctfxf2.c: Likewise.
47130         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47131         * soft-fp/fixdfti.c: Likewise.
47132         * soft-fp/fixsfti.c: Likewise.
47133         * soft-fp/fixtfti.c: Likewise.
47134         * soft-fp/fixunsdfti.c: Likewise.
47135         * soft-fp/fixunssfti.c: Likewise.
47136         * soft-fp/fixunstfti.c: Likewise.
47137         * soft-fp/floattidf.c: Likewise.
47138         * soft-fp/floattisf.c: Likewise.
47139         * soft-fp/floattitf.c: Likewise.
47140         * soft-fp/floatuntidf.c: Likewise.
47141         * soft-fp/floatuntisf.c: Likewise.
47142         * soft-fp/floatuntitf.c: Likewise.
47143         * soft-fp/trunctfxf2.c: Likewise.
47145 2013-10-10  David S. Miller  <davem@davemloft.net>
47147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47149 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47151         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47152         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47153         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47154         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47155         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47156         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47157         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47159         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47160         for NaNs before doing comparisons on argument.
47161         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47162         Likewise.
47164 2013-10-10  Will Newton  <will.newton@linaro.org>
47166         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47167         passed to _int_memalign does not overflow.
47169 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47171         * scripts/bench.pl: Add include-sources directive.
47172         * benchtests/README: Update documentation.
47174 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47176         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47177         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47178         instead of FP_INIT_ROUNDMODE.
47179         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47180         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47182         [BZ #16034]
47183         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47184         copy class of input value.
47185         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47186         not handle exceptions.
47187         * soft-fp/negsf2.c (__negsf2): Likewise.
47188         * soft-fp/negtf2.c (__negtf2): Likewise.
47189         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47191 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47193         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47194         semicolon.  From Linux kernel.
47196 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47198         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47200 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47202         [BZ #156]
47203         * manual/socket.texi: Added statement about buffer
47204         for gethostbyname2_r.
47206 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47208         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47209         Use .p2align directive instead, throughout.
47210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47211         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47212         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47213         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47214         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47215         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47216         * sysdeps/x86_64/strchr.S: Likewise.
47217         * sysdeps/x86_64/strrchr.S: Likewise.
47219 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47221         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47223         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47225         * sysdeps/generic/math_private.h (__mpsin1): Remove
47226         declaration.
47227         (__mpcos1): Likewise.
47228         (__mpsin): New argument __range_reduce.
47229         (__mpcos): Likewise.
47230         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47231         (slow): Use __mpsin and __mpcos.
47232         (slow1): Likewise.
47233         (slow2): Likewise.
47234         (sloww): Likewise.
47235         (sloww1): Likewise.
47236         (sloww2): Likewise.
47237         (bsloww): Likewise.
47238         (bsloww1): Likewise.
47239         (bsloww2): Likewise.
47240         (cslow2): Likewise.
47241         (csloww): Likewise.
47242         (csloww1): Likewise.
47243         (csloww2): Likewise.
47244         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47245         range_reduce.  Merge in __mpsin1.
47246         (__mpcos): Likewise.
47247         (__mpsin1): Remove.
47248         (__mpcos1): Likewise.
47250 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47252         * locale/loadlocale.c (_nl_intern_locale_data): Use
47253         LOCFILE_ALIGNED_P.
47254         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47255         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47256         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47257         obstack data is appropriately aligned.
47258         (obstack_int32_grow_fast): Likewise.
47259         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47260         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47261         (add_locale_uint32_array): Likewise.
47263 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47265         * benchtests/Makefile: Remove ARGLIST and RET variables.
47266         ($(objpfx)bench-%.c): Pass only function name to the script.
47267         * benchtests/README: Update documentation.
47268         * benchtests/acos-inputs: Add new directives.
47269         * benchtests/acosh-inputs: Likewise.
47270         * benchtests/asin-inputs: Likewise.
47271         * benchtests/asinh-inputs: Likewise.
47272         * benchtests/atan-inputs: Likewise.
47273         * benchtests/atanh-inputs: Likewise.
47274         * benchtests/cos-inputs: Likewise.
47275         * benchtests/cosh-inputs: Likewise.
47276         * benchtests/exp-inputs: Likewise.
47277         * benchtests/log-inputs: Likewise.
47278         * benchtests/pow-inputs: Likewise.
47279         * benchtests/rint-inputs: Likewise.
47280         * benchtests/sin-inputs: Likewise.
47281         * benchtests/sinh-inputs: Likewise.
47282         * benchtests/tan-inputs: Likewise.
47283         * benchtests/tanh-inputs: Likewise.
47284         * scripts/bench.pl: Add support for new directives.
47286 2013-10-07  Alan Modra  <amodra@gmail.com>
47288         * README: Fix careless merge.
47290 2013-10-05  Alan Modra  <amodra@gmail.com>
47292         * NEWS: Mention powerpc64le support and bugs fixed.
47293         * README: Both big-endian and little-endian powerpc64 supported.
47295 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47297         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47298         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47299         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47300         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47302 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47304         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47305         match prototype.
47307 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47309         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47310         Move -mhard-float appending from
47311         ports/sysdeps/powerpc/powerpc32/Makefile.
47312         [$(with-fp) = yes] (ASFLAGS): Likewise.
47313         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47314         * sysdeps/powerpc/nofpu: Move directory from
47315         ports/sysdeps/powerpc/nofpu.
47316         * sysdeps/powerpc/soft-fp: Move directory from
47317         ports/sysdeps/powerpc/soft-fp.
47318         * sysdeps/powerpc/powerpc32/405: Move directory from
47319         ports/sysdeps/powerpc/powerpc32/405.
47320         * sysdeps/powerpc/powerpc32/440: Move directory from
47321         ports/sysdeps/powerpc/powerpc32/440.
47322         * sysdeps/powerpc/powerpc32/464: Move directory from
47323         ports/sysdeps/powerpc/powerpc32/464.
47324         * sysdeps/powerpc/powerpc32/476: Move directory from
47325         ports/sysdeps/powerpc/powerpc32/476.
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47327         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47329         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47331         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47333         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47335         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47336         * README: Update for powerpc-*-linux-gnu software floating point
47337         support in libc.
47339         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47340         case to powerpc/powerpc32*.
47341         * sysdeps/unix/sysv/linux/configure: Regenerated.
47343         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47344         (_FPU_MASK_OM): Define as 0x04.
47345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47347         0x00c10080.
47348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47349         0x0000003c.
47350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47353         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47354         getcontext_e500.
47355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47356         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47357         setcontext_e500.
47358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47359         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47360         and setcontext_e500.
47362 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47364         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47366 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47368         * manual/threads.texi (Default Thread Attributes): Fix typo.
47370 2013-10-04  Will Newton  <will.newton@linaro.org>
47372         * malloc/Makefile: Add tst-memalign.
47373         * malloc/tst-memalign.c: New file.
47375         * malloc/tst-posix_memalign.c: Add comments.
47376         (do_test): Add comments and call free on all potentially
47377         allocated pointers. Add space after cast.
47379         * malloc/tst-pvalloc.c: Add comments.
47380         (do_test): Add comments and call free on all potentially
47381         allocated pointers. Remove duplicate check for NULL pointer.
47382         Add space after cast.
47384         * malloc/tst-valloc.c: Add comments.
47385         (do_test): Add comments and call free on all potentially
47386         allocated pointers. Remove duplicate check for NULL pointer.
47387         Add space after cast.
47389 2013-10-04  Alan Modra  <amodra@gmail.com>
47391         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47392         Use stdint types in rather than __attribute__((mode())).
47393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47395 2013-10-04  Alan Modra  <amodra@gmail.com>
47397         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47398         Correct handling of unaligned relocs for little-endian.
47399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47401 2013-10-04  Alan Modra  <amodra@gmail.com>
47403         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47404         * configure: Regenerate.
47405         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47406         * shlib-versions: Likewise.
47408 2013-10-04  Alan Modra  <amodra@gmail.com>
47410         * string/tester.c (test_memrchr): Increment reported test cycle.
47412 2013-10-04  Alan Modra  <amodra@gmail.com>
47414         * string/test-memcpy.c (do_one_test): When reporting errors, print
47415         string address and don't overrun end of string.
47417 2013-10-04  Alan Modra  <amodra@gmail.com>
47419         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47420         insrdi.  Make better use of reg selection to speed exit slightly.
47421         Schedule entry path a little better.  Remove useless "are we done"
47422         checks on entry to main loop.  Handle wrapping around zero address.
47423         Correct main loop count.  Handle single left-over word from main
47424         loop inline rather than by using loop_small.  Remove extra word
47425         case in loop_small caused by wrong loop count.  Add little-endian
47426         support.
47427         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47429         cache hint.
47430         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47431         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47432         support.  Avoid rlwimi.
47433         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47435 2013-10-04  Alan Modra  <amodra@gmail.com>
47437         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47438         insrdi.  Formatting.
47439         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47440         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47441         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47442         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47443         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47444         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47446 2013-10-04  Alan Modra  <amodra@gmail.com>
47448         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47449         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47450         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47451         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47452         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47453         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47454         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47456         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47457         use of regs.  Use power7 mtocrf.  Tidy function tails.
47459 2013-10-04  Alan Modra  <amodra@gmail.com>
47461         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47462         Formatting.  Consistently use rXXX register defines or rN defines.
47463         Use early exit labels that avoid restoring unused non-volatile regs.
47464         Make cr field use more consistent with rWORDn compares.  Rename
47465         regs used as shift registers for unaligned loop, using rN defines
47466         for short lifetime/multiple use regs.
47467         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47468         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47469         addi 1,1,64 to pop stack frame.  Simplify return value code.
47470         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47472 2013-10-04  Alan Modra  <amodra@gmail.com>
47474         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47475         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47476         rather than rlwimi.
47477         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47478         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47479         little-endian support.  Correct typos.
47480         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47481         rather than rlwimi.
47482         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47483         in loop and entry code to keep "and." results.
47484         (strchr): Add little-endian support.  Comment.  Move cntlzd
47485         earlier in tail.
47486         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47488 2013-10-04  Alan Modra  <amodra@gmail.com>
47490         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47491         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47492         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47493         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47495 2013-10-04  Alan Modra  <amodra@gmail.com>
47497         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47498         (rTMP): Define as r11.
47499         (strcmp): Add little-endian support.  Optimise tail.
47500         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47502         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47503         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47504         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47506         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47508 2013-10-04  Alan Modra  <amodra@gmail.com>
47510         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47511         little-endian support.  Remove unnecessary "are we done" tests.
47512         Handle "s" wrapping around zero and extremely large "size".
47513         Correct main loop count.  Handle single left-over word from main
47514         loop inline rather than by using small_loop.  Correct comments.
47515         Delete "zero" tail, use "end_max" instead.
47516         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47518 2013-10-04  Alan Modra  <amodra@gmail.com>
47520         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47521         support.  Don't branch over align.
47522         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47523         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47524         support.  Rearrange tmp reg use to suit.  Comment.
47525         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47527 2013-10-04  Alan Modra  <amodra@gmail.com>
47529         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47531 2013-10-04  Alan Modra  <amodra@gmail.com>
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47534         conditional form of branch and link when obtaining pc.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47537 2013-10-04  Alan Modra  <amodra@gmail.com>
47539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47540         HIWORD/LOWORD.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47544 2013-10-04  Alan Modra  <amodra@gmail.com>
47546         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47547         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47548         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47549         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47550         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47551         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47552         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47553         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47554         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47555         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47557 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47558             Alistair Popple <alistair@ozlabs.au.ibm.com>
47559             Alan Modra <amodra@gmail.com>
47561         [BZ #15723]
47562         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47563         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47564         _dl_hwcap access for little-endian.
47565         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47566         destroy vmx regs when saving unaligned.
47567         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47568         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47569         destroy vmx regs when saving unaligned.
47571 2013-10-04  Alan Modra  <amodra@gmail.com>
47573         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47574         Don't use a union to pack hi/low value.
47576 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47578         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47579         for little-endian.
47580         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47582         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47583         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47584         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47586 2013-10-04  Alan Modra  <amodra@gmail.com>
47588         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47589         constants to usual value for .cst8 section, and remove redundant
47590         high address load.
47591         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47592         constant for 0x1p52.  Load little-endian words of double from
47593         correct stack offsets.
47595 2013-10-04  Alan Modra  <amodra@gmail.com>
47597         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47598         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47599         words of double from correct stack offsets.
47600         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47601         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47602         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47603         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47605         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47606         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47607         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47608         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47609         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47611         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47612         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47613         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47614         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47615         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47616         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47618 2013-10-04  Alan Modra  <amodra@gmail.com>
47620         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47621         64-bit int/double union.
47622         (_FPU_SETCW): Likewise.
47623         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47624         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47626 2013-10-04  Alan Modra  <amodra@gmail.com>
47628         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47629         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47631 2013-10-04  Alan Modra  <amodra@gmail.com>
47633         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47634         use vector int constants.
47635         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47637 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47639         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47640         array with long long.
47641         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47642         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47643         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47644         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47645         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47646         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47647         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47648         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47649         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47650         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47651         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47652         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47653         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47655 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47657         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47658         (__signbit): Likewise.  Correct for little-endian.
47659         (__signbitl): Call __signbit.
47660         (lrint): Correct for little-endian.
47661         (lrintf): Call lrint.
47663 2013-10-04  Alan Modra  <amodra@gmail.com>
47665         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47666         union 32-bit int array member with 64-bit int array.
47667         (t515, tm256): Double rather than long double.
47668         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47670 2013-10-04  Alan Modra  <amodra@gmail.com>
47672         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47673         Delete.
47674         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47676         version of math_ldbl.h.
47678 2013-10-04  Alan Modra  <amodra@gmail.com>
47680         [BZ #15734], [BZ #15735]
47681         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47682         all uses of ieee875 long double macros and unions.  Simplify test
47683         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47684         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47685         normalize after ldbl_extract_mantissa, and don't add hidden bit
47686         already handled.  Don't treat low word of ieee854 mantissa like
47687         low word of IBM long double and mask off bit when testing for
47688         zero.
47689         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47690         all uses of ieee875 long double macros and unions.  Simplify tests
47691         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47692         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47693         two1022, instead use their values.  Recognise that tests for large
47694         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47695         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47696         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47697         test for 0.0L and nan.  Correct negation.
47698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47699         ieee875 long double macros and unions.  Correct output for large
47700         magnitude x.  Correct absolute value calculation.
47701         (__erfcl): Likewise.
47702         * math/libm-test.inc: Add tests for errors discovered in IBM long
47703         double versions of fmodl, remainderl, erfl and erfcl.
47705 2013-10-04  Alan Modra  <amodra@gmail.com>
47707         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47708         all uses of ieee854 long double macros and unions.  Simplify tests
47709         for long doubles that are fully specified by the high double.
47710         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47711         Likewise.
47712         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47713         Remove dead code too.
47714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47715         (__ieee754_ynl): Likewise.
47716         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47717         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47718         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47719         Remove dead code too.
47720         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47721         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47722         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47723         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47724         Simplify.
47725         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47726         Simplify.
47727         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47728         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47729         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47730         Comment on variable precision.
47731         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47732         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47733         Likewise.
47734         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47735         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47736         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47738         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47740 2013-10-04  Alan Modra  <amodra@gmail.com>
47742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47743         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47744         all uses of ieee854 long double macros and unions.
47745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47747         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47748         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47749         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47751         Likewise.
47752         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47753         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47754         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47755         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47756         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47757         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47758         Simplify sign and nan test too.
47759         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47760         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47761         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47762         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47763         Likewise.
47764         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47765         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47766         Likewise.
47767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47768         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47769         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47770         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47771         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47774 2013-10-04  Alan Modra  <amodra@gmail.com>
47776         * stdio-common/printf_size.c (__printf_size): Don't use
47777         union ieee854_long_double in fpnum union.
47778         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47779         signbit macro to retrieve sign from long double.
47780         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47781         retrieve sign from long double.
47782         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47783         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47784         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47785         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47786         * math/test-misc.c (main): Don't use union ieee854_long_double.
47788 2013-10-04  Alan Modra  <amodra@gmail.com>
47790         [BZ #15680]
47791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47793         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47794         calculation.  Remove unnecessary test for denormal exponent.
47795         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47796         Correct handling of denormals.  Avoid undefined shift behaviour.
47797         Correct normalisation of low mantissa when low double is denormal.
47798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47799         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47800         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47801         Correct normalisation of low mantissa.  Test for overflow of high
47802         mantissa and normalise.
47803         (ldbl_nearbyint): Use more readable constant for two52.
47804         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47805         (__mpn_construct_long_double): Fix test for overflow of high
47806         mantissa and correct normalisation.  Avoid undefined shift.
47808 2013-10-04  Alan Modra  <amodra@gmail.com>
47810         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47811         (union ibm_extended_long_double): Define as an array of ieee754_double.
47812         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47813         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47814         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47815         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47816         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47817         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47819         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47820         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47821         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47822         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47824 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47826         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47827         page size instead of calling getpagesize.
47829         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47830         (LOCFILE_ALIGN_MASK): Likewise.
47831         (LOCFILE_ALIGN_UP): Likewise.
47832         (LOCFILE_ALIGNED_P): Likewise.
47833         * locale/programs/ld-collate.c (collate_output): Use the new
47834         macros instead of __alignof__ (int32_t).
47835         * locale/weight.h (findidx): Likewise.
47837 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47839         [BZ #431]
47840         * manual/string.texi: Fix strncat and wcsncat.
47842 2013-10-03  Brooks Moses  <bmoses@google.com>
47844         [BZ #15915]
47845         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47846         * Makerules: ...here, and adjust associated comments.
47848 2013-10-02  Will Newton  <will.newton@linaro.org>
47850         * malloc/Makefile: Add tst-pvalloc.
47851         * malloc/tst-pvalloc.c: New file.
47853 2013-10-02  Will Newton  <will.newton@linaro.org>
47855         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47856         improve test coverage.
47858 2013-10-02  Will Newton  <will.newton@linaro.org>
47860         * malloc/Makefile: Add tst-posix_memalign.
47861         * malloc/tst-posix_memalign.c: New file.
47863 2013-10-01  Eric Blake  <eblake@redhat.com>
47865         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47866         Use __THROWNL rather than __THROW on static functions.
47868 2013-09-30  Petr Machata  <pmachata@redhat.com>
47870         * elf/elf.h (R_AARCH64_ABS16): New macro.
47871         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47872         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47873         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47874         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47875         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47876         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47877         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47878         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47879         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47880         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47881         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47882         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47883         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47884         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47885         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47886         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47887         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47888         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47889         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47890         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47891         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47892         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47893         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47894         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47895         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47896         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47897         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47898         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47899         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47900         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47901         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47902         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47903         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47904         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47905         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47906         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47907         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47908         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47909         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47910         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47911         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47912         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47913         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47914         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47915         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47916         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47917         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47918         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47919         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47920         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47921         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47922         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47923         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47924         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47925         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47926         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47927         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47928         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47929         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47930         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47931         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47932         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47933         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47934         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47935         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47936         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47937         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47938         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47939         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47940         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47941         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47942         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47943         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47944         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47945         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47946         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47947         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47948         (R_AARCH64_TLSDESC_LDR): Likewise.
47949         (R_AARCH64_TLSDESC_ADD): Likewise.
47950         (R_AARCH64_TLSDESC_CALL): Likewise.
47952 2013-09-30  Andreas Schwab  <schwab@suse.de>
47954         [BZ #15048]
47955         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47956         the nss database lookup.
47957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47960 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47962         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47964 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47966         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47967         ${Bash-specific parameter/pattern/string} parameter expansion.
47968         * sysdeps/unix/make-syscalls.sh: Likewise.
47970 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47972         * sysdeps/sh/stackguard-macros.h: New file.
47974 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47978         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47979         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47980         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47981         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47983 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47985         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47986         Fix thread ID register.
47988 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47990         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47991         [POSIX || UNIX98]: Require rather than permitting all symbols from
47992         <time.h>.
47993         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47994         element of struct sched_param.
47995         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47996         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47997         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47998         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47999         constant.
48001 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48003         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48004         argument calculation.
48006 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48008         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48009         Expect macro.
48010         [POSIX] (pthread_attr_t): Do not require type.
48011         [POSIX] (pthread_cond_t): Likewise.
48012         [POSIX] (pthread_condattr_t): Likewise.
48013         [POSIX] (pthread_key_t): Likewise.
48014         [POSIX] (pthread_mutex_t): Likewise.
48015         [POSIX] (pthread_mutexattr_t): Likewise.
48016         [POSIX] (pthread_once_t): Likewise.
48017         [POSIX] (pthread_t): Likewise.
48018         [POSIX-based standards] (pthread_atfork): Expect function.
48020 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48021             Richard Sandiford  <richard@codesourcery.com>
48023         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48024         (swap_endianness_p): New extern variable.
48025         (set_big_endian): New inline function.
48026         (maybe_swap_uint32): Likewise.
48027         (maybe_swap_uint32_array): Likewise.
48028         (maybe_swap_uint32_obstack): Likewise.
48029         * locale/programs/locfile.c: Include <stdbool.h>.
48030         (swap_endianness_p): New variable.
48031         (add_locale_uint32): Call maybe_swap_uint32.
48032         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48033         (write_locale_data): Call maybe_swap_uint32_array.
48034         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48035         maybe_swap_uint32.
48036         (obstack_int32_grow_fast): Likewise.
48037         (output_weightwc): Call maybe_swap_uint32_obstack.
48038         (collate_output): Likewise.
48039         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48040         (OPT_LITTLE_ENDIAN): Likewise.
48041         (options): Add --little-endian and --big-endian options.
48042         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48043         * locale/programs/locarchive.c: Include "locfile.h".
48044         (GET): New macro.
48045         (SET): Likewise.
48046         (INC): Likewise.
48047         (create_archive): Use the new macros to access fields of
48048         structures directly mapped from or written to locale archives.
48049         (oldlocrecentcmp): Likewise.
48050         (enlarge_archive): Likewise.
48051         (insert_name): Likewise.
48052         (add_alias): Likewise.
48053         (add_locale): Likewise.
48054         (delete_locales_from_archive): Likewise.
48055         (show_archive_content): Likewise.
48056         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48057         locale data.
48059 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48061         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48062         http://www.gnu.org/doc/freemanuals.texi.
48063         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48065 2013-09-24  Will Newton  <will.newton@linaro.org>
48067         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48068         macro.
48070 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48072         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48073         unsigned char.
48075 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48077         * manual/threads.texi (POSIX Threads): Fix a typo.
48079 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48081         [BZ #14547]
48082         * string/tst-strcoll-overflow.c: New test case.
48083         * string/Makefile (xtests): Add tst-strcoll-overflow.
48084         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48085         cache if string sizes may cause integer overflow.
48087         [BZ #14547]
48088         * string/strcoll_l.c (coll_seq): New members rule, idx,
48089         save_idx and back_us.
48090         (get_next_seq_nocache): New function.
48091         (do_compare_nocache): New function.
48092         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48093         when malloc fails.
48095 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48097         [BZ #15754]
48098         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48099         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48100         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48102         [BZ #15754]
48103         * elf/Makefile (tests): Add tst-ptrguard1.
48104         (tests-static): Add tst-ptrguard1-static.
48105         (tst-ptrguard1-ARGS): Define.
48106         (tst-ptrguard1-static-ARGS): Define.
48107         * elf/tst-ptrguard1.c: New file.
48108         * elf/tst-ptrguard1-static.c: New file.
48109         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48110         * sysdeps/i386/stackguard-macros.h: Likewise.
48111         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48112         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48113         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48114         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48115         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48116         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48118 2013-09-23  Hector Marco  <hecmargi@upv.es>
48119             Ismael Ripoll  <iripoll@disca.upv.es>
48120             Carlos O'Donell  <carlos@redhat.com>
48122         [BZ #15754]
48123         * sysdeps/generic/stackguard-macros.h: Define
48124         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48125         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48126         Define __pointer_chk_guard_local.
48127         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48128         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48130 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48132         [BZ #15859]
48133         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48135 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48137         * include/string.h (__ffs): Declare as hidden.
48138         * string/ffs.c (__ffs): Define as hidden.
48139         * sysdeps/i386/ffs.c (__ffs): Likewise.
48140         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48141         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48142         * sysdeps/s390/ffs.c (__ffs): Likewise.
48143         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48145 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48147         * NEWS: Mention malloc probes.
48149         * malloc/arena.c (new_heap): New memory_heap_new probe.
48150         (grow_heap): New memory_heap_more probe.
48151         (shrink_heap): New memory_heap_less probe.
48152         (heap_trim): New memory_heap_free probe.
48153         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48154         (systrim): New memory_sbrk_less probe.
48155         * manual/probes.texi: Document them.
48157         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48158         * manual/probes.texi: Document it.
48160         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48161         (__libc_realloc): Add memory_realloc_retry probe.
48162         (__libc_memalign): Add memory_memalign_retry probe.
48163         (__libc_valloc): Add memory_valloc_retry probe.
48164         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48165         (__libc_calloc): Add memory_calloc_retry probe.
48166         * manual/probes.texi: Document them.
48168         * malloc/arena.c (get_free_list): Add probe
48169         memory_arena_reuse_free_list.
48170         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48171         and memory_arena_reuse.
48172         (arena_get2) [!PER_THREAD]: Likewise.
48173         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48174         memory_arena_reuse_realloc.
48175         * manual/probes.texi: Document them.
48177         * malloc/malloc.c (__libc_free): Add
48178         memory_mallopt_free_dyn_thresholds probe.
48179         (__libc_mallopt): Add multiple memory_mallopt probes.
48180         * manual/probes.texi: Document them.
48182         * malloc/malloc.c: Include stap-probe.h.
48183         (__libc_mallopt): Add memory_mallopt probe.
48184         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48185         * manual/probes.texi: New.
48186         * manual/Makefile (chapters): Add probes.
48187         * manual/threads.texi: Set next node.
48189 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48191         [BZ #15963, #13985]
48192         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48193         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48194         Add `Chinese' to `nan' entry name.
48196 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48198         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48199         (POLYNOMIAL): Likewise.
48200         (TAYLOR_SINCOS): Likewise.
48201         (TAYLOR_SLOW): Likewise.
48202         (__sin): Use TAYLOR_SINCOS.
48203         (__cos): Likewise.
48204         (slow): Use TAYLOR_SLOW.
48205         (sloww): Likewise.
48206         (bsloww): Likewise.
48207         (csloww): Likewise.
48209 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48211         * stdlib/strtod_l.c: Fix buffer overrun.
48213 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48215         * benchtests/Makefile (bench): Add sincos.
48216         * benchtests/bench-sincos.c: New file.
48218         * math/libm-test.inc (cos_test_data): New test inputs.
48219         (sin_test_data): Likewise.
48221         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48222         macro.
48223         (__sin): Use it.
48224         (__cos): Likewise.
48225         (slow1): Likewise.
48226         (slow2): Likewise.
48227         (sloww1): Likewise.
48228         (sloww2): Likewise.
48229         (bsloww1): Likewise.
48230         (bsloww2): Likewise.
48231         (cslow2): Likewise.
48232         (csloww1): Likewise.
48233         (csloww2): Likewise.
48235         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48236         function.
48237         (__sin): Use it.
48238         (__cos): Likewise.
48240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48241         gotos.
48242         (__cos): Likewise.
48244 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48246         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48247         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48248         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48249         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48250         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48251         * elf/cache.c (print_entry): Handle the new cache flags.
48253 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48254             Aldy Hernandez  <aldyh@redhat.com>
48256         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48257         Change condition to [_SOFT_FLOAT].
48258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48270         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48273         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48274         declaration.
48276 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48278         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48279         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48280         (__longjmp): Use LOAD_GP to load saved GPRs.
48281         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48282         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48283         (__sigsetjmp): Use SAVE_GP to save GPRs.
48285         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48286         Do not append -msoft-float.
48287         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48289 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48291         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48293 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48295         [BZ #15966]
48296         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48297         (_FPU_GETCW): Use initial "__" on variable and field names but not
48298         on macro parameter name.
48299         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48300         parentheses around reference to macro parameter.
48302 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48304         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48305         prototype.
48306         (ctype_startup): Use uint32_t in cast and sizeof for
48307         ctype->charnames.
48309 2013-09-11  Jia Liu  <proljc@gmail.com>
48311         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48312         __daddr_t_defined.
48313         [__FreeBSD__]: Likewise.
48315 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48318         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48319         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48320         (strchr): Remove __strchr_sse42 ifunc selection.
48321         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48322         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48324 2013-09-11  Will Newton  <will.newton@linaro.org>
48326         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48327         parameter to RES. Remove hardcoded 1000 value.
48328         * benchtests/bench-skeleton.c (main): Pass RES parameter
48329         to TIMING_INIT and multiply result by 1000.
48331 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48335 2013-09-11  Andreas Schwab  <schwab@suse.de>
48337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48338         if not defined.
48339         (O_TMPFILE) [__USE_GNU]: Define.
48340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48341         Define.
48343 2013-09-11  Will Newton  <will.newton@linaro.org>
48345         [BZ #15857]
48346         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48347         does not overflow.
48349 2013-09-11  Will Newton  <will.newton@linaro.org>
48351         [BZ #15856]
48352         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48353         does not overflow.
48355 2013-09-11  Will Newton  <will.newton@linaro.org>
48357         [BZ #15855]
48358         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48359         does not overflow.
48361 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48363         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48365         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48366         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48367         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48369 2013-09-10  Allan McRae  <allan@archlinux.org>
48371         [BZ #15748]
48372         * manual/arith.texi (Parsing of Floats): Clarify
48373         cross-reference.
48375         [BZ #15849]
48376         * manual/install.texi (Running make install): Mention
48377         --enable-pt-chown.
48378         * INSTALL: Regenerated.
48380 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48382         * csu/init-first.c (_init): Remove the !SHARED condition around
48383         FPU control word initialization.
48384         * elf/dl-support.c (_dl_fpu_control): New variable.
48385         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48386         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48387         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48388         * math/test-fpucw-static.c: New file.
48389         * math/test-fpucw-ieee.c: New file.
48390         * math/test-fpucw-ieee-static.c: New file.
48391         * math/Makefile (tests): Add `test-fpucw-ieee' and
48392         `$(tests-static)'.
48393         (tests-static): New variable.
48394         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48395         dependency to...
48396         [($(build-shared),yes)]
48397         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48398         ... this.
48399         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48400         New dependency.
48402 2013-09-09  Allan McRae  <allan@archlinux.org>
48404         [BZ #15939]
48405         * manual/string.texi (Collation Functions): Fix typo in
48406         strcoll example.
48407         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48409         [BZ #15893]
48410         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48412         [BZ #15892]
48413         * libio/memstream.c (open_memstream): Fix memory leak.
48414         * libio/wmemstream.c (open_wmemstream): Likewise.
48416         [BZ #15895]
48417         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48419 2013-09-09  Will Newton  <will.newton@linaro.org>
48421         * malloc/Makefile: Add tst-realloc to tests.
48422         * malloc/tst-realloc.c: New file.
48424 2013-09-09  Allan McRae  <allan@archlinux.org>
48426         [BZ #15844]
48427         * COPYING: Update from GNU website to fix FSF address.
48428         * COPYING.LIB: Likewise.
48430 2013-09-06  David S. Miller  <davem@davemloft.net>
48432         * po/zh_TW.po: Update Chinese (traditional) translation from
48433         translation project.
48435 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48436             Joseph Myers  <joseph@codesourcery.com>
48438         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48439         "localeinfo.h".
48440         (obstack_chunk_alloc): New macro.
48441         (obstack_chunk_free): Likewise.
48442         (record_offset): New function.
48443         (init_locale_data): Likewise.
48444         (align_locale_data): Likewise.
48445         (add_locale_empty): Likewise.
48446         (add_locale_raw_data): Likewise.
48447         (add_locale_raw_obstack): Likewise.
48448         (add_locale_string): Likewise.
48449         (add_locale_wstring): Likewise.
48450         (add_locale_uint32): Likewise.
48451         (add_locale_uint32_array): Likewise.
48452         (add_locale_char): Likewise.
48453         (start_locale_structure): Likewise.
48454         (end_locale_structure): Likewise.
48455         (start_locale_prelude): Likewise.
48456         (end_locale_prelude): Likewise.
48457         (write_locale_data): Take locale_file structure rather than an
48458         iovec.
48459         * locale/programs/locfile.h: Include "obstack.h".
48460         (struct locale_file): Change to store locale file contents instead
48461         of header.
48462         (init_locale_data): New prototype.
48463         (align_locale_data): Likewise.
48464         (add_locale_empty): Likewise.
48465         (add_locale_raw_data): Likewise.
48466         (add_locale_raw_obstack): Likewise.
48467         (add_locale_string): Likewise.
48468         (add_locale_wstring): Likewise.
48469         (add_locale_uint32): Likewise.
48470         (add_locale_uint32_array): Likewise.
48471         (add_locale_char): Likewise.
48472         (start_locale_structure): Likewise.
48473         (end_locale_structure): Likewise.
48474         (start_locale_prelude): Likewise.
48475         (end_locale_prelude): Likewise.
48476         (write_locale_data): Update prototype.
48477         * locale/programs/3level.h (struct TABLE): Remove result field.
48478         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48479         Use new locale_file interface.
48480         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48481         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48482         * locale/programs/ld-address.c (address_output): Use new
48483         locale_file interface.
48484         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48485         NO_ADD_LOCALE.
48486         (collate_finish): Don't call collseq_table_finalize.
48487         (collate_output): Use new locale_file interface.
48488         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48489         in file.
48490         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48491         (TABLE): Move defines earlier in file.
48492         (ELEMENT): Likewise.
48493         (DEFAULT): Likewise.
48494         (wctrans_table_add): Move macro and inline function earlier in
48495         file.
48496         (struct wctype_table): Move type earlier in file.
48497         (add_locale_wctype_table): New static prototype.
48498         (struct locale_ctype_t): Use logical types instead of struct iovec
48499         pointers for members.
48500         (ctype_output): Use new locale_file interface.
48501         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48502         new locale_file interface.
48503         (allocate_arrays): Update for use of new locale_file interface.
48504         * locale/programs/ld-identification.c (identification_output): Use
48505         new locale_file interface.
48506         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48507         * locale/programs/ld-messages.c (messages_output): Likewise.
48508         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48509         * locale/programs/ld-name.c (name_output): Likewise.
48510         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48511         * locale/programs/ld-paper.c (paper_output): Likewise.
48512         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48513         * locale/programs/ld-time.c (time_output): Likewise.
48515 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48517         * benchtests/Makefile: Add memrchr benchmark.
48518         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48519         benchmark as memrchr.
48520         * benchtests/bench-memrchr-ifunc.c: New file.
48521         * benchtests/bench-memrchr.c: New file.
48523 2013-09-06   Will Newton  <will.newton@linaro.org>
48525         * benchtests/Makefile (string-bench): Add memcpy.
48527 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48528             Cong Wang  <amwang@redhat.com>
48530         [BZ #15850]
48531         * sysdeps/unix/sysv/linux/bits/in.h
48532         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48533         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48534         before __USE_KERNEL_IPV6_DEFS uses.
48535         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48536         IPPROTO_BEETPH.
48537         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48538         sockaddr_in6, or ipv6_mreq.
48540 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48542         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48543         memory access for final bytes in some large inputs.
48544         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48546 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48548         * string/test-memrchr.c: New file.
48549         * string/test-memrchr-ifunc.c: New file.
48550         * string/Makefile: Add new memrchr testcase.
48552 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48554         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48555         fanotify_init returns EPERM.
48557 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48559         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48560         errors.
48561         (top level): Treat second token from macro or constant entries for
48562         allowed headers as allowed.
48563         * include/complex.h: Condition internal declarations on
48564         [!_ISOMAC].
48565         * include/fenv.h: Condition include of <stdbool.h> and internal
48566         declarations on [!_ISOMAC].
48568 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48570         [BZ #15923]
48571         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48573 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48575         * configure.in (--enable-versioning): Remove configure option.
48576         (libc_cv_asm_symver_directive): Remove configure test.
48577         (libc_cv_ld_version_script_option): Likewise.
48578         (VERSIONING): Remove variable and AC_SUBST.
48579         (DO_VERSIONING): Remove AC_DEFINE.
48580         * configure: Regenerated.
48581         * config.h.in (DO_VERSIONING): Remove macro.
48582         * Makerules [$(versioning) = yes]: Change conditionals to
48583         [$(build-shared) = yes].
48584         * config.make.in (versioning): Remove variable.
48585         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48586         [$(build-shared) = yes].
48587         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48588         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48589         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48590         [$(build-shared) = yes].
48591         * extra-lib.mk [$(versioning) = yes]: Likewise.
48592         * hurd/Makefile [$(versioning) = yes]: Likewise.
48593         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48594         [SHARED].
48595         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48596         [SHARED].
48597         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48598         [SHARED && !NO_HIDDEN].
48599         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48600         [SHARED].
48601         [SHARED && DO_VERSIONING]: Likewise..
48602         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48603         [$(build-shared) = yes].
48604         * manual/install.texi (--disable-versioning): Remove
48605         documentation.
48606         * INSTALL: Regenerated.
48607         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48608         to [SHARED].
48609         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48610         [$(build-shared) = yes].
48611         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48612         * sysdeps/i386/i686/multiarch/strstr-c.c
48613         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48614         [SHARED && !NO_HIDDEN].
48615         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48616         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48617         * sysdeps/powerpc/powerpc32/dl-machine.c
48618         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48619         * sysdeps/powerpc/powerpc32/sysdep.h
48620         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48621         to [SHARED && PIC && !NO_HIDDEN].
48622         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48623         conditional to [SHARED].
48625 2013-09-04   Will Newton  <will.newton@linaro.org>
48627         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48628         * benchtests/bench-string.h: Include bench-timing.h instead
48629         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48630         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48631         call to HP_TIMING_DIFF_INIT.
48632         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48633         instead of hp-timing.h macros.
48634         * benchtests/bench-memchr.c: Likewise.
48635         * benchtests/bench-memcmp.c: Likewise.
48636         * benchtests/bench-memcpy.c: Likewise.
48637         * benchtests/bench-memmem.c: Likewise.
48638         * benchtests/bench-memmove.c: Likewise.
48639         * benchtests/bench-memset.c: Likewise.
48640         * benchtests/bench-rawmemchr.c: Likewise.
48641         * benchtests/bench-strcasecmp.c: Likewise.
48642         * benchtests/bench-strcasestr.c: Likewise.
48643         * benchtests/bench-strcat.c: Likewise.
48644         * benchtests/bench-strchr.c: Likewise.
48645         * benchtests/bench-strcmp.c: Likewise.
48646         * benchtests/bench-strcpy.c: Likewise.
48647         * benchtests/bench-strcpy_chk.c: Likewise.
48648         * benchtests/bench-strlen.c: Likewise.
48649         * benchtests/bench-strncasecmp.c: Likewise.
48650         * benchtests/bench-strncat.c: Likewise.
48651         * benchtests/bench-strncmp.c: Likewise.
48652         * benchtests/bench-strncpy.c: Likewise.
48653         * benchtests/bench-strnlen.c: Likewise.
48654         * benchtests/bench-strpbrk.c: Likewise.
48655         * benchtests/bench-strrchr.c: Likewise.
48656         * benchtests/bench-strspn.c: Likewise.
48657         * benchtests/bench-strstr.c: Likewise.
48659 2013-09-04  Will Newton  <will.newton@linaro.org>
48661         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48663 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48665         [BZ #15427]
48666         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48667         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48668         * math/libm-test.inc (lgamma_test_data): Add more tests.
48669         * sysdeps/i386/fpu/libm-test-ulps: Update.
48670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48672 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48674         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48676         Add ifunc.
48677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48678         Add strcmp-sse2-unaligned
48679         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48681 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48683         * Versions.def (libc): Add GLIBC_2.19.
48685 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48687         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48688         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48690 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48692         [BZ #14155]
48693         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48694         intermediate calculations in recurrence.
48695         (__ieee754_ynf): Likewise.
48696         * math/libm-test.inc (jn_test_data): Do not allow spurious
48697         underflow exception.  Add more tests.
48698         (yn_test_data): Add more tests.
48699         * sysdeps/i386/fpu/libm-test-ulps: Update.
48700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48702 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48704         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48706 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48708         * csu/init-first.c: Fix then/than typos.
48709         * locale/programs/ld-collate.c: Likewise.
48710         * locale/programs/linereader.h: Likewise.
48711         * manual/charset.texi: Likewise.
48712         * manual/filesys.texi: Likewise.
48713         * manual/stdio.texi: Likewise.
48714         * manual/string.texi: Likewise.
48715         * stdlib/fmtmsg.c: Likewise.
48716         * sysdeps/i386/stpncpy.S: Likewise.
48717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48718         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48720         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48722 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48724         * elf/dl-open.c: Fix typos.
48725         * iconvdata/gbbig5.c: Likewise.
48726         * iconvdata/iso-2022-jp.c: Likewise.
48727         * iconv/gconv_int.h: Likewise.
48728         * iconv/loop.c: Likewise.
48729         * nis/rpcsvc/nis.h: Likewise.
48730         * resolv/ns_name.c: Likewise.
48731         * stdio-common/vfscanf.c: Likewise.
48732         * streams/stropts.h: Likewise.
48733         * sunrpc/rpc_thread.c: Likewise.
48734         * sysdeps/i386/strpbrk.S: Likewise.
48735         * sysdeps/ieee754/k_standard.c: Likewise.
48736         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48738         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48739         * sysdeps/mach/hurd/profil.c: Likewise.
48740         * sysdeps/s390/dl-procinfo.h: Likewise.
48741         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48742         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48743         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48744         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48745         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48747 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48749         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48752 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48754         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48755         aix specific files.
48756         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48757         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48758         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48759         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48760         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48761         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48762         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48763         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48765 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48766             Roland McGrath  <roland@hack.frob.com>
48768         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48769         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48771 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48773         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48774         __executable_start symbol instead of _start.
48776 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48778         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48779         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48780         Move macros to...
48781         * sysdeps/gnu/ldsodefs.h: ... this new file.
48783         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48784         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48785         instead of ELFOSABI_LINUX.
48787         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48788         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48789         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48790         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48791         Likewise.
48792         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48793         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48794         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48795         Likewise.
48796         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48797         (ibm_extended_long_double): Add ieee_nan member.
48798         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48799         (do_test): New function.
48801         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48802         TEST_TRUNC.
48803         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48804         functions, renamed from truncdfsf_test, trunctfsf_test,
48805         trunctfdf_test.
48806         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48807         functions.
48808         (do_test): Run all these.
48810 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48812         * argp/argp-help.c: Fix typos.
48813         * argp/argp-parse.c: Likewise.
48814         * debug/backtracesyms.c: Likewise.
48815         * elf/elf.h: Likewise.
48816         * malloc/malloc.c: Likewise.
48817         * nis/nis_print.c: Likewise.
48818         * resolv/res_comp.c: Likewise.
48819         * stdlib/stdlib.h: Likewise.
48820         * sunrpc/clnt_tcp.c: Likewise.
48821         * sunrpc/clnt_udp.c: Likewise.
48822         * sunrpc/clnt_unix.c: Likewise.
48823         * sysdeps/unix/bsd/ptsname.c: Likewise.
48824         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48825         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48827         Likewise.
48828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48829         Likewise.
48830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48831         Likewise.
48832         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48834 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48836         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48839 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48841         [BZ #15897]
48842         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48843         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48844         ($(objpfx)bug-dl-leaf): New rule.
48845         ($(objpfx)bug-dl-leaf.so): Likewise.
48846         ($(objpfx)bug-dl-leaf.out): Likewise.
48847         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48848         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48849         * dlfcn/bug-dl-leaf.c: New test.
48850         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48851         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48852         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48853         (dlclose): Likewise.
48854         (dlmopen): Likewise.
48856 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48858         * include/netdb.h [!_ISOMAC]:
48859         Don't include <tls.h>.
48860         (h_errno, __libc_h_errno): Move declaration and macros out of
48861         [_LIBC_REENTRANT].
48863         * include/resolv.h [_RESOLV_H_]:
48864         Don't include <tls.h>.
48865         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48866         * resolv/res_libc.c: Don't include <tls.h>.
48867         (_res): Use __attribute__ ((nocommon)) in place of
48868         __attribute__ ((section (".bss"))).
48870         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48871         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48873         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48875         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48876         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48878         * resolv/res_mkquery.c: Include <sys/time.h>.
48880         * inet/ifreq.c: Moved to ...
48881         * sysdeps/unix/ifreq.c: ... here.
48882         * inet/ifreq.c: New file, true stub version.
48884         * socket/sa_len.c: New file.
48885         * socket/Makefile (aux): Add it.
48886         * sysdeps/unix/sysv/linux/Makefile
48887         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48888         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48889         and #include <socket/sa_len.c>.
48890         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48891         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48893         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48894         * bits/socket.h: ... here.
48896         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48897         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48898         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48900 2013-08-27  Andreas Schwab  <schwab@suse.de>
48902         [BZ #15736]
48903         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48904         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48905         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48906         * string/test-strcasecmp.c (test_main): Run tests in several
48907         locales.
48908         * string/test-strncasecmp.c (test_main): Likewise.
48910         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48911         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48912         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48914         (__strncasecmp_ssse3) [PIC]: Likewise.
48916 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48918         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48920         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48921         instead of explicitly declaring xdecrypt.
48922         * nis/nss_nis/nis-publickey.c: Likewise.
48924 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48926         [BZ #15890]
48927         * nscd/aicache.c: Include res_hconf.h.
48928         (addhstaiX): Initialize res_hconf.
48930 2013-08-26  Andreas Schwab  <schwab@suse.de>
48932         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48933         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48935 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48937         * nscd/aicache.c (addhstaiX): Fix indentation.
48939 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48941         * configure.ac: Quote $build_pt_chown test.
48942         * configure: Regenerated.
48944 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48946         [BZ #15532]
48947         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48948         * math/s_cexpf.c (__cexpf): Likewise.
48949         * math/s_cexpl.c (__cexpl): Likewise.
48950         * math/libm-test.inc (cexp_test_data): Correct expected return
48951         value for NaN + i0.  Add another test.
48953 2013-08-22  David S. Miller  <davem@davemloft.net>
48955         * po/ca.po: Update Catalan translation from translation project.
48956         * po/uk.po: Add Ukrainian translations from translation project.
48958 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48960         [BZ #15797]
48961         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48962         is infinite, not alongside NaN test.
48963         * math/s_fdimf.c (__fdimf): Likewise.
48964         * math/s_fdiml.c (__fdiml): Likewise.
48965         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48966         errno is unchanged.
48968 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48970         * argp/argp-help.c: Fix typos.
48971         * crypt/speeds.c: Likewise.
48972         * csu/check_fds.c: Likewise.
48973         * elf/dl-load.c: Likewise.
48974         * elf/dl-open.c: Likewise.
48975         * elf/reldep3.c: Likewise.
48976         * elf/reldep.c: Likewise.
48977         * elf/sprof.c: Likewise.
48978         * iconv/iconv_charmap.c: Likewise.
48979         * iconv/skeleton.c: Likewise.
48980         * iconv/strtab.c: Likewise.
48981         * io/lockf64.c: Likewise.
48982         * libio/libioP.h: Likewise.
48983         * resolv/gai_notify.c: Likewise.
48984         * resolv/ns_name.c: Likewise.
48985         * resolv/ns_samedomain.c: Likewise.
48986         * resolv/res_send.c: Likewise.
48987         * stdlib/random.c: Likewise.
48988         * sunrpc/rpc/xdr.h: Likewise.
48989         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48990         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48992         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48993         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48996         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48997         * sysdeps/mach/hurd/check_fds.c: Likewise.
48998         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48999         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49000         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49002         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49003         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49004         * sysdeps/pthread/aio_notify.c: Likewise.
49005         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49006         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49007         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49008         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49009         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49011 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49013         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49014         version if bit_Slow_SSE4_2 is set.
49015         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49016         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49018 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49020         [BZ #15867]
49021         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49022         trampoline stack frame information.
49023         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49025         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49026         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49027         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49028         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49029         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49030         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49031         sa_flags value.
49032         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49033         interrupting a syscall and set with option SA_SIGINFO.
49035 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49037         [BZ #15531]
49038         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49039         argument is infinite.
49040         * math/s_cprojf.c (__cprojf): Likewise.
49041         * math/s_cprojl.c (__cprojl): Likewise.
49042         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49043         * math/libm-test.inc (cproj_test_data): Add more tests.
49045         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49047         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49048         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49049         size.  Use __ffs to determine corresponding shift.
49051 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49052             Roland McGrath  <roland@hack.frob.com>
49054         * Makefile (INSTALL): Remove trailing blank lines from output of
49055         makeinfo.
49057 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49059         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49060         Align 32 bit compat elf_greg to 8 bytes.
49062 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49064         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49066 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49068         * string/strcoll_l.c (coll_seq): New structure.
49069         (get_next_seq_cached): New function.
49070         (get_next_seq): New function.
49071         (do_compare): New function.
49072         (STRCOLL): Use GNU style definition.  Simplify implementation
49073         by using get_next_seq, get_next_seq_cached and do_compare.
49075 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49077         [BZ #14699]
49078         CVE-2013-4237
49079         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49080         member.
49081         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49082         member.
49083         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49084         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49085         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49086         conditional.
49087         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49088         GETDENTS_64BIT_ALIGNED.
49089         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49090         * manual/filesys.texi (Reading/Closing Directory): Document
49091         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49092         strongly.
49093         * manual/conf.texi (Limits for Files): Add portability note to
49094         NAME_MAX, PATH_MAX.
49095         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49097 2013-08-13  Andreas Schwab  <schwab@suse.de>
49099         [BZ #15749]
49100         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49101         of fabs.
49102         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49103         LDBL_MAX_EXP >= 16384]: Add tests for it.
49105 2013-08-12  David S. Miller  <davem@davemloft.net>
49107         * version.h (RELEASE): Set to "development".
49108         (VERSION): Set to "2.18.90".
49109         * NEWS: Add 2.19 section.
49111 2013-08-03  David S. Miller  <davem@davemloft.net>
49113         * po/ko.po: Update Korean translation from translation project.
49115 2013-08-01  David S. Miller  <davem@davemloft.net>
49117         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49118         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49119         Bilka.
49121 2013-07-30  David S. Miller  <davem@davemloft.net>
49123         * po/fr.po: Update French translation from translation project.
49125 2013-07-28  David S. Miller  <davem@davemloft.net>
49127         * po/cs.po: Update Czech translation from translation project.
49129         * po/sv.po: Update Swedish translation from translation project.
49131 2013-07-27  David S. Miller  <davem@davemloft.net>
49133         * po/eo.po: Update Esperanto translation from translation project.
49135         * po/vi.po: Update Vietnamese translation from translation project.
49137         * po/de.po: Update German translation from translation project.
49139 2013-07-26  David S. Miller  <davem@davemloft.net>
49141         * po/bg.po: Update Bulgarian translation from translation project.
49143         * po/nl.po: Update Dutch translation from translation project.
49144         * po/pl.po: Update Polish translation from translation project.
49145         * po/ru.po: Update Russian translation from translation project.
49147 2013-07-24  David S. Miller  <davem@davemloft.net>
49149         * po/libc.pot: Update.
49151 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49153         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49154         variable page size.
49155         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49156         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49157         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49159 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49161         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49163 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49164             Andreas Schwab  <schwab@suse.de>
49165             Roland McGrath  <roland@hack.frob.com>
49166             Joseph Myers  <joseph@codesourcery.com>
49167             Carlos O'Donell  <carlos@redhat.com>
49169         [BZ #15755]
49170         * config.h.in: Define HAVE_PT_CHOWN.
49171         * config.make.in (build-pt-chown): New variable.
49172         * configure.in (--enable-pt_chown): New configure option.
49173         * configure: Regenerate.
49174         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49175         build-pt-chown is enabled.
49176         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49177         pt_chown to fix pty ownership.
49178         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49179         CLOSE_ALL_FDS.
49180         * manual/install.texi (Configuring and compiling): Mention
49181         --enable-pt_chown. Add @findex for grantpt.
49182         * INSTALL: Regenerate.
49184 2013-07-20  David S. Miller  <davem@davemloft.net>
49186         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49187         difference between 32-bit and 64-bit.
49189 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49191         [BZ #15711]
49192         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49193         Avoid system header dependency with -ffreestanding.
49194         ($(objpfx)bits/syscall%d): Likewise.
49196 2013-07-13  David S. Miller  <davem@davemloft.net>
49198         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49199         underflows from atanl/atan2l due to bug 15319.
49200         (casinh_test_data): Likewise.
49202 2013-07-07  David S. Miller  <davem@davemloft.net>
49204         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49206 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49208         * sysdeps/i386/fpu/libm-test-ulps: Update.
49209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49211 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49213         * configure.in (--enable-lock-elision): Fix message text.
49214         * INSTALL: Regenerate.
49215         * configure: Regenerate.
49217 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49221 2013-07-03  Andreas Jaeger  <aj@suse.de>
49223         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49224         define.
49225         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49226         (ptrace_peeksiginfo_args): Add.
49227         (__ptrace_peeksiginfo_flags): Add.
49228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49229         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49232 2013-07-03  Allan McRae  <allan@archlinux.org>
49234         * sysdeps/i386/fpu/libm-test-ulps: Update.
49236 2013-07-02  David S. Miller  <davem@davemloft.net>
49238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49240 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49244 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49246         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49249 2013-07-02  Andi Kleen <ak@linux.intel.com>
49251         * config.h.in (ENABLE_LOCK_ELISION): Add.
49252         * configure.in (--enable-lock-elision): Add option.
49253         * manual/install.texi: Document --enable lock elision.
49254         * configure: Regenerate
49255         * INSTALL: Regenerate.
49257 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49259         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49260         SSE4.2 strcasecmp for libc.a.
49261         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49263 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49265         [BZ #13304]
49266         * soft-fp/op-common.h (_FP_FMA): New macro.
49267         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49268         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49269         (_FP_MUL_MEAT_1_imm): ... here.
49270         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49271         (_FP_MUL_MEAT_1_wide): ... here.
49272         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49273         (_FP_MUL_MEAT_1_hard): ... here.
49274         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49275         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49276         (_FP_MUL_MEAT_2_wide): ... here.
49277         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49278         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49279         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49280         (_FP_MUL_MEAT_2_gmp): ... here.
49281         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49282         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49283         (_FP_MUL_MEAT_4_wide): ... here.
49284         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49285         (_FP_MUL_MEAT_4_gmp): ... here.
49286         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49287         (_FP_WFRACBITS_DW_S): Likewise.
49288         (_FP_WFRACXBITS_DW_S): Likewise.
49289         (_FP_HIGHBIT_DW_S): Likewise.
49290         (FP_FMA_S): Likewise.
49291         (_FP_FRAC_HIGH_DW_S): Likewise.
49292         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49293         (_FP_WFRACBITS_DW_D): Likewise.
49294         (_FP_WFRACXBITS_DW_D): Likewise.
49295         (_FP_HIGHBIT_DW_D): Likewise.
49296         (FP_FMA_D): Likewise.
49297         (_FP_FRAC_HIGH_DW_D): Likewise.
49298         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49299         (_FP_WFRACBITS_DW_E): Likewise.
49300         (_FP_WFRACXBITS_DW_E): Likewise.
49301         (_FP_HIGHBIT_DW_E): Likewise.
49302         (FP_FMA_E): Likewise.
49303         (_FP_FRAC_HIGH_DW_E): Likewise.
49304         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49305         (_FP_WFRACBITS_DW_Q): Likewise.
49306         (_FP_WFRACXBITS_DW_Q): Likewise.
49307         (_FP_HIGHBIT_DW_Q): Likewise.
49308         (FP_FMA_Q): Likewise.
49309         (_FP_FRAC_HIGH_DW_Q): Likewise.
49310         * soft-fp/fmasf4.c: New file.
49311         * soft-fp/fmadf4.c: Likewise.
49312         * soft-fp/fmatf4.c: Likewise.
49314 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49317         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49318         Silvermont.
49319         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49320         macro.
49321         (index_Slow_SSE4_2): Likewise.
49322         (index_Prefer_PMINUB_for_stringop): Likewise.
49323         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49324         bit_Slow_SSE4_2 is set.
49325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49326         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49328 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49330         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49331         rtld_global._dl_hwcap2.
49332         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49333         POWER8.
49334         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49335         POWER8 feature descriptions defined in _dl_hwcap2.
49336         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49337         string handling for POWER8 feature bits.
49338         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49339         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49340         _dl_powerpc_cap_flags.
49341         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49342         * sysdeps/powerpc/rtld-global-offsets.sym
49343         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49344         _dl_hwcap2 in the rtld_global_ro structure.
49346 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49348         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49349         hardware capabilities in support of AT_HWCAP2.
49350         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49351         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49352         GLRO(dl_hwcap2).
49353         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49354         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49355         explicitly the unknown a_type display mechanism is used.
49356         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49357         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49358         struct member.
49359         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49360         to macro prototype for AT_HWCAP2 support.
49361         * sysdeps/i386/dl-procinfo.h: Likewise.
49362         * sysdeps/s390/dl-procinfo.h: Likewise.
49363         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49364         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49365         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49366         return -1 for unknown a_type display fallback.
49367         * sysdeps/sparc/dl-procinfo.h: Likewise.
49368         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49369         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49371 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49373         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49374         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49376 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49378         [BZ #12492]
49379         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49380         mprotect making __stack_prot writable.
49382 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49383             Joseph Myers  <joseph@codesourcery.com>
49385         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49386         as being properly aligned.
49388 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49390         * dlfcn/modstatic5.c: New file.
49391         * dlfcn/tststatic5.c: New file.
49392         * dlfcn/Makefile (tests): Add tststatic5.
49393         (tests-static): Likewise.
49394         (modules-names): Add modstatic5.
49395         (tststatic5-ENV): New variable.
49396         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49398         [BZ #15022]
49399         * elf/dl-support.c (_dl_main_map): New variable.
49400         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49401         (_dl_nns, _dl_load_adds): Set to 1.
49402         (_dl_initial_searchlist): Refer to _dl_main_map.
49403         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49404         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49405         call to _dl_get_origin.
49406         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49407         around call_map.
49408         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49409         * dlfcn/modstatic3.c: New file.
49410         * dlfcn/tststatic3.c: New file.
49411         * dlfcn/tststatic4.c: New file.
49412         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49413         (tests-static): Likewise.
49414         (modules-names): Add modstatic3.
49415         (tststatic3-ENV, tststatic4-ENV): New variables.
49416         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49417         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49419 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49421         * configure.in (CC): Require GCC version 4.4 or later.
49422         * configure: Regenerated.
49423         * manual/install.texi (Tools for Compilation): Update GCC version
49424         requirement.
49425         * INSTALL: Regenerated.
49427 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49429         [BZ #15674]
49430         * string/test-memcmp.c (check2): New.
49431         (main): Call check2.
49433         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49435 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49437         [BZ #15022]
49438         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49439         over to...
49440         (dl_open_worker) [!SHARED]: ... here.
49442 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49444         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49446 2013-06-25  Richard Henderson  <rth@redhat.com>
49448         * locale/programs/locarchive.c: Include <libc-internal.h>
49450 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49452         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49453         trailing whitespace removed.
49455 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49457         [BZ #10283]
49458         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49459         * locale/programs/locarchive.c: Include libc-mmap.h.
49460         (prepare_address_space): Take two new outputs (the mmap base and len).
49461         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49462         values.
49463         (create_archive): Declare new mmap base and len values for
49464         prepare_address_space, and store the result in ah.
49465         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49466         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49467         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49468         Declare new mmap base and len values for
49469         prepare_address_space, and store the result in new_ah.
49470         (open_archive): Declare new mmap base and len values for
49471         prepare_address_space, and store the result in ah.
49472         (close_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         * sysdeps/generic/libc-mmap.h: New file.
49476 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49478         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49479         (ALIGN_UP): Likewise.
49480         (PTR_ALIGN_DOWN): Likewise.
49481         (PTR_ALIGN_UP): Likewise.
49483 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49485         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49486         entry mapped to PPC_PLATFORM_POWER8.
49487         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49488         POWER8.
49489         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49490         (_dl_string_platform): Add case for exporting platform position for
49491         POWER8.
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49493         search path to sysdeps/powerpc/powerpc32/power8 directory.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49495         search path to sysdeps/powerpc/powerpc64/power8 directory.
49496         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49497         power7 directories.
49498         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49499         power7 directories.
49501 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49503         * INSTALL: Regenerate.
49505         * nscd/connections.c (nscd_init): Fix comment.
49507 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49509         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49511         [BZ #15667]
49512         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49513         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49515 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49517         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49518         DL_DST_REQ_STATIC.
49519         (DL_DST_REQ_STATIC): Remove macro.
49521 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49523         [BZ #7006]
49524         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49525         with a shift of 0 bits.
49527 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49529         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49530         $(tststatic-ENV).
49532 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49534         [BZ #15655]
49535         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49537 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49539         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49540         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49541         accepts -fno-tree-loop-distribute-patterns.
49542         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49543         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49544         recursive call.
49545         * string/memset.c (memset): Likewise.
49546         * string/test-memmove.c (simple_memmove): Disable loop transformation
49547         to library calls.
49548         * string/test-memset.c (simple_memset): Likewise.
49549         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49550         * benchtests/bench-memset.c (simple_memset): Likewise.
49551         * configure: Regenerated.
49553 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49555         * math/test-misc.c (main): Ignore fesetround failure when failures
49556         of subsequent rounding tests would be ignored.
49558         [BZ #15654]
49559         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49560         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49561         * math/fegetenv.c (__fegetenv): Return 0.
49562         * math/fegetexcept.c (fegetexcept): Return 0.
49563         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49564         FE_TONEAREST.
49565         * math/feholdexcpt.c (feholdexcept): Return 0.
49566         * math/fesetenv.c (__fesetenv): Return 0.
49567         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49568         argument FE_TONEAREST.
49569         * math/feupdateenv.c (__feupdateenv): Return 0.
49570         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49572 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49574         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49575         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49576         ($(objpfx)rtld-%.os rules): Use them.
49578 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49580         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49581         fields.
49583 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49585         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49586         length of target pattern, then descending length of dependency pattern.
49587         * configure.in (AWK): Require gawk 3.1.2 or newer.
49588         * manual/install.texi (Tools for Compilation): Say that we do.
49589         * configure: Regenerated.
49591         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49592         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49593         * scripts/sysd-rules.awk: ... this new script.
49594         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49595         than a glob-style pattern.
49597 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49599         * math/test-misc.c (main): Do not treat incorrectly rounded
49600         conversions as failure unless ROUNDING_TESTS passes.
49602 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49604         [BZ #15631]
49605         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49606         restore exception state around main square root computation, then
49607         check for inexactness explicitly.
49609         * math/libm-test.inc (fma_test_data): Add another test.
49611 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49613         * manual/threads.texi (Non-POSIX Extensions): New document
49614         node.  Document pthread_getattr_default_np and
49615         pthread_setattr_default_np.
49617         * Versions.def (libpthread): Add GLIBC_2.18.
49618         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49620         Likewise.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49622         Likewise.
49623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49624         Likewise.
49625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49626         Likewise.
49627         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49628         Likewise.
49629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49630         Likewise.
49631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49632         Likewise.
49633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49634         Likewise.
49635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49636         Likewise.
49638 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49641         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49643 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49644             H.J. Lu  <hjl.tools@gmail.com>
49646         [BZ #15627]
49647         * sysdeps/x86_64/rtld-memset.c: Remove file.
49648         * sysdeps/x86_64/rtld-memset.S: New file.
49650 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49652         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49653         (test_in_one_mode): Take arguments for whether the rounding mode
49654         is supported for each floating-point type.
49655         (do_test): Pass new arguments to test_in_one_mode using
49656         ROUNDING_TESTS.
49658 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49660         * posix/tst-waitid.c (do_test): Distinguish different instances of
49661         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49662         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49663         before entering the kernel for waitpid.
49665 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49667         * NEWS: Fix note on clock function precision.  Text by Roland
49668         McGrath.
49670 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49672         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49673         it into place only when and if the sanity check passes.
49675 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49677         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49678         output for whether conversion result is exact.  Take argument
49679         indicating whether type is IBM long double.
49680         (round_for_all): Change need_exact field to ibm_ld.
49681         * stdlib/tst-strtod-round.c (struct exactness): New type.
49682         (struct test): Change bool ld_ok field to struct exactness exact.
49683         (TEST): Update all definitions for change to field.
49684         (tests): Regenerate array contents.
49685         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49686         field value.  Check for IBM long double here.
49687         (do_test): Update calls to test_in_one_mode.
49689 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49691         [BZ #12515]
49692         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49693         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49695 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49697         [BZ #15605]
49698         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49699         generated by the compiler on loop optimizations.
49700         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49701         general definitions.
49703 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49705         * math/bug-nextafter.c: Include <math-tests.h>.
49706         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49707         the relevant type.
49708         * math/bug-nexttoward.c: Include <math-tests.h>.
49709         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49710         the relevant type.
49711         * math/test-misc.c: Include <math-tests.h>.
49712         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49713         the relevant type.
49715 2013-06-12  Andreas Jaeger  <aj@suse.de>
49717         * po/ia.po: Update Interlingua translation from translation
49718         project.
49720 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49722         * include/fenv.h: Include stdbool.h.
49723         (struct rm_ctx): New structure.
49724         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49725         Define macro.
49726         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49727         (SET_RESTORE_ROUNDF): Likewise.
49728         (SET_RESTORE_ROUNDL): Likewise.
49729         (SET_RESTORE_ROUND_NOEX): Likewise.
49730         (SET_RESTORE_ROUND_NOEXF): Likewise.
49731         (SET_RESTORE_ROUND_NOEXL): Likewise.
49732         (SET_RESTORE_ROUND_53BIT): Likewise.
49733         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49734         (libc_feresetround_noexf_ctx): Likewise.
49735         (libc_feresetround_noexl_ctx): Likewise.
49736         (libc_feholdsetround_53bit_ctx): Likewise.
49737         (libc_feresetround_53bit_ctx): Likewise.
49738         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49739         (libc_feholdexcept_setround_sse_ctx): New function.
49740         (libc_fesetenv_sse_ctx): Likewise.
49741         (libc_feupdateenv_sse_ctx): Likewise.
49742         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49743         (libc_feholdexcept_setround_387_ctx): Likewise.
49744         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49745         (libc_feholdsetround_387_prec_ctx): Likewise.
49746         (libc_feholdsetround_387_ctx): Likewise.
49747         (libc_feholdsetround_387_53bit_ctx): Likewise.
49748         (libc_feholdsetround_sse_ctx): Likewise.
49749         (libc_feresetround_sse_ctx): Likewise.
49750         (libc_feresetround_387_ctx): Likewise.
49751         (libc_feupdateenv_387_ctx): Likewise.
49752         (libc_feholdexcept_setroundf_ctx): Define macro.
49753         (libc_fesetenvf_ctx): Likewise.
49754         (libc_feupdateenvf_ctx): Likewise.
49755         (libc_feholdsetroundf_ctx): Likewise.
49756         (libc_feresetroundf_ctx): Likewise.
49757         (libc_feholdexcept_setround_ctx): Likewise.
49758         (libc_fesetenv_ctx): Likewise.
49759         (libc_feupdateenv_ctx): Likewise.
49760         (libc_feholdsetround_ctx): Likewise.
49761         (libc_feresetround_ctx): Likewise.
49762         (libc_feholdexcept_setroundl_ctx): Likewise.
49763         (libc_feupdateenvl_ctx): Likewise.
49764         (libc_feholdsetroundl_ctx): Likewise.
49765         (libc_feresetroundl_ctx): Likewise.
49766         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49767         (libc_feresetround_53bit_ctx): Likewise.
49769 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49771         * locale/iso-639.def: Convert to UTF-8.
49773 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49775         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49776         (EXCEPTION_TESTS_double): Likewise.
49777         (EXCEPTION_TESTS_long_double): Likewise.
49778         (EXCEPTION_TESTS): Likewise.
49779         * math/libm-test.inc (test_exceptions): Only test exceptions if
49780         EXCEPTION_TESTS (FLOAT).
49782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49784         * benchtests/Makefile (string-bench): Add strcpy_chk and
49785         stpcpy_chk.
49786         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49787         * benchtests/bench-stpcpy_chk.c: New file.
49788         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49789         * benchtests/bench-strcpy_chk.c: New file.
49790         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49791         code.
49792         (do_test): Likewise.
49794 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49796         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49797         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49798         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49799         with tabs where appropriate.
49800         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49801         dl-procinfo.h.
49802         [PPC_PLATFORM_PPC440]: Likewise.
49803         [PPC_PLATFORM_PPC464]: Likewise.
49804         [PPC_PLATFORM_PPC476]: Likewise.
49805         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49806         ppc464, and ppc476 platform strings merging from ports/
49807         dl-procinfo.h.
49809 2013-06-11  Andreas Schwab  <schwab@suse.de>
49811         [BZ #14991]
49812         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49813         (from_ucs4_idx): Regenerate.
49814         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49815         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49816         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49817         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49818         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49819         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49820         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49821         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49822         from FROM_LOOP and TO_LOOP specific macros.
49823         (BODY): Handle combining characters.
49824         * iconvdata/BIG5HKSCS.irreversible: Update.
49825         * iconvdata/BIG5HKSCS.precomposed: New file.
49826         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49827         characters.
49828         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49830 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49832         * include/sys/time.h: Fix indentation and add copyright header.
49834         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49835         (do_test): Likewise.
49836         * string/test-memchr.c (do_one_test): Likewise.
49837         (do_test): Likewise.
49838         * string/test-memcmp.c (do_one_test): Likewise.
49839         (do_test): Likewise.
49840         * string/test-memcpy.c (do_one_test): Likewise.
49841         (do_test): Likewise.
49842         * string/test-memmem.c (do_one_test): Likewise.
49843         (do_test): Likewise.
49844         (do_random_tests): Likewise.
49845         * string/test-memmove.c (do_one_test): Likewise.
49846         (do_test): Likewise.
49847         * string/test-memset.c (do_one_test): Likewise.
49848         (do_test): Likewise.
49849         * string/test-rawmemchr.c (do_one_test): Likewise.
49850         (do_test): Likewise.
49851         * string/test-strcasecmp.c (do_one_test): Likewise.
49852         (do_test): Likewise.
49853         * string/test-strcasestr.c (do_one_test): Likewise.
49854         (do_test): Likewise.
49855         * string/test-strcat.c (do_one_test): Likewise.
49856         (do_test): Likewise.
49857         * string/test-strchr.c (do_one_test): Likewise.
49858         (do_test): Likewise.
49859         * string/test-strcmp.c (do_one_test): Likewise.
49860         (do_test): Likewise.
49861         * string/test-strcpy.c (do_one_test): Likewise.
49862         (do_test): Likewise.
49863         * string/test-string.h: Likewise.
49864         (test_init): Likewise.
49865         * string/test-strlen.c (do_one_test): Likewise.
49866         (do_test): Likewise.
49867         * string/test-strncasecmp.c (do_one_test): Likewise.
49868         (do_test): Likewise.
49869         * string/test-strncat.c (do_one_test): Likewise.
49870         (do_test): Likewise.
49871         * string/test-strncmp.c (do_one_test): Likewise.
49872         (do_test_limit): Likewise.
49873         (do_test): Likewise.
49874         * string/test-strncpy.c (do_one_test): Likewise.
49875         (do_test): Likewise.
49876         * string/test-strnlen.c (do_one_test): Likewise.
49877         (do_test): Likewise.
49878         * string/test-strpbrk.c (do_one_test): Likewise.
49879         (do_test): Likewise.
49880         * string/test-strrchr.c (do_one_test): Likewise.
49881         (do_test): Likewise.
49882         * string/test-strspn.c (do_one_test): Likewise.
49883         (do_test): Likewise.
49884         * string/test-strstr.c (do_one_test): Likewise.
49885         (do_test): Likewise.
49887         * benchtests/Makefile (string-bench): Add string benchmarks.
49888         * benchtests/bench-bcopy-ifunc.c: New file.
49889         * benchtests/bench-bcopy.c: New file.
49890         * benchtests/bench-bzero-ifunc.c: New file.
49891         * benchtests/bench-bzero.c: New file.
49892         * benchtests/bench-memccpy-ifunc.c: New file.
49893         * benchtests/bench-memccpy.c: New file.
49894         * benchtests/bench-memchr-ifunc.c: New file.
49895         * benchtests/bench-memchr.c: New file.
49896         * benchtests/bench-memcmp-ifunc.c: New file.
49897         * benchtests/bench-memcmp.c: New file.
49898         * benchtests/bench-memmem-ifunc.c: New file.
49899         * benchtests/bench-memmem.c: New file.
49900         * benchtests/bench-memmove-ifunc.c: New file.
49901         * benchtests/bench-memmove.c: New file.
49902         * benchtests/bench-mempcpy-ifunc.c: New file.
49903         * benchtests/bench-mempcpy.c: New file.
49904         * benchtests/bench-memset-ifunc.c: New file.
49905         * benchtests/bench-memset.c: New file.
49906         * benchtests/bench-rawmemchr-ifunc.c: New file.
49907         * benchtests/bench-rawmemchr.c: New file.
49908         * benchtests/bench-stpcpy-ifunc.c: New file.
49909         * benchtests/bench-stpcpy.c: New file.
49910         * benchtests/bench-stpncpy-ifunc.c: New file.
49911         * benchtests/bench-stpncpy.c: New file.
49912         * benchtests/bench-strcasecmp-ifunc.c: New file.
49913         * benchtests/bench-strcasecmp.c: New file.
49914         * benchtests/bench-strcasestr-ifunc.c: New file.
49915         * benchtests/bench-strcasestr.c: New file.
49916         * benchtests/bench-strcat-ifunc.c: New file.
49917         * benchtests/bench-strcat.c: New file.
49918         * benchtests/bench-strchr-ifunc.c: New file.
49919         * benchtests/bench-strchr.c: New file.
49920         * benchtests/bench-strchrnul-ifunc.c: New file.
49921         * benchtests/bench-strchrnul.c: New file.
49922         * benchtests/bench-strcmp-ifunc.c: New file.
49923         * benchtests/bench-strcmp.c: New file.
49924         * benchtests/bench-strcpy-ifunc.c: New file.
49925         * benchtests/bench-strcpy.c: New file.
49926         * benchtests/bench-strcspn-ifunc.c: New file.
49927         * benchtests/bench-strcspn.c: New file.
49928         * benchtests/bench-strlen-ifunc.c: New file.
49929         * benchtests/bench-strlen.c: New file.
49930         * benchtests/bench-strncasecmp-ifunc.c: New file.
49931         * benchtests/bench-strncasecmp.c: New file.
49932         * benchtests/bench-strncat-ifunc.c: New file.
49933         * benchtests/bench-strncat.c: New file.
49934         * benchtests/bench-strncmp-ifunc.c: New file.
49935         * benchtests/bench-strncmp.c: New file.
49936         * benchtests/bench-strncpy-ifunc.c: New file.
49937         * benchtests/bench-strncpy.c: New file.
49938         * benchtests/bench-strnlen-ifunc.c: New file.
49939         * benchtests/bench-strnlen.c: New file.
49940         * benchtests/bench-strpbrk-ifunc.c: New file.
49941         * benchtests/bench-strpbrk.c: New file.
49942         * benchtests/bench-strrchr-ifunc.c: New file.
49943         * benchtests/bench-strrchr.c: New file.
49944         * benchtests/bench-strspn-ifunc.c: New file.
49945         * benchtests/bench-strspn.c: New file.
49946         * benchtests/bench-strstr-ifunc.c: New file.
49947         * benchtests/bench-strstr.c: New file.
49949         * benchtests/Makefile: Disable parallel execution of targets.
49950         (string-bench): Add memcpy.
49951         (benchset): New variable to store a list of benchmark sets.
49952         (bench-func): Renamed from bench.
49953         (bench-set): New target.
49954         (bench): Depend on bench-func and bench-set.
49955         * benchtests/README: Add section on benchmark sets.
49956         * benchtests/bench-memcpy-ifunc.c: New file.
49957         * benchtests/bench-memcpy.c: New file.
49958         * benchtests/bench-string.h: New file.
49960 2013-06-11  Andreas Schwab  <schwab@suse.de>
49962         [BZ #15577]
49963         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49964         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49965         values in the triple.
49966         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49967         terminator in the group key.
49969 2013-06-11  Andreas Jaeger  <aj@suse.de>
49971         * po/zh_TW.po: Update Chinese (traditional) translation from
49972         translation project.
49974 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49976         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49977         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49978         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49979         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49980         (clock_getcpuclockid): Likewise.
49981         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49982         Add weak_alias and libc_hidden_def.
49983         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49984         * rt/clock_gettime.c (clock_gettime): Rename to
49985         __clock_gettime.  Add weak_alias and libc_hidden_def.
49986         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49987         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49988         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49989         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49990         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49991         Likewise.
49992         * rt/clock_settime.c (clock_settime): Rename to
49993         __clock_settime.  Add weak_alias and libc_hidden_def.
49994         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49996 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49998         * mach/err_boot.sub: Remove trailing whitespace.
49999         * mach/err_ipc.sub: Likewise.
50000         * mach/err_mach.sub: Likewise.
50002         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50003         (ROUNDING_TESTS_double): Likewise.
50004         (ROUNDING_TESTS_long_double): Likewise.
50005         (ROUNDING_TESTS): Likewise.
50006         * math/libm-test.inc: Include <math-tests.h>.
50007         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50008         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50009         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50010         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50012 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50014         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50015         of assigning.
50017 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50019         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50020         otherwise empty TRANS lines.
50021         * sysdeps/gnu/errlist.c: Regenerated.
50023         * catgets/gencat.c (error_print): Use (void) in function
50024         definition.
50025         * crypt/crypt_util.c (__init_des): Likewise.
50026         * crypt/speeds.c (Stop): Likewise.
50027         (main): Likewise.
50028         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50029         * inet/ruserpass.c (token): Likewise.
50030         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50031         * intl/localealias.c (extend_alias_table): Likewise.
50032         * intl/plural-exp.c (init_germanic_plural): Likewise.
50033         * libio/fcloseall.c (__fcloseall): Likewise.
50034         * libio/genops.c (_IO_flush_all): Likewise.
50035         (_IO_flush_all_linebuffered): Likewise.
50036         (_IO_cleanup): Likewise.
50037         (_IO_iter_begin): Likewise.
50038         (_IO_iter_end): Likewise.
50039         (_IO_list_lock): Likewise.
50040         (_IO_list_unlock): Likewise.
50041         (_IO_list_resetlock): Likewise.
50042         * libio/getchar.c (getchar): Likewise.
50043         * libio/getchar_u.c (getchar_unlocked): Likewise.
50044         * libio/getwchar.c (getwchar): Likewise.
50045         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50046         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50047         * login/getpt.c (__getpt): Likewise.
50048         * login/tst-utmp.c (main): Likewise.
50049         * malloc/hooks.c (__malloc_check_init): Likewise.
50050         * malloc/malloc.c (__malloc_stats): Likewise.
50051         * malloc/mtrace.c (tr_break): Likewise.
50052         (mtrace): Likewise.
50053         (muntrace): Likewise.
50054         * misc/fstab.c (endfsent): Likewise.
50055         * misc/getclktck.c (__getclktck): Likewise.
50056         * misc/getdtsz.c (__getdtablesize): Likewise.
50057         * misc/gethostid.c (gethostid): Likewise.
50058         * misc/getpagesize.c (__getpagesize): Likewise.
50059         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50060         (__get_nprocs): Likewise.
50061         (__get_phys_pages): Likewise.
50062         (__get_avphys_pages): Likewise.
50063         * misc/getttyent.c (getttyent): Likewise.
50064         (setttyent): Likewise.
50065         (endttyent): Likewise.
50066         * misc/getusershell.c (getusershell): Likewise.
50067         (endusershell): Likewise.
50068         (setusershell): Likewise.
50069         (initshells): Likewise.
50070         * misc/hsearch.c (__hdestroy): Likewise.
50071         * misc/sync.c (sync): Likewise.
50072         * misc/syslog.c (closelog_internal): Likewise.
50073         (closelog): Likewise.
50074         * misc/ttyslot.c (ttyslot): Likewise.
50075         * misc/vhangup.c (vhangup): Likewise.
50076         * posix/fork.c (__fork): Likewise.
50077         * posix/getegid.c (__getegid): Likewise.
50078         * posix/geteuid.c (__geteuid): Likewise.
50079         * posix/getgid.c (__getgid): Likewise.
50080         * posix/getpid.c (__getpid): Likewise.
50081         * posix/getppid.c (__getppid): Likewise.
50082         * posix/getuid.c (__getuid): Likewise.
50083         * posix/pause.c (pause): Likewise.
50084         * posix/setpgrp.c (setpgrp): Likewise.
50085         * posix/setsid.c (__setsid): Likewise.
50086         * posix/test-vfork.c (noop): Likewise.
50087         * resolv/gethnamaddr.c (_endhtent): Likewise.
50088         (_gethtent): Likewise.
50089         (ht_endhostent): Likewise.
50090         (gethostent): Likewise.
50091         (dns_service): Likewise.
50092         * stdlib/drand48.c (drand48): Likewise.
50093         * stdlib/lrand48.c (lrand48): Likewise.
50094         * stdlib/mrand48.c (mrand48): Likewise.
50095         * stdlib/rand.c (rand): Likewise.
50096         * stdlib/random.c (__random): Likewise.
50097         * stdlib/setenv.c (clearenv): Likewise.
50098         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50099         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50100         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50101         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50102         (__get_nprocs): Likewise.
50103         (__get_phys_pages): Likewise.
50104         (__get_avphys_pages): Likewise.
50105         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50106         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50107         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50108         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50109         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50110         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50111         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50112         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50113         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50114         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50115         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50116         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50117         * sysdeps/posix/clock.c (clock): Likewise.
50118         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50119         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50120         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50121         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50122         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50124         (__get_nprocs_conf): Likewise.
50125         (__get_phys_pages): Likewise.
50126         (__get_avphys_pages): Likewise.
50127         * time/clock.c (clock): Likewise.
50128         * time/tzset.c (__tzname_max): Likewise.
50130 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50132         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50133         (__bswap_32): Do not use "register".
50134         * crypt/crypt.c (_ufc_doit_r): Likewise.
50135         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50136         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50137         * gmon/gmon.c (__monstartup): Likewise.
50138         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50139         * hurd/hurdmalloc.c (more_memory): Likewise.
50140         (malloc): Likewise.
50141         (free): Likewise.
50142         (realloc): Likewise.
50143         (malloc_fork_prepare): Likewise.
50144         (malloc_fork_parent): Likewise.
50145         (malloc_fork_child): Likewise.
50146         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50147         (_svcauth_des): Likewise.
50148         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50149         * inet/inet_net.c (inet_network): Likewise.
50150         * inet/inet_netof.c (inet_netof): Likewise.
50151         * inet/rcmd.c (__validuser2_sa): Likewise.
50152         * io/fts.c (fts_open): Likewise.
50153         (fts_load): Likewise.
50154         (fts_close): Likewise.
50155         (fts_read): Likewise.
50156         (fts_children): Likewise.
50157         (fts_build): Likewise.
50158         (fts_stat): Likewise.
50159         (fts_sort): Likewise.
50160         (fts_alloc): Likewise.
50161         (fts_lfree): Likewise.
50162         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50163         (_IO_file_xsgetn): Likewise.
50164         (_IO_file_xsgetn_mmap): Likewise.
50165         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50166         (_IO_cookie_write): Likewise.
50167         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50168         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50169         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50170         * malloc/obstack.c (_obstack_begin): Likewise.
50171         (_obstack_begin_1): Likewise.
50172         (_obstack_newchunk): Likewise.
50173         (_obstack_allocated_p): Likewise.
50174         (obstack_free): Likewise.
50175         (_obstack_memory_used): Likewise.
50176         * misc/getttyent.c (getttynam): Likewise.
50177         (getttyent): Likewise.
50178         (skip): Likewise.
50179         (value): Likewise.
50180         * misc/getusershell.c (initshells): Likewise.
50181         * misc/syslog.c (__vsyslog_chk): Likewise.
50182         * misc/ttyslot.c (ttyslot): Likewise.
50183         * nis/nis_hash.c (__nis_hash): Likewise.
50184         * posix/fnmatch_loop.c (FCT): Likewise.
50185         * posix/getconf.c (print_all): Likewise.
50186         (main): Likewise.
50187         * posix/getopt.c (exchange): Likewise.
50188         * posix/glob.c (globfree): Likewise.
50189         (prefix_array): Likewise.
50190         (__glob_pattern_type): Likewise.
50191         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50192         (NS_GET32): Likewise.
50193         (NS_PUT16): Likewise.
50194         (NS_PUT32): Likewise.
50195         * resolv/gethnamaddr.c (getanswer): Likewise.
50196         (gethostbyname2): Likewise.
50197         (gethostbyaddr): Likewise.
50198         (_gethtent): Likewise.
50199         (_gethtbyname2): Likewise.
50200         (_gethtbyaddr): Likewise.
50201         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50202         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50203         * resolv/res_init.c (__res_vinit): Likewise.
50204         (net_mask): Likewise.
50205         * resolv/res_mkquery.c (outchar): Likewise.
50206         (PRINT): Likewise.
50207         * stdio-common/printf_fp.c (outchar): Likewise.
50208         (PRINT): Likewise.
50209         * stdio-common/printf_fphex.c (outchar): Likewise.
50210         (PRINT): Likewise.
50211         * stdio-common/printf_size.c (outchar): Likewise.
50212         (PRINT): Likewise.
50213         * stdio-common/test_rdwr.c (main): Likewise.
50214         * stdio-common/tfformat.c (matches): Likewise.
50215         * stdio-common/vfprintf.c (outchar): Likewise.
50216         (printf_unknown): Likewise.
50217         (buffered_vfprintf): Likewise.
50218         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50219         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50220         (ReadFile): Likewise.
50221         * stdlib/qsort.c (SWAP): Likewise.
50222         (_quicksort): Likewise.
50223         * stdlib/setenv.c (__add_to_environ): Likewise.
50224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50225         * stdlib/strtol_l.c (__strtol_l): Likewise.
50226         * stdlib/tst-strtod.c (main): Likewise.
50227         * stdlib/tst-strtol.c (main): Likewise.
50228         * stdlib/tst-strtoll.c (main): Likewise.
50229         * string/bits/string2.h (__strcmp_cc): Likewise.
50230         (__strcmp_cg): Likewise.
50231         (__strcspn_c1): Likewise.
50232         (__strcspn_c2): Likewise.
50233         (__strcspn_c3): Likewise.
50234         (__strspn_c1): Likewise.
50235         (__strspn_c2): Likewise.
50236         (__strspn_c3): Likewise.
50237         (__strsep_1c): Likewise.
50238         (__strsep_2c): Likewise.
50239         (__strsep_3c): Likewise.
50240         * string/memccpy.c (__memccpy): Likewise.
50241         * string/stpcpy.c (__stpcpy): Likewise.
50242         * string/strcmp.c (strcmp): Likewise.
50243         * string/strrchr.c (strrchr): Likewise.
50244         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50245         Likewise.
50246         * sysdeps/mach/hurd/getcwd.c
50247         (_hurd_canonicalize_directory_name_internal): Likewise.
50248         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50249         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50250         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50251         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50252         Likewise, in both definitions.
50253         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50254         definitions.
50255         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50256         64] (__bswap_64): Likewise.
50257         * time/test_time.c (main): Likewise.
50258         * time/tzfile.c (__tzfile_read): Likewise.
50259         (__tzfile_compute): Likewise.
50260         * time/tzset.c (__tzset_parse_tz): Likewise.
50261         (tzset_internal): Likewise.
50262         (compute_change): Likewise.
50263         * wcsmbs/wcscat.c (__wcscat): Likewise.
50264         * wcsmbs/wcschr.c (wcschr): Likewise.
50265         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50266         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50267         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50268         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50269         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50270         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50271         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50272         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50273         * wcsmbs/wmemset.c (wmemset): Likewise.
50275 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50277         * scripts/config.guess: Update to version 2013-05-16.
50278         * scripts/config.sub: Update to version 2013-04-24.
50279         * scripts/install-sh: Update to version 2011-11-20.07.
50280         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50281         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50283 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50285         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50286         * elf/sln.c: Likewise.
50287         * hurd/hurd/ioctl.h: Likewise.
50288         * hurd/hurdmalloc.c: Likewise.
50289         * hurd/xattr.c: Likewise.
50290         * include/shlib-compat.h: Likewise.
50291         * inet/ruserpass.c: Likewise.
50292         * libio/iofgets_u.c: Likewise.
50293         * libio/iofgetws_u.c: Likewise.
50294         * locale/programs/ld-identification.c: Likewise.
50295         * locale/programs/ld-time.c: Likewise.
50296         * mach/msg-destroy.c: Likewise.
50297         * nss/nss_files/files-netgrp.c: Likewise.
50298         * resolv/res_data.c: Likewise.
50299         * soft-fp/op-1.h: Likewise.
50300         * soft-fp/op-2.h: Likewise.
50301         * soft-fp/op-4.h: Likewise.
50302         * soft-fp/op-common.h: Likewise.
50303         * stdio-common/printf_fphex.c: Likewise.
50304         * stdlib/strtod_l.c: Likewise.
50305         * sunrpc/rpc/clnt.h: Likewise.
50306         * sysdeps/generic/framestate.c: Likewise.
50307         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50308         * sysdeps/i386/bsd-setjmp.S: Likewise.
50309         * sysdeps/i386/__longjmp.S: Likewise.
50310         * sysdeps/i386/setjmp.S: Likewise.
50311         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50312         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50313         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50314         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50315         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50316         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50317         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50319         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50320         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50321         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50322         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50323         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50324         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50325         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50326         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50327         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50328         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50329         * sysdeps/ieee754/support.c: Likewise.
50330         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50331         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50332         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50333         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50334         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50335         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50336         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50337         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50338         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50339         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50340         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50341         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50342         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50343         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50344         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50345         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50346         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50349 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50351         * posix/transbug.c: Remove executable mode.
50353 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50355         * crypt/speeds.c: Remove trailing whitespace.
50356         * dlfcn/default.c: Likewise.
50357         * elf/ifuncdep2.c: Likewise.
50358         * elf/ifuncmain1.c: Likewise.
50359         * elf/ifuncmain1vis.c: Likewise.
50360         * elf/testobj.h: Likewise.
50361         * elf/tst-stackguard1.c: Likewise.
50362         * gmon/sys/gmon.h: Likewise.
50363         * hurd/hurdmsg.c: Likewise.
50364         * hurd/new-fd.c: Likewise.
50365         * hurd/ports-get.c: Likewise.
50366         * iconvdata/ibm1008_420.c: Likewise.
50367         * inet/tst-getni1.c: Likewise.
50368         * inet/tst-getni2.c: Likewise.
50369         * libio/ioungetc.c: Likewise.
50370         * libio/wfiledoalloc.c: Likewise.
50371         * manual/libm-err-tab.pl: Likewise.
50372         * math/w_dremf.c: Likewise.
50373         * misc/ftruncate.c: Likewise.
50374         * posix/bug-glob2.c: Likewise.
50375         * posix/tst-pcre.c: Likewise.
50376         * posix/wait4.c: Likewise.
50377         * resolv/README: Likewise.
50378         * resolv/res_debug.h: Likewise.
50379         * resolv/tst-inet_ntop.c: Likewise.
50380         * setjmp/bug269-setjmp.c: Likewise.
50381         * soft-fp/extended.h: Likewise.
50382         * soft-fp/op-1.h: Likewise.
50383         * soft-fp/op-2.h: Likewise.
50384         * soft-fp/op-4.h: Likewise.
50385         * soft-fp/op-8.h: Likewise.
50386         * soft-fp/testit.c: Likewise.
50387         * stdio-common/bug16.c: Likewise.
50388         * stdlib/random.c: Likewise.
50389         * sunrpc/rpcsvc/rquota.x: Likewise.
50390         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50391         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50392         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50393         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50394         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50395         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50396         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50397         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50398         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50399         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50400         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50401         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50402         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50403         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50404         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50405         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50406         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50407         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50408         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50409         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50410         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50411         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50412         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50413         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50414         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50417         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50418         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50419         * sysdeps/ieee754/s_lib_version.c: Likewise.
50420         * sysdeps/mach/hurd/check_fds.c: Likewise.
50421         * sysdeps/mach/hurd/getsockname.c: Likewise.
50422         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50423         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50424         * sysdeps/powerpc/bits/link.h: Likewise.
50425         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50426         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50427         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50428         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50429         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50430         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50431         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50432         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50433         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50434         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50435         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50436         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50437         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50438         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50439         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50440         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50441         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50442         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50443         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50444         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50445         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50446         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50447         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50448         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50449         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50451         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50452         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50457         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50458         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50459         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50460         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50461         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50462         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50463         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50464         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50465         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50466         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50467         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50468         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50469         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50470         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50471         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50472         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50473         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50474         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50475         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50476         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50477         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50478         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50479         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50480         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50481         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50482         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50483         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50484         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50485         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50486         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50487         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50488         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50489         * sysdeps/powerpc/sysdep.h: Likewise.
50490         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50491         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50492         * sysdeps/sh/dl-trampoline.S: Likewise.
50493         * sysdeps/sh/memset.S: Likewise.
50494         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50495         * sysdeps/sh/strlen.S: Likewise.
50496         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50497         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50498         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50499         * sysdeps/sparc/sparc32/rem.S: Likewise.
50500         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50501         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50502         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50503         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50504         * sysdeps/sparc/sparc32/urem.S: Likewise.
50505         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50506         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50507         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50508         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50509         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50510         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50511         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50512         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50513         * sysdeps/unix/bsd/times.c: Likewise.
50514         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50515         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50519         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50520         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50521         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50522         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50523         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50524         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50525         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50526         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50527         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50528         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50529         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50530         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50531         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50532         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50533         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50534         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50535         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50536         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50537         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50538         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50539         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50540         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50541         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50542         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50543         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50544         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50545         * sysdeps/x86_64/strcspn.S: Likewise.
50547 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50549         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50550         generated file.  Regenerate properly from gen-translit.pl.
50551         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50552         locale/C-translit.h.
50554 2013-06-05  Andreas Schwab  <schwab@suse.de>
50556         [BZ #15100]
50557         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50558         week as 6 instead of -1.
50559         * time/tst-strptime.c (day_tests): Add test case.
50561 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50563         * sysdeps/generic/math_private.h
50564         (libc_feholdexcept_setround_53bit): Replace with
50565         libc_feholdsetround_53bit.
50566         (libc_feupdateenv_53bit): Replace with
50567         libc_feresetround_53bit.
50568         (SET_RESTORE_ROUND_53BIT): Adjust.
50570 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50572         * string/test-strchrnul.c: Add copyright header.
50574         * posix/tst-getaddrinfo4.c: Increase test timeout.
50576 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50578         [BZ #15536]
50579         * math/libm-test.inc (MAX_EXP): Remove
50580         (MIN_EXP): Define.
50581         (ulp): Use MIN_EXP - MANT_DIG.
50582         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50584 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50586         * po/be.po: Revert last change.
50587         * po/zh_CN.po: Likewise.
50588         * po/header.pot: Likewise.
50590 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50592         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50593         link-libc-deps to empty as target-specific variable.
50594         * Makerules (link-libc-args): New variable.
50595         (libc-for-link): Likewise.
50596         (link-libc-deps): Likewise.
50597         (lib%.so): Depend on $(link-libc-deps).  Link with
50598         $(link-libc-args).
50599         (build-module): Link with $(link-libc-args).
50600         (build-module-asneeded): Likewise.
50601         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50602         list of objects.
50603         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50604         target-specific variable.
50605         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50606         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50607         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50608         libc.
50609         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50610         libc and ld.so.
50611         ($(objpfx)libpcprofile.so): Likewise.
50612         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50613         libc_nonshared.a.
50614         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50615         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50616         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50617         $(link-libc-deps).
50618         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50619         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50620         * login/Makefile ($(objpfx)libutil.so): Likewise.
50621         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50622         * math/Makefile ($(objpfx)libm.so): Likewise.
50623         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50624         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50625         variable instead of depending directly on libc.
50626         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50627         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50628         $(link-libc-deps).
50629         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50630         libc.
50631         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50632         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50633         ($(objpfx)libanl.so): Likewise.
50634         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50635         ld.so.
50636         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50637         $(link-libc-deps).
50638         * sysdeps/i386/fpu/Makefile: Remove file.
50639         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50640         ($(objpfx)libm.so): Remove dependency on ld.so.
50642 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50644         [BZ # 15553]
50645         * nis/yp_xdr.c (XDRMAXNAME): Define.
50646         (XDRMAXRECORD): Define.
50647         (xdr_domainname): Use XDRMAXNAME.
50648         (xdr_mapname): Likewise.
50649         (xdr_peername): Likewise.
50650         (xdr_keydat): Use XDRMAXRECORD.
50651         (xdr_valdat): Likewise.
50653 2013-05-30  Jeff Law  <law@redhat.com>
50655         [BZ #14256]
50656         * manual/errno.texi (ESTALE): Update to account for more than
50657         just NFS file systems.
50658         * sysdeps/gnu/errlist.c: Regenerated.
50660 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50662         [BZ #15465]
50663         * elf/Makefile (tests): Add tst-null-argv.
50664         (modules-names):  Add tst-null-argv-lib.
50665         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50666         (tst-null-argv-ENV): Set environment for tst-null-argv.
50667         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50668         (RTLD_PROGNAME): New macro.
50669         * elf/tst-null-argv.c: New test case.
50670         * elf/tst-null-argv-lib.c: Library for test case.
50671         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50672         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50673         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50674         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50675         * elf/dl-init.c (call_init): Likewise.
50676         (_dl_init): Likewise.
50677         * elf/dl-load.c (print_search_path): Likewise.
50678         (_dl_map_object): Likewise.
50679         * elf/dl-lookup.c (do_lookup_x): Likewise.
50680         (add_dependency): Likewise.
50681         (_dl_lookup_symbol_x): Likewise.
50682         (_dl_debug_bindings): Likewise.
50683         * elf/dl-open.c (_dl_show_scope): Likewise.
50684         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50685         * elf/dl-version.c (match_symbol): Likewise.
50686         (_dl_check_map_versions): Likewise.
50687         * elf/rtld.c (dl_main): Likewise.
50688         (print_unresolved): Use RTLD_PROGNAME.
50689         (print_missing_version): Likewise.
50690         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50691         (elf_machine_rela): Likewise.
50692         * sysdeps/powerpc/powerpc32/dl-machine.c
50693         (__process_machine_rela): Likewise.
50694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50695         Likewise.
50696         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50697         Likewise.
50698         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50699         Likewise.
50700         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50702         Likewise.
50703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50704         Likewise.
50705         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50707 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50709         * po/be.po: Add descriptive title.
50710         * po/zh_CN.po: Likewise.
50711         * po/header.pot: Likewise.
50713 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50715         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50716         error message.
50717         (enlarge_archive): Likewise.
50719 2013-05-28  Ben North  <ben@redfrontdoor.org>
50721         * manual/arith.texi (frexp): It is the magnitude of the return
50722         value which lies in [0.5, 1), not the return value itself.
50724 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50728 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50730         * stdio-common/bug26.c (main): Correct fscanf template.
50732         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50733         declare _dl_skip_args.
50735         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50736         Don't declare.
50738         * manual/platform.texi: Add missing @end deftypefun.
50740 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50742         [BZ #15529]
50743         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50744         bit of mantissa of 2^16382.
50745         * math/libm-test.inc (hypot_test_data): Add more tests.
50747         * math/libm-test.inc: Add drem and pow10 to list of tested
50748         functions.
50749         (pow10_test): New function.
50750         (drem_test): Likewise.
50751         (drem_test_tonearest): Likewise.
50752         (drem_test_towardzero): Likewise.
50753         (drem_test_downward): Likewise.
50754         (drem_test_upward): Likewise.
50755         (main): Call the new functions.
50757         * math/libm-test.inc (finite_test_data): Remove.
50758         (finite_test): Run tests from isfinite_test_data.
50759         (gamma_test_data): Remove.
50760         (gamma_test): Run tests from lgamma_test_data.
50761         * sysdeps/i386/fpu/libm-test-ulps: Update.
50762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50764 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50766         * manual/platform.texi: Add PowerPC PPR function set documentation.
50767         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50768         implementation.
50770 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50772         * math/libm-test.inc (MAX_EXP): Define.
50773         (ULPDIFF): Define.
50774         (ulp): New function.
50775         (check_float_internal): Use ULPDIFF.
50776         (cpow_test): Disable failing test.
50777         (check_ulp): Test ulp() implemetnation.
50778         (main): Call check_ulp before starting tests.
50780 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50782         * math/gen-libm-test.pl (generate_testfile): Do not handle
50783         START_DATA and END_DATA.
50784         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50785         END_DATA.
50786         (acos_tonearest_test_data): Likewise.
50787         (acos_towardzero_test_data): Likewise.
50788         (acos_downward_test_data): Likewise.
50789         (acos_upward_test_data): Likewise.
50790         (acosh_test_data): Likewise.
50791         (asin_test_data): Likewise.
50792         (asin_tonearest_test_data): Likewise.
50793         (asin_towardzero_test_data): Likewise.
50794         (asin_downward_test_data): Likewise.
50795         (asin_upward_test_data): Likewise.
50796         (asinh_test_data): Likewise.
50797         (atan_test_data): Likewise.
50798         (atanh_test_data): Likewise.
50799         (atan2_test_data): Likewise.
50800         (cabs_test_data): Likewise.
50801         (cacos_test_data): Likewise.
50802         (cacosh_test_data): Likewise.
50803         (carg_test_data): Likewise.
50804         (casin_test_data): Likewise.
50805         (casinh_test_data): Likewise.
50806         (catan_test_data): Likewise.
50807         (catanh_test_data): Likewise.
50808         (cbrt_test_data): Likewise.
50809         (ccos_test_data): Likewise.
50810         (ccosh_test_data): Likewise.
50811         (ceil_test_data): Likewise.
50812         (cexp_test_data): Likewise.
50813         (cimag_test_data): Likewise.
50814         (clog_test_data): Likewise.
50815         (clog10_test_data): Likewise.
50816         (conj_test_data): Likewise.
50817         (copysign_test_data): Likewise.
50818         (cos_test_data): Likewise.
50819         (cos_tonearest_test_data): Likewise.
50820         (cos_towardzero_test_data): Likewise.
50821         (cos_downward_test_data): Likewise.
50822         (cos_upward_test_data): Likewise.
50823         (cosh_test_data): Likewise.
50824         (cosh_tonearest_test_data): Likewise.
50825         (cosh_towardzero_test_data): Likewise.
50826         (cosh_downward_test_data): Likewise.
50827         (cosh_upward_test_data): Likewise.
50828         (cpow_test_data): Likewise.
50829         (cproj_test_data): Likewise.
50830         (creal_test_data): Likewise.
50831         (csin_test_data): Likewise.
50832         (csinh_test_data): Likewise.
50833         (csqrt_test_data): Likewise.
50834         (ctan_test_data): Likewise.
50835         (ctan_tonearest_test_data): Likewise.
50836         (ctan_towardzero_test_data): Likewise.
50837         (ctan_downward_test_data): Likewise.
50838         (ctan_upward_test_data): Likewise.
50839         (ctanh_test_data): Likewise.
50840         (ctanh_tonearest_test_data): Likewise.
50841         (ctanh_towardzero_test_data): Likewise.
50842         (ctanh_downward_test_data): Likewise.
50843         (ctanh_upward_test_data): Likewise.
50844         (erf_test_data): Likewise.
50845         (erfc_test_data): Likewise.
50846         (exp_test_data): Likewise.
50847         (exp_tonearest_test_data): Likewise.
50848         (exp_towardzero_test_data): Likewise.
50849         (exp_downward_test_data): Likewise.
50850         (exp_upward_test_data): Likewise.
50851         (exp10_test_data): Likewise.
50852         (exp2_test_data): Likewise.
50853         (expm1_test_data): Likewise.
50854         (fabs_test_data): Likewise.
50855         (fdim_test_data): Likewise.
50856         (finite_test_data): Likewise.
50857         (floor_test_data): Likewise.
50858         (fma_test_data): Likewise.
50859         (fma_towardzero_test_data): Likewise.
50860         (fma_downward_test_data): Likewise.
50861         (fma_upward_test_data): Likewise.
50862         (fmax_test_data): Likewise.
50863         (fmin_test_data): Likewise.
50864         (fmod_test_data): Likewise.
50865         (fpclassify_test_data): Likewise.
50866         (frexp_test_data): Likewise.
50867         (gamma_test_data): Likewise.
50868         (hypot_test_data): Likewise.
50869         (ilogb_test_data): Likewise.
50870         (isfinite_test_data): Likewise.
50871         (isgreater_test_data): Likewise.
50872         (isgreaterequal_test_data): Likewise.
50873         (isinf_test_data): Likewise.
50874         (isless_test_data): Likewise.
50875         (islessequal_test_data): Likewise.
50876         (islessgreater_test_data): Likewise.
50877         (isnan_test_data): Likewise.
50878         (isnormal_test_data): Likewise.
50879         (issignaling_test_data): Likewise.
50880         (isunordered_test_data): Likewise.
50881         (j0_test_data): Likewise.
50882         (j1_test_data): Likewise.
50883         (jn_test_data): Likewise.
50884         (ldexp_test_data): Likewise.
50885         (lgamma_test_data): Likewise.
50886         (lrint_test_data): Likewise.
50887         (lrint_tonearest_test_data): Likewise.
50888         (lrint_towardzero_test_data): Likewise.
50889         (lrint_downward_test_data): Likewise.
50890         (lrint_upward_test_data): Likewise.
50891         (llrint_test_data): Likewise.
50892         (llrint_tonearest_test_data): Likewise.
50893         (llrint_towardzero_test_data): Likewise.
50894         (llrint_downward_test_data): Likewise.
50895         (llrint_upward_test_data): Likewise.
50896         (log_test_data): Likewise.
50897         (log10_test_data): Likewise.
50898         (log1p_test_data): Likewise.
50899         (log2_test_data): Likewise.
50900         (logb_test_data): Likewise.
50901         (logb_downward_test_data): Likewise.
50902         (lround_test_data): Likewise.
50903         (llround_test_data): Likewise.
50904         (modf_test_data): Likewise.
50905         (nearbyint_test_data): Likewise.
50906         (nextafter_test_data): Likewise.
50907         (nexttoward_test_data): Likewise.
50908         (pow_test_data): Likewise.
50909         (pow_tonearest_test_data): Likewise.
50910         (pow_towardzero_test_data): Likewise.
50911         (pow_downward_test_data): Likewise.
50912         (pow_upward_test_data): Likewise.
50913         (remainder_test_data): Likewise.
50914         (remainder_tonearest_test_data): Likewise.
50915         (remainder_towardzero_test_data): Likewise.
50916         (remainder_downward_test_data): Likewise.
50917         (remainder_upward_test_data): Likewise.
50918         (remquo_test_data): Likewise.
50919         (rint_test_data): Likewise.
50920         (rint_tonearest_test_data): Likewise.
50921         (rint_towardzero_test_data): Likewise.
50922         (rint_downward_test_data): Likewise.
50923         (rint_upward_test_data): Likewise.
50924         (round_test_data): Likewise.
50925         (scalb_test_data): Likewise.
50926         (scalbn_test_data): Likewise.
50927         (scalbln_test_data): Likewise.
50928         (signbit_test_data): Likewise.
50929         (sin_test_data): Likewise.
50930         (sin_tonearest_test_data): Likewise.
50931         (sin_towardzero_test_data): Likewise.
50932         (sin_downward_test_data): Likewise.
50933         (sin_upward_test_data): Likewise.
50934         (sincos_test_data): Likewise.
50935         (sinh_test_data): Likewise.
50936         (sinh_tonearest_test_data): Likewise.
50937         (sinh_towardzero_test_data): Likewise.
50938         (sinh_downward_test_data): Likewise.
50939         (sinh_upward_test_data): Likewise.
50940         (sqrt_test_data): Likewise.
50941         (tan_test_data): Likewise.
50942         (tan_tonearest_test_data): Likewise.
50943         (tan_towardzero_test_data): Likewise.
50944         (tan_downward_test_data): Likewise.
50945         (tan_upward_test_data): Likewise.
50946         (tanh_test_data): Likewise.
50947         (tgamma_test_data): Likewise.
50948         (trunc_test_data): Likewise.
50949         (y0_test_data): Likewise.
50950         (y1_test_data): Likewise.
50951         (yn_test_data): Likewise.
50952         (significand_test_data): Likewise.
50954         * math/gen-libm-test.pl (@functions): Remove variable.
50955         (generate_testfile): Don't handle START and END lines.
50956         * math/libm-test.inc (START): New macro.
50957         (END): Likewise.
50958         (END_COMPLEX): Likewise.
50959         (acos_test): Use END macro without arguments.
50960         (acos_test_tonearest): Likewise.
50961         (acos_test_towardzero): Likewise.
50962         (acos_test_downward): Likewise.
50963         (acos_test_upward): Likewise.
50964         (acosh_test): Likewise.
50965         (asin_test): Likewise.
50966         (asin_test_tonearest): Likewise.
50967         (asin_test_towardzero): Likewise.
50968         (asin_test_downward): Likewise.
50969         (asin_test_upward): Likewise.
50970         (asinh_test): Likewise.
50971         (atan_test): Likewise.
50972         (atanh_test): Likewise.
50973         (atan2_test): Likewise.
50974         (cabs_test): Likewise.
50975         (cacos_test): Use END_COMPLEX macro without arguments.
50976         (cacosh_test): Likewise.
50977         (carg_test): Use END macro without arguments.
50978         (casin_test): Use END_COMPLEX macro without arguments.
50979         (casinh_test): Likewise.
50980         (catan_test): Likewise.
50981         (catanh_test): Likewise.
50982         (cbrt_test): Use END macro without arguments.
50983         (ccos_test): Use END_COMPLEX macro without arguments.
50984         (ccosh_test): Likewise.
50985         (ceil_test): Use END macro without arguments.
50986         (cexp_test): Use END_COMPLEX macro without arguments.
50987         (cimag_test): Use END macro without arguments.
50988         (clog_test): Use END_COMPLEX macro without arguments.
50989         (clog10_test): Likewise.
50990         (conj_test): Likewise.
50991         (copysign_test): Use END macro without arguments.
50992         (cos_test): Likewise.
50993         (cos_test_tonearest): Likewise.
50994         (cos_test_towardzero): Likewise.
50995         (cos_test_downward): Likewise.
50996         (cos_test_upward): Likewise.
50997         (cosh_test): Likewise.
50998         (cosh_test_tonearest): Likewise.
50999         (cosh_test_towardzero): Likewise.
51000         (cosh_test_downward): Likewise.
51001         (cosh_test_upward): Likewise.
51002         (cpow_test): Use END_COMPLEX macro without arguments.
51003         (cproj_test): Likewise.
51004         (creal_test): Use END macro without arguments.
51005         (csin_test): Use END_COMPLEX macro without arguments.
51006         (csinh_test): Likewise.
51007         (csqrt_test): Likewise.
51008         (ctan_test): Likewise.
51009         (ctan_test_tonearest): Likewise.
51010         (ctan_test_towardzero): Likewise.
51011         (ctan_test_downward): Likewise.
51012         (ctan_test_upward): Likewise.
51013         (ctanh_test): Likewise.
51014         (ctanh_test_tonearest): Likewise.
51015         (ctanh_test_towardzero): Likewise.
51016         (ctanh_test_downward): Likewise.
51017         (ctanh_test_upward): Likewise.
51018         (erf_test): Use END macro without arguments.
51019         (erfc_test): Likewise.
51020         (exp_test): Likewise.
51021         (exp_test_tonearest): Likewise.
51022         (exp_test_towardzero): Likewise.
51023         (exp_test_downward): Likewise.
51024         (exp_test_upward): Likewise.
51025         (exp10_test): Likewise.
51026         (exp2_test): Likewise.
51027         (expm1_test): Likewise.
51028         (fabs_test): Likewise.
51029         (fdim_test): Likewise.
51030         (finite_test): Likewise.
51031         (floor_test): Likewise.
51032         (fma_test): Likewise.
51033         (fma_test_towardzero): Likewise.
51034         (fma_test_downward): Likewise.
51035         (fma_test_upward): Likewise.
51036         (fmax_test): Likewise.
51037         (fmin_test): Likewise.
51038         (fmod_test): Likewise.
51039         (fpclassify_test): Likewise.
51040         (frexp_test): Likewise.
51041         (gamma_test): Likewise.
51042         (hypot_test): Likewise.
51043         (ilogb_test): Likewise.
51044         (isfinite_test): Likewise.
51045         (isgreater_test): Likewise.
51046         (isgreaterequal_test): Likewise.
51047         (isinf_test): Likewise.
51048         (isless_test): Likewise.
51049         (islessequal_test): Likewise.
51050         (islessgreater_test): Likewise.
51051         (isnan_test): Likewise.
51052         (isnormal_test): Likewise.
51053         (issignaling_test): Likewise.
51054         (isunordered_test): Likewise.
51055         (j0_test): Likewise.
51056         (j1_test): Likewise.
51057         (jn_test): Likewise.
51058         (ldexp_test): Likewise.
51059         (lgamma_test): Likewise.
51060         (lrint_test): Likewise.
51061         (lrint_test_tonearest): Likewise.
51062         (lrint_test_towardzero): Likewise.
51063         (lrint_test_downward): Likewise.
51064         (lrint_test_upward): Likewise.
51065         (llrint_test): Likewise.
51066         (llrint_test_tonearest): Likewise.
51067         (llrint_test_towardzero): Likewise.
51068         (llrint_test_downward): Likewise.
51069         (llrint_test_upward): Likewise.
51070         (log_test): Likewise.
51071         (log10_test): Likewise.
51072         (log1p_test): Likewise.
51073         (log2_test): Likewise.
51074         (logb_test): Likewise.
51075         (logb_test_downward): Likewise.
51076         (lround_test): Likewise.
51077         (llround_test): Likewise.
51078         (modf_test): Likewise.
51079         (nearbyint_test): Likewise.
51080         (nextafter_test): Likewise.
51081         (nexttoward_test): Likewise.
51082         (pow_test): Likewise.
51083         (pow_test_tonearest): Likewise.
51084         (pow_test_towardzero): Likewise.
51085         (pow_test_downward): Likewise.
51086         (pow_test_upward): Likewise.
51087         (remainder_test): Likewise.
51088         (remainder_test_tonearest): Likewise.
51089         (remainder_test_towardzero): Likewise.
51090         (remainder_test_downward): Likewise.
51091         (remainder_test_upward): Likewise.
51092         (remquo_test): Likewise.
51093         (rint_test): Likewise.
51094         (rint_test_tonearest): Likewise.
51095         (rint_test_towardzero): Likewise.
51096         (rint_test_downward): Likewise.
51097         (rint_test_upward): Likewise.
51098         (round_test): Likewise.
51099         (scalb_test): Likewise.
51100         (scalbn_test): Likewise.
51101         (scalbln_test): Likewise.
51102         (signbit_test): Likewise.
51103         (sin_test): Likewise.
51104         (sin_test_tonearest): Likewise.
51105         (sin_test_towardzero): Likewise.
51106         (sin_test_downward): Likewise.
51107         (sin_test_upward): Likewise.
51108         (sincos_test): Likewise.
51109         (sinh_test): Likewise.
51110         (sinh_test_tonearest): Likewise.
51111         (sinh_test_towardzero): Likewise.
51112         (sinh_test_downward): Likewise.
51113         (sinh_test_upward): Likewise.
51114         (sqrt_test): Likewise.
51115         (tan_test): Likewise.
51116         (tan_test_tonearest): Likewise.
51117         (tan_test_towardzero): Likewise.
51118         (tan_test_downward): Likewise.
51119         (tan_test_upward): Likewise.
51120         (tanh_test): Likewise.
51121         (tgamma_test): Likewise.
51122         (trunc_test): Likewise.
51123         (y0_test): Likewise.
51124         (y1_test): Likewise.
51125         (yn_test): Likewise.
51126         (significand_test): Likewise.
51128 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51130         [BZ #15381]
51131         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51133 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51135         [BZ #14894]
51136         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51137         __ppc_mdoio and __ppc_mdoom.
51138         * manual/platform.texi: Document new functions __ppc_yield,
51139         __ppc_mdoio and __ppc_mdoom.
51141 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51143         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51144         (main): Mention "tls" pseudo-hwcap is legacy.
51145         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51147 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51149         * math/gen-libm-test.pl (parse_args): Output only string of
51150         arguments as text for test name, not full call or descriptions of
51151         tests for extra outputs.
51152         (generate_testfile): Do not pass function name to parse_args.
51153         Generate this_func variable from START.
51154         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51155         field to arg_str.
51156         (struct test_ff_f_data): Likewise.
51157         (test_ff_f_data_nexttoward): Likewise.
51158         (struct test_fi_f_data): Likewise.
51159         (struct test_fl_f_data): Likewise.
51160         (struct test_if_f_data): Likewise.
51161         (struct test_fff_f_data): Likewise.
51162         (struct test_c_f_data): Likewise.
51163         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51164         (struct test_fF_f1_data): Likewise.
51165         (struct test_ffI_f1_data): Likewise.
51166         (struct test_c_c_data): Rename test_name field to arg_str.
51167         (struct test_cc_c_data): Likewise.
51168         (struct test_f_i_data): Likewise.
51169         (struct test_ff_i_data): Likewise.
51170         (struct test_f_l_data): Likewise.
51171         (struct test_f_L_data): Likewise.
51172         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51173         and extra2_name.
51174         (COMMON_TEST_SETUP): New macro.
51175         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51176         (COMMON_TEST_CLEANUP): Likewise.
51177         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51178         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51179         macros.
51180         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51181         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51182         macros.
51183         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51184         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51185         cleanup macros.
51186         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51187         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51188         macros.
51189         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51190         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51191         macros.
51192         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51193         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51194         cleanup macros.
51195         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51196         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51197         cleanup macros.
51198         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51199         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51200         cleanup macros.
51201         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51202         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51203         macros.
51204         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51205         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51206         macros.
51207         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51208         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51209         macros.
51210         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51211         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51212         cleanup macros.
51213         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51214         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51215         cleanup macros.
51216         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51217         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51218         macros.
51219         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51220         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51221         cleanup macros.
51222         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51223         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51224         macros.
51225         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51226         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51227         macros.
51228         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51229         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51230         cleanup macros.
51231         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51233 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51235         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51236         to _sifields.sigfault.
51237         (si_addr_lsb): Define new macro.
51238         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51239         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51240         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51242 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51244         [BZ #15441]
51245         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51246         returns -1.
51247         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51248         null return -1.
51249         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51250         loading the domain.
51252 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51254         * math/gen-libm-test.pl (parse_args): Do not include expected
51255         result in test name.
51256         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51257         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51258         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51260         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51263 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51265         * benchtests/Makefile: Sort function entries.
51267         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51268         tanh, asinh, acosh, atanh.
51269         * benchtests/acos-inputs: New file.
51270         * benchtests/acosh-inputs: New file.
51271         * benchtests/asin-inputs: New file.
51272         * benchtests/asinh-inputs: New file.
51273         * benchtests/atanh-inputs: New file.
51274         * benchtests/cosh-inputs: New file.
51275         * benchtests/log-inputs: New file.
51276         * benchtests/sinh-inputs: New file.
51277         * benchtests/tanh-inputs: New file.
51279 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51281         [BZ #15339]
51282         * posix/tst-getaddrinfo4.c: New test.
51283         * posix/Makefile (tests): Add it.
51285 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51287         [BZ #15339]
51288         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51289         when no services were used.
51290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51291         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51293 2013-05-21  Andreas Schwab  <schwab@suse.de>
51295         [BZ #15014]
51296         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51297         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51298         successful.
51299         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51300         redundant variable declarations and reallocation of buffer when
51301         parsing as IPv6 address.  Always set NSS status when called from
51302         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51303         buffer too small.  Correct computation of needed size.
51304         * nss/Makefile (tests): Add test-digits-dots.
51305         * nss/test-digits-dots.c: New test.
51307 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51309         * benchtests/Makefile: Remove instructions for adding
51310         benchmark tests.
51311         * benchtests/README: New file to explain how to execute and
51312         enhance the benchmark tests.
51314 2013-05-21  Andreas Schwab  <schwab@suse.de>
51316         [BZ #15493]
51317         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51318         * setjmp/tst-sigsetjmp.c: New test.
51320 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51322         * sysdeps/x86_64/memset.S (memset): New implementation.
51323         (__bzero): Likewise.
51324         (__memset_tail): New function.
51326 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51328         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51329         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51330         __memcpy_sse2_unaligned ifunc selection.
51331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51332         Add memcpy-sse2-unaligned.S.
51333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51334         Add: __memcpy_sse2_unaligned.
51336 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51338         [BZ #15490]
51339         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51340         math_force_eval before restoring floating-point envrionment.
51341         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51342         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51343         Likewise.
51344         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51345         <math_private.h>.
51346         (__nearbyintl): Use math_force_eval before restoring
51347         floating-point environment.
51348         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51350         * math/gen-libm-test.pl (special_functions): Remove.
51351         (parse_args): Don't handle TEST_extra.  Handle functions with no
51352         return value.
51353         * math/libm-test.inc (struct test_sincos_data): Replace with
51354         struct test_fFF_11_data.
51355         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51356         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51357         (sincos_test_data): Change element type to struct
51358         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51359         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51360         RUN_TEST_LOOP_sincos.
51361         * math/README.libm-test: Don't mention special handling of
51362         individual functions.
51363         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51364         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51365         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51366         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51367         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51370         * math/gen-libm-test.pl (get_variable): Remove function.
51371         (parse_args): Don't show pointer parameters to call in test
51372         names.  Use "extra output N" in test names for extra outputs
51373         rather than naming variables.
51375 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51377         [BZ #15488]
51378         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51379         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51380         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51381         double tests.
51382         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51383         disable.
51384         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51385         check_long_double.
51387         * math/gen-libm-test.pl (@tests): Remove variable.
51388         ($count): Likewise.
51389         (new_test): Remove function.
51390         (show_exceptions): New function.
51391         (special_functions): Use show_exceptions instead of new_test.
51392         (parse_args): Likewise.
51393         (generate_testfile): Pass only function name in generated call to
51394         print_max_error or print_complex_max_error.
51395         (get_ulps): Do not handle complex tests specially.
51396         (output_test): Rename to ...
51397         (get_all_ulps_for_test): ... this.  Return a string rather than
51398         printing to a file.  Require ulps to be present.
51399         (output_ulps): Generate arrays rather than #defines.
51400         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51401         (struct ulp_data): New type.
51402         (BUILD_COMPLEX_ULP): Remove macro.
51403         (compare_ulp_data): New function.
51404         (find_ulps): Likewise.
51405         (find_test_ulps): Likewise.
51406         (find_function_ulps): Likewise.
51407         (find_complex_function_ulps): Likewise.
51408         (print_max_error): Determine allowed ulps using
51409         find_function_ulps.
51410         (print_complex_max_error): Determine allowed ulps using
51411         find_complex_function_ulps.
51412         (check_float_internal): Determine max ulps using find_test_ulps.
51413         (check_float): Do not take max_ulp parameter.  Update call to
51414         check_float_internal.
51415         (check_complex): Likewise.
51416         (check_int): Do not take max_ulp parameter.
51417         (check_long): Likewise.
51418         (check_bool): Likewise.
51419         (check_longlong): Likewise.
51420         (struct test_f_f_data): Remove max_ulp field.
51421         (struct test_ff_f_data): Likewise.
51422         (struct test_ff_f_data_nexttoward): Likewise.
51423         (struct test_fi_f_data): Likewise.
51424         (struct test_fl_f_data): Likewise.
51425         (struct test_if_f_data): Likewise.
51426         (struct test_fff_f_data): Likewise.
51427         (struct test_c_f_data): Likewise.
51428         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51429         (struct test_fF_f1_data): Likewise.
51430         (struct test_ffI_f1_data): Likewise.
51431         (struct test_c_c_data): Remove max_ulp field.
51432         (struct test_cc_c_data): Likewise.
51433         (struct test_f_i_data): Likewise.
51434         (struct test_ff_i_data): Likewise.
51435         (struct test_f_l_data): Likewise.
51436         (struct test_f_L_data): Likewise.
51437         (struct test_sincos_data): Likewise.
51438         (RUN_TEST_f_f): Do not handle ulps.
51439         (RUN_TEST_LOOP_f_f): Likewise.
51440         (RUN_TEST_2_f): Likewise.
51441         (RUN_TEST_LOOP_2_f): Likewise.
51442         (RUN_TEST_fff_f): Likewise.
51443         (RUN_TEST_LOOP_fff_f): Likewise.
51444         (RUN_TEST_c_f): Likewise.
51445         (RUN_TEST_LOOP_c_f): Likewise.
51446         (RUN_TEST_f_f1): Likewise.
51447         (RUN_TEST_LOOP_f_f1): Likewise.
51448         (RUN_TEST_fF_f1): Likewise.
51449         (RUN_TEST_LOOP_fF_f1): Likewise.
51450         (RUN_TEST_fI_f1): Likewise.
51451         (RUN_TEST_LOOP_fI_f1): Likewise.
51452         (RUN_TEST_ffI_f1): Likewise.
51453         (RUN_TEST_LOOP_ffI_f1): Likewise.
51454         (RUN_TEST_c_c): Likewise.
51455         (RUN_TEST_LOOP_c_c): Likewise.
51456         (RUN_TEST_cc_c): Likewise.
51457         (RUN_TEST_LOOP_cc_c): Likewise.
51458         (RUN_TEST_f_i): Likewise.
51459         (RUN_TEST_LOOP_f_i): Likewise.
51460         (RUN_TEST_f_i_tg): Likewise.
51461         (RUN_TEST_LOOP_f_i_tg): Likewise.
51462         (RUN_TEST_ff_i_tg): Likewise.
51463         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51464         (RUN_TEST_f_b): Likewise.
51465         (RUN_TEST_LOOP_f_b): Likewise.
51466         (RUN_TEST_f_b_tg): Likewise.
51467         (RUN_TEST_LOOP_f_b_tg): Likewise.
51468         (RUN_TEST_f_l): Likewise.
51469         (RUN_TEST_LOOP_f_l): Likewise.
51470         (RUN_TEST_f_L): Likewise.
51471         (RUN_TEST_LOOP_f_L): Likewise.
51472         (RUN_TEST_sincos): Likewise.
51473         (RUN_TEST_LOOP_sincos): Likewise.
51475 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51477         [BZ #15480]
51478         [BZ #15485]
51479         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51480         main case of finite arguments, set rounding mode to FE_TONEAREST
51481         and discard exceptions.
51482         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51483         exceptions.
51484         (remainder_tonearest_test_data): New variable.
51485         (remainder_test_tonearest): New function.
51486         (remainder_towardzero_test_data): New variable.
51487         (remainder_test_towardzero): New function.
51488         (remainder_downward_test_data): New variable.
51489         (remainder_test_downward): New function.
51490         (remainder_upward_test_data): New variable.
51491         (remainder_test_upward): New function.
51492         (main): Call the new test functions.
51494         * math/libm-test.inc (struct test_f_f1_data): Remove field
51495         extra_init.
51496         (struct test_fF_f1_data): Likewise.
51497         (struct test_ffI_f1_data): Likewise.
51498         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51499         based on value of EXTRA_EXPECTED.
51500         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51501         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51502         EXTRA_VAR based on value of EXTRA_EXPECTED.
51503         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51504         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51505         EXTRA_VAR based on value of EXTRA_EXPECTED.
51506         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51507         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51508         EXTRA_VAR based on value of EXTRA_EXPECTED.
51509         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51510         * math/gen-libm-test.pl (parse_args): Don't output initializers
51511         for extra output values.
51513         * math/libm-test.inc (check_int): Expect result to be exactly
51514         equal to expected value and do not handle ulps.
51515         (check_long): Likewise.
51516         (check_longlong): Likewise.
51518         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51519         exceptions.
51520         (cimag_test_data): Likewise.
51521         (conj_test_data): Likewise.
51522         (copysign_test_data): Likewise.
51523         (cproj_test_data): Likewise.
51524         (creal_test_data): Likewise.
51525         (fabs_test_data): Likewise.
51526         (fdim_test_data): Likewise.
51527         (finite_test_data): Likewise.
51528         (floor_test_data): Likewise.
51529         (fmax_test_data): Likewise.
51530         (fmin_test_data): Likewise.
51531         (fmod_test_data): Likewise.
51532         (fpclassify_test_data): Likewise.
51533         (frexp_test_data): Likewise.
51534         (ilogb_test_data): Likewise.
51535         (isfinite_test_data): Likewise.
51536         (isgreater_test_data): Likewise.
51537         (isgreaterequal_test_data): Likewise.
51538         (isinf_test_data): Likewise.
51539         (isless_test_data): Likewise.
51540         (islessequal_test_data): Likewise.
51541         (islessgreater_test_data): Likewise.
51542         (isnan_test_data): Likewise.
51543         (isnormal_test_data): Likewise.
51544         (issignaling_test_data): Likewise.
51545         (isunordered_test_data): Likewise.
51546         (ldexp_test_data): Likewise.
51547         (lrint_test_data): Likewise.
51548         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51549         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51550         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51551         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51552         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51553         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51554         test input.
51555         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51556         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51557         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51558         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51559         that test input.
51560         (lrint_downward_test_data): Test for "inexact" exceptions.
51561         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51562         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51563         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51564         test input.
51565         (lrint_upward_test_data): Test for "inexact" exceptions.
51566         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51567         test input.
51568         (llrint_test_data): Test for "inexact" exceptions.
51569         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51570         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51571         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51572         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51573         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51574         (llrint_downward_test_data): Test for "inexact" exceptions.
51575         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51576         (llrint_upward_test_data): Test for "inexact" exceptions.
51577         (logb_test_data): Likewise.
51578         (logb_downward_test_data): Likewise.
51579         (nextafter_test_data): Likewise.
51580         (nexttoward_test_data): Likewise.
51581         (remainder_test_data): Likewise.
51582         (remquo_test_data): Likewise.
51583         (scalbn_test_data): Likewise.
51584         (scalbln_test_data): Likewise.
51585         (signbit_test_data): Likewise.
51586         (sqrt_test_data): Likewise.
51587         (significand_test_data): Likewise.
51589 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51591         [BZ #15424]
51592         * benchtests/bench-modf.c (struct args): Mark arg0 as
51593         volatile.
51594         * scripts/bench.pl: Mark members of struct args as volatile.
51596 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51598         [BZ # 15497]
51599         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51600         negative infinity on POWER6 or lower.
51601         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51603 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51605         [BZ #15442]
51606         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51607         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51608         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51609         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51610         (_FP_SETQNAN): New macro.
51611         (_FP_SETQNAN_SEMIRAW): Likewise.
51612         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51613         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51614         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51615         (FP_EXTEND): Use _FP_FRAC_SNANP.
51616         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51617         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51618         into account.
51619         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51620         New macro.
51621         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51622         Likewise.
51624 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51626         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51627         with DIVIDE_BY_ZERO_EXCEPTION.
51628         (gamma_test_data): Likewise.
51629         (lgamma_test_data): Likewise.
51630         (log_test_data): Likewise.
51631         (log10_test_data): Likewise.
51632         (log2_test_data): Likewise.
51633         (tgamma_test_data): Likewise.
51635         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51636         (acos_test_tonearest): Likewise.
51637         (acos_test_towardzero): Likewise.
51638         (acos_test_downward): Likewise.
51639         (acos_test_upward): Likewise.
51640         (acosh_test): Likewise.
51641         (asin_test): Likewise.
51642         (asin_test_tonearest): Likewise.
51643         (asin_test_towardzero): Likewise.
51644         (asin_test_downward): Likewise.
51645         (asin_test_upward): Likewise.
51646         (asinh_test): Likewise.
51647         (atan_test): Likewise.
51648         (atanh_test): Likewise.
51649         (atan2_test): Likewise.
51650         (cabs_test): Likewise.
51651         (cacos_test): Likewise.
51652         (cacosh_test): Likewise.
51653         (casin_test): Likewise.
51654         (casinh_test): Likewise.
51655         (catan_test): Likewise.
51656         (catanh_test): Likewise.
51657         (cbrt_test): Likewise.
51658         (ccos_test): Likewise.
51659         (ccosh_test): Likewise.
51660         (cexp_test): Likewise.
51661         (clog_test): Likewise.
51662         (clog10_test): Likewise.
51663         (cos_test): Likewise.
51664         (cos_test_tonearest): Likewise.
51665         (cos_test_towardzero): Likewise.
51666         (cos_test_downward): Likewise.
51667         (cos_test_upward): Likewise.
51668         (cosh_test): Likewise.
51669         (cosh_test_tonearest): Likewise.
51670         (cosh_test_towardzero): Likewise.
51671         (cosh_test_downward): Likewise.
51672         (cosh_test_upward): Likewise.
51673         (cpow_test): Likewise.
51674         (csin_test): Likewise.
51675         (csinh_test): Likewise.
51676         (csqrt_test): Likewise.
51677         (ctan_test): Likewise.
51678         (ctan_test_tonearest): Likewise.
51679         (ctan_test_towardzero): Likewise.
51680         (ctan_test_downward): Likewise.
51681         (ctan_test_upward): Likewise.
51682         (ctanh_test): Likewise.
51683         (ctanh_test_tonearest): Likewise.
51684         (ctanh_test_towardzero): Likewise.
51685         (ctanh_test_downward): Likewise.
51686         (ctanh_test_upward): Likewise.
51687         (erf_test): Likewise.
51688         (erfc_test): Likewise.
51689         (exp_test): Likewise.
51690         (exp_test_tonearest): Likewise.
51691         (exp_test_towardzero): Likewise.
51692         (exp_test_downward): Likewise.
51693         (exp_test_upward): Likewise.
51694         (exp10_test): Likewise.
51695         (exp2_test): Likewise.
51696         (expm1_test): Likewise.
51697         (fmod_test): Likewise.
51698         (gamma_test): Likewise.
51699         (hypot_test): Likewise.
51700         (j0_test): Likewise.
51701         (j1_test): Likewise.
51702         (jn_test): Likewise.
51703         (lgamma_test): Likewise.
51704         (log_test): Likewise.
51705         (log10_test): Likewise.
51706         (log1p_test): Likewise.
51707         (log2_test): Likewise.
51708         (logb_test_downward): Likewise.
51709         (pow_test): Likewise.
51710         (pow_test_tonearest): Likewise.
51711         (pow_test_towardzero): Likewise.
51712         (pow_test_downward): Likewise.
51713         (pow_test_upward): Likewise.
51714         (remainder_test): Likewise.
51715         (remquo_test): Likewise.
51716         (sin_test): Likewise.
51717         (sin_test_tonearest): Likewise.
51718         (sin_test_towardzero): Likewise.
51719         (sin_test_downward): Likewise.
51720         (sin_test_upward): Likewise.
51721         (sincos_test): Likewise.
51722         (sinh_test): Likewise.
51723         (sinh_test_tonearest): Likewise.
51724         (sinh_test_towardzero): Likewise.
51725         (sinh_test_downward): Likewise.
51726         (sinh_test_upward): Likewise.
51727         (sqrt_test): Likewise.
51728         (tan_test): Likewise.
51729         (tan_test_tonearest): Likewise.
51730         (tan_test_towardzero): Likewise.
51731         (tan_test_downward): Likewise.
51732         (tan_test_upward): Likewise.
51733         (tanh_test): Likewise.
51734         (tgamma_test): Likewise.
51735         (y0_test): Likewise.
51736         (y1_test): Likewise.
51737         (yn_test): Likewise.
51739         * math/gen-libm-test.pl (adjust_arg): Remove function.
51740         (special_function): Remove argument $in_func.  Only handle
51741         generating output for tables of tests, not inside functions.
51742         (parse_args): Likewise.
51743         (generate_testfile): Remove variable $in_func.  Update call to
51744         parse_args.
51745         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51746         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51747         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51748         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51749         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51750         (MAX_VALUE_INIT): Rename macro to max_value.
51751         (MIN_VALUE_INIT): Rename macro to min_value.
51752         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51753         (plus_zero): Remove variable.
51754         (minus_zero): Likewise.
51755         (plus_infty): Likewise.
51756         (minus_infty): Likewise.
51757         (qnan_value): Likewise.
51758         (max_value): Likewise.
51759         (min_value): Likewise.
51760         (min_subnorm_value): Likewise.
51762 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51764         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51765         uint64_t or uint32_t usage.
51766         * crypt/sha256-block.c: Likewise.
51767         * crypt/sha256-crypt.c: Likewise.
51768         * crypt/sha256.c: Likewise.
51769         * crypt/sha512-block.c: Likewise.
51770         * crypt/sha512-crypt.c: Likewise.
51771         * crypt/sha512.c: Likewise.
51772         * debug/backtrace-tst.c: Likewise.
51773         * debug/pcprofiledump.c: Likewise.
51774         * elf/cache.c: Likewise.
51775         * elf/dl-cache.c: Likewise.
51776         * elf/dl-misc.c: Likewise.
51777         * elf/dl-profile.c: Likewise.
51778         * elf/dl-support.c: Likewise.
51779         * elf/ldconfig.c: Likewise.
51780         * elf/sprof.c: Likewise.
51781         * iconv/dummy-repertoire.c: Likewise.
51782         * iconv/iconv_charmap.c: Likewise.
51783         * iconv/skeleton.c: Likewise.
51784         * iconvdata/8bit-generic.c: Likewise.
51785         * iconvdata/cp737.h: Likewise.
51786         * iconvdata/cp775.h: Likewise.
51787         * iconvdata/ibm1008.h: Likewise.
51788         * iconvdata/ibm1025.h: Likewise.
51789         * iconvdata/ibm1046.h: Likewise.
51790         * iconvdata/ibm1097.h: Likewise.
51791         * iconvdata/ibm1112.h: Likewise.
51792         * iconvdata/ibm1122.h: Likewise.
51793         * iconvdata/ibm1123.h: Likewise.
51794         * iconvdata/ibm1124.h: Likewise.
51795         * iconvdata/ibm1129.h: Likewise.
51796         * iconvdata/ibm1130.h: Likewise.
51797         * iconvdata/ibm1132.h: Likewise.
51798         * iconvdata/ibm1133.h: Likewise.
51799         * iconvdata/ibm1137.h: Likewise.
51800         * iconvdata/ibm1140.h: Likewise.
51801         * iconvdata/ibm1141.h: Likewise.
51802         * iconvdata/ibm1142.h: Likewise.
51803         * iconvdata/ibm1143.h: Likewise.
51804         * iconvdata/ibm1144.h: Likewise.
51805         * iconvdata/ibm1145.h: Likewise.
51806         * iconvdata/ibm1146.h: Likewise.
51807         * iconvdata/ibm1147.h: Likewise.
51808         * iconvdata/ibm1148.h: Likewise.
51809         * iconvdata/ibm1149.h: Likewise.
51810         * iconvdata/ibm1153.h: Likewise.
51811         * iconvdata/ibm1154.h: Likewise.
51812         * iconvdata/ibm1155.h: Likewise.
51813         * iconvdata/ibm1156.h: Likewise.
51814         * iconvdata/ibm1157.h: Likewise.
51815         * iconvdata/ibm1158.h: Likewise.
51816         * iconvdata/ibm1160.h: Likewise.
51817         * iconvdata/ibm1161.h: Likewise.
51818         * iconvdata/ibm1162.h: Likewise.
51819         * iconvdata/ibm1163.h: Likewise.
51820         * iconvdata/ibm1164.h: Likewise.
51821         * iconvdata/ibm1166.h: Likewise.
51822         * iconvdata/ibm1167.h: Likewise.
51823         * iconvdata/ibm12712.h: Likewise.
51824         * iconvdata/ibm1390.h: Likewise.
51825         * iconvdata/ibm1399.h: Likewise.
51826         * iconvdata/ibm16804.h: Likewise.
51827         * iconvdata/ibm4517.h: Likewise.
51828         * iconvdata/ibm4899.h: Likewise.
51829         * iconvdata/ibm4909.h: Likewise.
51830         * iconvdata/ibm4971.h: Likewise.
51831         * iconvdata/ibm5347.h: Likewise.
51832         * iconvdata/ibm803.h: Likewise.
51833         * iconvdata/ibm856.h: Likewise.
51834         * iconvdata/ibm901.h: Likewise.
51835         * iconvdata/ibm902.h: Likewise.
51836         * iconvdata/ibm9030.h: Likewise.
51837         * iconvdata/ibm9066.h: Likewise.
51838         * iconvdata/ibm921.h: Likewise.
51839         * iconvdata/ibm922.h: Likewise.
51840         * iconvdata/ibm9448.h: Likewise.
51841         * iconvdata/isiri-3342.h: Likewise.
51842         * iconvdata/jis0201.h: Likewise.
51843         * include/link.h: Likewise.
51844         * include/netdb.h: Likewise.
51845         * inet/check_native.c: Likewise.
51846         * inet/check_pf.c: Likewise.
51847         * inet/getipv4sourcefilter.c: Likewise.
51848         * inet/getnameinfo.c: Likewise.
51849         * inet/getsourcefilter.c: Likewise.
51850         * inet/htonl.c: Likewise.
51851         * inet/setipv4sourcefilter.c: Likewise.
51852         * inet/setsourcefilter.c: Likewise.
51853         * inet/test-inet6_opt.c: Likewise.
51854         * inet/tst-network.c: Likewise.
51855         * locale/C-collate.c: Likewise.
51856         * locale/C-ctype.c: Likewise.
51857         * locale/C-time.c: Likewise.
51858         * locale/C-translit.h: Likewise.
51859         * locale/loadarchive.c: Likewise.
51860         * locale/programs/3level.h: Likewise.
51861         * locale/programs/charmap.c: Likewise.
51862         * locale/programs/charmap.h: Likewise.
51863         * locale/programs/ld-address.c: Likewise.
51864         * locale/programs/ld-collate.c: Likewise.
51865         * locale/programs/ld-ctype.c: Likewise.
51866         * locale/programs/ld-identification.c: Likewise.
51867         * locale/programs/ld-measurement.c: Likewise.
51868         * locale/programs/ld-messages.c: Likewise.
51869         * locale/programs/ld-monetary.c: Likewise.
51870         * locale/programs/ld-name.c: Likewise.
51871         * locale/programs/ld-numeric.c: Likewise.
51872         * locale/programs/ld-paper.c: Likewise.
51873         * locale/programs/ld-telephone.c: Likewise.
51874         * locale/programs/ld-time.c: Likewise.
51875         * locale/programs/linereader.c: Likewise.
51876         * locale/programs/locale.c: Likewise.
51877         * locale/programs/locarchive.c: Likewise.
51878         * locale/programs/locfile.h: Likewise.
51879         * locale/programs/repertoire.c: Likewise.
51880         * locale/programs/simple-hash.c: Likewise.
51881         * locale/programs/simple-hash.h: Likewise.
51882         * malloc/memusage.c: Likewise.
51883         * malloc/memusagestat.c: Likewise.
51884         * nis/nis_defaults.c: Likewise.
51885         * nis/nis_hash.c: Likewise.
51886         * nis/nis_print.c: Likewise.
51887         * nis/nis_xdr.c: Likewise.
51888         * nscd/connections.c: Likewise.
51889         * nscd/hstcache.c: Likewise.
51890         * nscd/nscd_gethst_r.c: Likewise.
51891         * nscd/nscd_getserv_r.c: Likewise.
51892         * nscd/nscd_helper.c: Likewise.
51893         * nscd/servicescache.c: Likewise.
51894         * nss/makedb.c: Likewise.
51895         * nss/nss_db/db-XXX.c: Likewise.
51896         * nss/nss_db/db-initgroups.c: Likewise.
51897         * nss/nss_db/db-netgrp.c: Likewise.
51898         * nss/nss_files/files-network.c: Likewise.
51899         * nss/nss_files/files-parse.c: Likewise.
51900         * posix/bug-regex5.c: Likewise.
51901         * posix/fnmatch_loop.c: Likewise.
51902         * posix/regcomp.c: Likewise.
51903         * posix/regexec.c: Likewise.
51904         * posix/tst-rfc3484-2.c: Likewise.
51905         * posix/tst-rfc3484-3.c: Likewise.
51906         * posix/tst-rfc3484.c: Likewise.
51907         * resolv/nss_dns/dns-canon.c: Likewise.
51908         * resolv/nss_dns/dns-network.c: Likewise.
51909         * resolv/res_init.c: Likewise.
51910         * resolv/res_mkquery.c: Likewise.
51911         * resolv/tst-aton.c: Likewise.
51912         * stdlib/cxa_atexit.c: Likewise.
51913         * stdlib/cxa_finalize.c: Likewise.
51914         * stdlib/gen-fpioconst.c: Likewise.
51915         * stdlib/strtol_l.c: Likewise.
51916         * string/tst-endian.c: Likewise.
51917         * sunrpc/auth_des.c: Likewise.
51918         * sunrpc/clnt_udp.c: Likewise.
51919         * sunrpc/rtime.c: Likewise.
51920         * sunrpc/svcauth_des.c: Likewise.
51921         * sunrpc/xdr.c: Likewise.
51922         * sunrpc/xdr_intXX_t.c: Likewise.
51923         * sunrpc/xdr_rec.c: Likewise.
51924         * sysdeps/generic/ldconfig.h: Likewise.
51925         * sysdeps/generic/ldsodefs.h: Likewise.
51926         * sysdeps/generic/memusage.h: Likewise.
51927         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51929         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51930         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51931         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51933         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51934         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51935         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51937         * sysdeps/posix/getaddrinfo.c: Likewise.
51938         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51939         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51940         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51941         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51942         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51943         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51944         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51945         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51946         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51947         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51948         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51949         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51950         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51951         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51952         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51953         * sysdeps/x86_64/dl-tls.h: Likewise.
51954         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51955         * time/alt_digit.c: Likewise.
51956         * time/era.c: Likewise.
51957         * wcsmbs/tst-c16c32-1.c: Likewise.
51959 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51961         * math/libm-test.inc (struct test_sincos_data): New type.
51962         (RUN_TEST_LOOP_sincos): New macro.
51963         (sincos_test_data): New variable.
51964         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51966 2013-05-16  Richard Henderson  <rth@redhat.com>
51968         * math/atest-exp2.c (LIMB64): New macro.
51969         (CONSTSZ): New macro.
51970         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51971         (hexdig): Move ...
51972         (print_mpn_fp): ... to function scope.
51973         (read_mpn_hex): Remove.
51974         (get_log2): Remove.
51975         (exp2_mpn): Use mp_log2.
51976         (main): Use mp_exp1.
51978 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51980         * math/libm-test.inc: Remove comment about not testing "inexact"
51981         exceptions.
51982         (INEXACT_EXCEPTION): New macro.
51983         (NO_INEXACT_EXCEPTION): Likewise.
51984         (INVALID_EXCEPTION_OK): Update value.
51985         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51986         (OVERFLOW_EXCEPTION_OK): Likewise.
51987         (UNDERFLOW_EXCEPTION_OK): Likewise.
51988         (IGNORE_ZERO_INF_SIGN): Likewise.
51989         (ERRNO_UNCHANGED): Likewise.
51990         (ERRNO_EDOM): Likewise.
51991         (ERRNO_ERANGE): Likewise.
51992         (test_exceptions): Handle testing "inexact" exceptions.
51993         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51994         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51995         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51996         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51997         INEXACT_EXCEPTION.
51998         (rint_towardzero_test_data): Likewise.
51999         (rint_downward_test_data): Likewise.
52000         (rint_upward_test_data): Likewise.
52002         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52003         with OVERFLOW_EXCEPTION.
52004         (exp10_test_data): Likewise.
52005         (exp2_test_data): Likewise.
52006         (expm1_test_data): Likewise.
52007         (lgamma_test_data): Likewise.
52008         (pow_test_data): Likewise.
52009         (tgamma_test_data): Likewise.
52010         (yn_test_data): Remove duplicate test of overflow.
52012         * math/libm-test.inc (struct test_cc_c_data): New type.
52013         (RUN_TEST_LOOP_cc_c): New macro.
52014         (cpow_test_data): New variable.
52015         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52017         * math/libm-test.inc (struct test_f_L_data): New type.
52018         (RUN_TEST_LOOP_f_L): New macro.
52019         (llrint_test_data): New variable.
52020         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52021         (llrint_tonearest_test_data): New variable.
52022         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52023         (llrint_towardzero_test_data): New variable.
52024         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52025         (llrint_downward_test_data): New variable.
52026         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52027         (llrint_upward_test_data): New variable.
52028         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52029         (llround_test_data): New variable.
52030         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52032 2013-05-13  Peter Collingbourne  <pcc@google.com>
52034         * math/atest-exp2.c (get_log2): Remove const attribute.
52036 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52038         * math/libm-test.inc (struct test_f_l_data): New type.
52039         (RUN_TEST_LOOP_f_l): New macro.
52040         (lrint_test_data): New variable.
52041         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52042         (lrint_tonearest_test_data): New variable.
52043         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52044         (lrint_towardzero_test_data): New variable.
52045         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52046         (lrint_downward_test_data): New variable.
52047         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52048         (lrint_upward_test_data): New variable.
52049         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52050         (lround_test_data): New variable.
52051         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52053 2013-05-15  Peter Collingbourne  <pcc@google.com>
52055         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52056         (EXTRACT_WORDS64) Use where appropriate.
52057         (INSERT_WORDS64) Likewise.
52059         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52060         constraints with x constraints.
52061         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52063         * malloc/obstack.c (_obstack_compat): Add initializer.
52065 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52067         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52068         si_trapno and add si_addr_lsb to _sifields.sigfault.
52069         (si_trapno): Remove macro.
52070         (si_addr_lsb): Define new macro.
52071         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52073 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52075         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52076         instead of TEST_f_l.
52077         (llrint_test_tonearest): Likewise.
52078         (llrint_test_towardzero): Likewise.
52079         (llrint_test_downward): Likewise.
52080         (llrint_test_upward): Likewise.
52081         (llround_test): Likewise.
52083         * math/libm-test.inc (struct test_f_i_data): Add comment.
52084         (RUN_TEST_LOOP_f_b): New macro.
52085         (RUN_TEST_LOOP_f_b_tg): Likewise.
52086         (finite_test_data): New variable.
52087         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52088         (isfinite_test_data): New variable.
52089         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52090         (isinf_test_data): New variable.
52091         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52092         (isnan_test_data): New variable.
52093         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52094         (isnormal_test_data): New variable.
52095         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52096         (issignaling_test_data): New variable.
52097         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52098         (signbit_test_data): New variable.
52099         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52101         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52102         with INVALID_EXCEPTION.
52103         (acosh_test_data): Likewise.
52104         (asin_test_data): Likewise.
52105         (atanh_test_data): Likewise.
52106         (fmod_test_data): Likewise.
52107         (log_test_data): Likewise.
52108         (log10_test_data): Likewise.
52109         (log2_test_data): Likewise.
52110         (pow_test_data): Likewise.
52111         (sqrt_test_data): Likewise.
52112         (y0_test_data): Likewise.
52113         (y1_test_data): Likewise.
52114         (yn_test_data): Likewise.
52116         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52117         function contents.
52119         * math/libm-test.inc (struct test_ff_i_data): New type.
52120         (RUN_TEST_LOOP_ff_i_tg): New macro.
52121         (isgreater_test_data): New variable.
52122         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52123         (isgreaterequal_test_data): New variable.
52124         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52125         (isless_test_data): New variable.
52126         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52127         (islessequal_test_data): New variable.
52128         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52129         (islessgreater_test_data): New variable.
52130         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52131         (isunordered_test_data): New variable.
52132         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52134 2013-05-14  David S. Miller  <davem@davemloft.net>
52136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52138 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52140         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52142         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52143         extra_test to int.
52144         (struct test_f_i_data): Change type of max_ulp to int.
52146         * math/libm-test.inc (test_ffI_f1_data): New type.
52147         (RUN_TEST_LOOP_ffI_f1): New macro.
52148         (remquo_test_data): New variable.
52149         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52151         * setjmp/tst-setjmp-fp.c: New file.
52152         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52153         (link-libm): New variable.
52154         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52156         * math/libm-test.inc (struct test_f_i_data): New type.
52157         (RUN_TEST_LOOP_f_i): New macro.
52158         (RUN_TEST_LOOP_f_i_tg): Likewise.
52159         (fpclassify_test_data): New variable.
52160         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52161         (ilogb_test_data): New variable.
52162         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52164         * math/libm-test.inc (scalbln_test): Correct function name in END
52165         call.
52167         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52168         (RUN_TEST_LOOP_fI_f1): New macro.
52169         (frexp_test_data): New variable.
52170         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52172         * math/libm-test.inc (struct test_fF_f1_data): New type.
52173         (RUN_TEST_LOOP_fF_f1): New macro.
52174         (modf_test_data): New variable.
52175         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52177         * math/libm-test.inc (struct test_f_f1_data): New type.
52178         (RUN_TEST_LOOP_f_f1): New macro.
52179         (gamma_test_data): New variable.
52180         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52181         (lgamma_test_data): New variable.
52182         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52184 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52187         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52188         (main): Comment "tls" pseudo-hwcap.
52190 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52192         * math/libm-test.inc (struct test_fl_f_data): New type.
52193         (RUN_TEST_LOOP_fl_f): New variable.
52194         (scalbln_test_data): New variable.
52195         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52197         * math/libm-test.inc (struct test_fi_f_data): New type.
52198         (RUN_TEST_LOOP_fi_f): New macro.
52199         (ldexp_test_data): New variable.
52200         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52201         (scalbn_test_data): New variable.
52202         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52204         * math/libm-test.inc (struct test_c_f_data): New type.
52205         (RUN_TEST_LOOP_c_f): New macro.
52206         (cabs_test_data): New variable.
52207         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52208         (carg_test_data): New variable.
52209         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52210         (cimag_test_data): New variable.
52211         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52212         (creal_test_data): New variable.
52213         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52215         * math/libm-test.inc (struct test_if_f_data): New type.
52216         (RUN_TEST_LOOP_if_f): New macro.
52217         (jn_test_data): New variable.
52218         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52219         (yn_test_data): New variable.
52220         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52222         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52224 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52226         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52227         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52229 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52232         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52233         (bench-deps): Add bench-timing.h.
52234         * benchtests-bench-skeleton.c: Include bench-timing.h.
52235         (main): Use TIMING_* macros instead of clock_gettime.
52236         * benchtests/bench-timing.h: New file.
52238         [BZ #14582]
52239         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52240         Renamed from _LIB_VERSION.
52241         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52243 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52245         * math/libm-test.inc (struct test_fff_f_data): New type.
52246         (RUN_TEST_LOOP_fff_f): New macro.
52247         (fma_test_data): New variable.
52248         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52249         (fma_towardzero_test_data): New variable.
52250         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52251         (fma_downward_test_data): New variable.
52252         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52253         (fma_upward_test_data): New variable.
52254         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52256         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52257         (struct test_c_c_data): New type.
52258         (RUN_TEST_LOOP_c_c): New macro.
52259         (cacos_test_data): New variable.
52260         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52261         (cacosh_test_data): New variable.
52262         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52263         (casin_test_data): New variable.
52264         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52265         (casinh_test_data): New variable.
52266         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52267         (catan_test_data): New variable.
52268         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52269         (catanh_test_data): New variable.
52270         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52271         (ccos_test_data): New variable.
52272         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52273         (ccosh_test_data): New variable.
52274         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52275         (cexp_test_data): New variable.
52276         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52277         (clog_test_data): New variable.
52278         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52279         (clog10_test_data): New variable.
52280         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52281         (conj_test_data): New variable.
52282         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52283         (cproj_test_data): New variable.
52284         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52285         (csin_test_data): New variable.
52286         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52287         (csinh_test_data): New variable.
52288         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52289         (csqrt_test_data): New variable.
52290         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52291         (ctan_test_data): New variable.
52292         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52293         (ctan_tonearest_test_data): New variable.
52294         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52295         (ctan_towardzero_test_data): New variable.
52296         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52297         (ctan_downward_test_data): New variable.
52298         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52299         (ctan_upward_test_data): New variable.
52300         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52301         (ctanh_test_data): New variable.
52302         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52303         (ctanh_tonearest_test_data): New variable.
52304         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52305         (ctanh_towardzero_test_data): New variable.
52306         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52307         (ctanh_downward_test_data): New variable.
52308         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52309         (ctanh_upward_test_data): New variable.
52310         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52311         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52312         of BUILD_COMPLEX.
52314         * math/libm-test.inc (struct test_ff_f_data): New type.
52315         (struct test_ff_f_data_nexttoward): Likewise.
52316         (RUN_TEST_LOOP_2_f): New macro.
52317         (RUN_TEST_LOOP_ff_f): Likewise.
52318         (atan2_test_data): New variable.
52319         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52320         (copysign_test_data): New variable.
52321         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52322         (fdim_test_data): New variable.
52323         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52324         (fmax_test_data): New variable.
52325         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52326         (fmin_test_data): New variable.
52327         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52328         (fmod_test_data): New variable.
52329         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52330         (hypot_test_data): New variable.
52331         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52332         (nextafter_test_data): New variable.
52333         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52334         (nexttoward_test_data): New variable.
52335         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52336         (pow_test_data): New variable.
52337         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52338         (pow_tonearest_test_data): New variable.
52339         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52340         (pow_towardzero_test_data): New variable.
52341         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52342         (pow_downward_test_data): New variable.
52343         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52344         (pow_upward_test_data): New variable.
52345         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52346         (remainder_test_data): New variable.
52347         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52348         (scalb_test_data): New variable.
52349         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52350         * sysdeps/i386/fpu/libm-test-ulps: Update.
52352 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52354         * math/libm-test.inc (fma_test): Use max_value instead of local
52355         variable fltmax.
52356         (nextafter_test): Likewise.
52358         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52359         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52360         (acos_downward_test_data): New variable.
52361         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52362         (acos_upward_test_data): New variable.
52363         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52364         (acosh_test_data): New variable.
52365         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52366         (asin_test_data): New variable.
52367         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52368         (asin_tonearest_test_data): New variable.
52369         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52370         (asin_towardzero_test_data): New variable.
52371         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52372         (asin_downward_test_data): New variable.
52373         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52374         (asin_upward_test_data): New variable.
52375         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52376         (asinh_test_data): New variable.
52377         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52378         (atan_test_data): New variable.
52379         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52380         (atanh_test_data): New variable.
52381         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52382         (cbrt_test_data): New variable.
52383         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52384         (ceil_test_data): New variable.
52385         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52386         (cos_test_data): New variable.
52387         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52388         (cos_tonearest_test_data): New variable.
52389         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52390         (cos_towardzero_test_data): New variable.
52391         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52392         (cos_downward_test_data): New variable.
52393         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52394         (cos_upward_test_data): New variable.
52395         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52396         (cosh_test_data): New variable.
52397         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52398         (cosh_tonearest_test_data): New variable.
52399         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52400         (cosh_towardzero_test_data): New variable.
52401         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52402         (cosh_downward_test_data): New variable.
52403         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52404         (cosh_upward_test_data): New variable.
52405         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52406         (erf_test_data): New variable.
52407         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52408         (erfc_test_data): New variable.
52409         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52410         (exp_test_data): New variable.
52411         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52412         (exp_tonearest_test_data): New variable.
52413         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52414         (exp_towardzero_test_data): New variable.
52415         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52416         (exp_downward_test_data): New variable.
52417         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52418         (exp_upward_test_data): New variable.
52419         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52420         (exp10_test_data): New variable.
52421         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52422         (exp2_test_data): New variable.
52423         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52424         (expm1_test_data): New variable.
52425         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52426         (fabs_test_data): New variable.
52427         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52428         (floor_test_data): New variable.
52429         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52430         (j0_test_data): New variable.
52431         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52432         (j1_test_data): New variable.
52433         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52434         (log_test_data): New variable.
52435         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52436         (log10_test_data): New variable.
52437         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52438         (log1p_test_data): New variable.
52439         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52440         (log2_test_data): New variable.
52441         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52442         (logb_test_data): New variable.
52443         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52444         (logb_downward_test_data): New variable.
52445         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52446         (nearbyint_test_data): New variable.
52447         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52448         (rint_test_data): New variable.
52449         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52450         (rint_tonearest_test_data): New variable.
52451         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52452         (rint_towardzero_test_data): New variable.
52453         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52454         (rint_downward_test_data): New variable.
52455         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52456         (rint_upward_test_data): New variable.
52457         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52458         (round_test_data): New variable.
52459         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52460         (sin_test_data): New variable.
52461         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52462         (sin_tonearest_test_data): New variable.
52463         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52464         (sin_towardzero_test_data): New variable.
52465         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52466         (sin_downward_test_data): New variable.
52467         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52468         (sin_upward_test_data): New variable.
52469         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52470         (sinh_test_data): New variable.
52471         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52472         (sinh_tonearest_test_data): New variable.
52473         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52474         (sinh_towardzero_test_data): New variable.
52475         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52476         (sinh_downward_test_data): New variable.
52477         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52478         (sinh_upward_test_data): New variable.
52479         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52480         (sqrt_test_data): New variable.
52481         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52482         (tan_test_data): New variable.
52483         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52484         (tan_tonearest_test_data): New variable.
52485         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52486         (tan_towardzero_test_data): New variable.
52487         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52488         (tan_downward_test_data): New variable.
52489         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52490         (tan_upward_test_data): New variable.
52491         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52492         (tanh_test_data): New variable.
52493         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52494         (tgamma_test_data): New variable.
52495         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52496         (trunc_test_data): New variable.
52497         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52498         (y0_test_data): New variable.
52499         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52500         (y1_test_data): New variable.
52501         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52502         (significand_test_data): New variable.
52503         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52505 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52507         [BZ #12387]
52508         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52510 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52512         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52514 2013-05-10  Andreas Jaeger  <aj@suse.de>
52516         [BZ #15448]
52517         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52518         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52520 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52522         * math/gen-libm-test.pl (adjust_arg): New function.
52523         (special_functions): Handle generating output in both functions
52524         and arrays.
52525         (parse_args): Likewise.
52526         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52527         $in_func argument to parse_args.
52528         * math/libm-test.inc (struct test_f_f_data): New type.
52529         (IF_ROUND_INIT_): New macro.
52530         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52531         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52532         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52533         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52534         (ROUND_RESTORE_): Likewise.
52535         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52536         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52537         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52538         (ROUND_RESTORE_FE_UPWARD): Likewise.
52539         (RUN_TEST_LOOP_f_f): New macro.
52540         (acos_test_data): New variable.
52541         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52542         (acos_tonearest_test_data): New variable.
52543         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52545 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52547         * benchtests/bench-skeleton.c (startup): Fix coding style.
52549 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52551         [BZ #6809]
52552         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52553         negative infinity argument.
52554         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52555         negative infinity argument.
52556         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52557         negative infinity argument.
52558         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52559         domain errors.
52561 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52563         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52564         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52565         * iconv/iconv_prog.c (main): Likewise.
52566         * locale/programs/charmap-dir.c (charmap_readdir)
52567         (fopen_uncompressed): Likewise.
52568         * locale/programs/locfile.c (siblings_uncached)
52569         (write_locale_data): Use lstat64 instead of lstat.
52570         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52571         stat.
52573 2013-05-10  Andreas Jaeger  <aj@suse.de>
52575         [BZ #15395]
52576         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52577         localization.
52578         Include <locale.h>.
52580 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52582         * elf/dl-close.c (_dl_close_worker): Add comments.
52584 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52586         [BZ #15359]
52587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52588         high part of pi/2.
52589         (__ieee754_rem_pio2l): Update comments.
52591         [BZ #15429]
52592         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52593         high part of pi/2.
52594         (__ieee754_rem_pio2l): Update comments.
52596         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52597         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52599         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52600         M_PI_4l.
52602         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52603         (M_PI_34_LOG10El): Likewise.
52604         (M_PI2_LOG10El): Likewise.
52605         (M_PI4_LOG10El): Likewise.
52606         (M_PI_LOG10El): Likewise.
52608 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52612 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52614         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52615         (MINUS_ZERO_INIT): Likewise.
52616         (PLUS_INFTY_INIT): Likewise.
52617         (MINUS_INFTY_INIT): Likewise.
52618         (QNAN_VALUE_INIT): Likewise.
52619         (MAX_VALUE_INIT): Likewise.
52620         (MIN_VALUE_INIT): Likewise.
52621         (MIN_SUBNORM_VALUE_INIT): Likewise.
52622         (plus_zero): Initialize with PLUS_ZERO_INIT.
52623         (minus_zero): Initialize with MINUS_ZERO_INIT.
52624         (plus_infty): Initialize with PLUS_INFTY_INIT.
52625         (minus_infty): Initialize with MINUS_INFTY_INIT.
52626         (qnan_value): Initialize with QNAN_VALUE_INIT.
52627         (max_value): Initialize with MAX_VALUE_INIT.
52628         (min_value): Initialize with MIN_VALUE_INIT.
52629         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52631         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52632         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52633         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52634         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52636         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52637         (RUN_TEST_2_f): Likewise.
52638         (RUN_TEST_ff_f): Likewise.
52639         (RUN_TEST_fi_f): Likewise.
52640         (RUN_TEST_fl_f): Likewise.
52641         (RUN_TEST_fff_f): Likewise.
52642         (RUN_TEST_c_f): Likewise.
52643         (RUN_TEST_f_f1): Likewise.
52644         (RUN_TEST_fF_f1): Likewise.
52645         (RUN_TEST_fI_f1): Likewise.
52646         (RUN_TEST_ffI_f1): Likewise.
52647         (RUN_TEST_c_c): Likewise.
52648         (RUN_TEST_cc_c): Likewise.
52649         (RUN_TEST_f_i): Likewise.
52650         (RUN_TEST_f_i_tg): Likewise.
52651         (RUN_TEST_ff_i_tg): Likewise.
52652         (RUN_TEST_f_b): Likewise.
52653         (RUN_TEST_f_b_tg): Likewise.
52654         (RUN_TEST_f_l): Likewise.
52655         (RUN_TEST_f_L): Likewise.
52656         (RUN_TEST_sincos): Likewise.
52657         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52658         whether to show exceptions.  Do not include ");\n" in return
52659         value.
52660         (special_functions): Output call to RUN_TEST_sincos instead of
52661         check_float calls.  Update calls to new_test.
52662         (parse_args): Output call to single RUN_TEST_* macro instead of
52663         check_* calls and other assignments.  Update calls to new_test.
52665         [BZ #2546]
52666         [BZ #2560]
52667         [BZ #5159]
52668         [BZ #15426]
52669         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52670         input to result for tgamma overflow.
52671         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52672         (gamma_coeff): New variable.
52673         (NCOEFF): New macro.
52674         (gamma_positive): New function.
52675         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52676         underflow here.  Use gamma_positive instead of exp (lgamma) for
52677         other arguments.
52678         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52679         (gamma_coeff): New variable.
52680         (NCOEFF): New macro.
52681         (gammaf_positive): New function.
52682         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52683         underflow here.  Use gamma_positive instead of exp (lgamma) for
52684         other arguments.
52685         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52686         (gamma_coeff): New variable.
52687         (NCOEFF): New macro.
52688         (gammal_positive): New function.
52689         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52690         underflow here.  Use gamma_positive instead of exp (lgamma) for
52691         other arguments.
52692         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52693         (gamma_coeff): New variable.
52694         (NCOEFF): New macro.
52695         (gammal_positive): New function.
52696         (__ieee754_gammal_r): Handle positive infinity, overflow and
52697         underflow here.  Handle NaN the same as positive infinity.  Remove
52698         check x < 0xffffffff for negative integers.  Use gamma_positive
52699         instead of exp (lgamma) for other arguments.
52700         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52701         (gamma_coeff): New variable.
52702         (NCOEFF): New macro.
52703         (gammal_positive): New function.
52704         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52705         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52706         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52707         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52708         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52709         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52710         * sysdeps/generic/math_private.h (__gamma_productf): New
52711         prototype.
52712         (__gamma_product): Likewise.
52713         (__gamma_productl): Likewise.
52714         * math/Makefile (libm-calls): Add gamma_product.
52715         * math/libm-test.inc (tgamma_test): Add more tests.
52716         * sysdeps/i386/fpu/libm-test-ulps: Update.
52717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52719 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52721         * benchtests/bench-skeleton.c (main): Preheat CPU.
52723 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52725         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52727 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52729         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52730         and _dl_skip_args_internal.
52732 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52734         * manual/message.texi (Message Translation): Talk about users.
52735         Message to key mapping impacts design.
52737 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52739         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52741         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52743         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52744         * sysdeps/wordsize-64/glob64.c: ... here.
52746         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52747         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52748         New macros.
52750         * debug/getlogin_r_chk.c: Moved to ...
52751         * login/getlogin_r_chk.c: ... here.
52752         * debug/Makefile (routines): Move getlogin_r_chk to ...
52753         * login/Makefile (routines): ... here.
52754         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52755         * login/Versions (libc: GLIBC_2.4): ... here.
52757         * io/poll.c (__poll): Renamed from poll.
52758         Add libc_hidden_def.
52759         (poll): Define as weak alias.
52761         * debug/ptsname_r_chk.c: Moved to ...
52762         * login/ptsname_r_chk.c: ... here.
52763         * debug/Makefile (routines): Move ptsname_r_chk to ...
52764         * login/Makefile (routines): ... here.
52765         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52766         * login/Versions (libc: GLIBC_2.4): ... here.
52768         * posix/getlogin.c: Moved to ...
52769         * login/getlogin.c: ... here.
52770         * posix/getlogin_r.c: Moved to ...
52771         * login/getlogin_r.c: ... here.
52772         * posix/getlogin_r.c: Moved to ...
52773         * login/getlogin_r.c: ... here.
52774         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52775         * login/Makefile (routines): ... here.
52776         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52777         * login/Versions (libc: GLIBC_2.0): ... here.
52779         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52780         (setrlimit): Define as weak alias.
52782         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52783         Call __ names for open, ftruncate, and close.
52784         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52785         (truncate): Define as weak alias.
52787 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52789         * math/gen-libm-test.pl (parse_args): Initialize x before each
52790         test of frexp, modf and remquo.
52792         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52793         test signgam value.
52795 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52797         [BZ #15418]
52798         [BZ #15419]
52799         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52800         internal tests.
52801         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52803 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52805         * elf/dl-writev.h: New file.
52806         * elf/dl-misc.c: Include it.
52807         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52808         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52810 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52812         * math/libm-test.inc (noXFails): Remove variable.
52813         (noXPasses): Likewise.
52814         (BUILD_COMPLEX_INT): Remove macro.
52815         (print_screen): Remove xfail argument.
52816         (print_screen_max_error): Likewise.
52817         (update_stats): Likewise.
52818         (print_max_error): Likewise.  Update calls to other affected
52819         functions.
52820         (print_complex_max_error): Likewise.
52821         (test_single_exception): Update calls to print_screen.
52822         (test_single_errno): Likewise.
52823         (check_float_internal): Remove xfail argument.  Update calls to
52824         other affected functions.
52825         (check_float): Likewise.
52826         (check_complex): Likewise.
52827         (check_int): Likewise.
52828         (check_long): Likewise.
52829         (check_bool): Likewise.
52830         (check_longlong): Likewise.
52831         (main): Don't print noXFails and noXPasses.
52832         * math/gen-libm-test.pl (top level): Don't mention expected
52833         failure handling in comment.
52834         (new_test): Don't handle expected failures.
52835         (parse_args): Don't mention expected failure handling in comment.
52836         (generate_testfile): Don't handle expected failures.
52837         (parse_ulps): Likewise.
52838         (print_ulps_file): Likewise.
52839         (get_failure): Remove function.
52840         (output_test): Don't handle expected failures.
52841         * make/README.libm-test: Don't mention expected failure handling.
52843         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52844         (minus_zero): Likewise.
52845         (plus_infty): Likewise.
52846         (minus_infty): Likewise.
52847         (qnan_value): Likewise.
52848         (max_value): Likewise.
52849         (min_value): Likewise.
52850         (min_subnorm_value): Likewise.
52851         (initialize): Do not initialize those variables dynamically.
52853 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52855         * io/open.c (__open_2): Moved to ...
52856         * io/open_2.c: ... this new file.
52857         * io/open64.c (__open64_2): Moved to ...
52858         * io/open64_2.c: ... this new file.
52859         * io/openat.c (__openat_2): Moved to ...
52860         * io/openat_2.c: ... this new file.
52861         * io/openat64.c (__openat64_2): Moved to ...
52862         * io/openat64_2.c: ... this new file.
52863         * io/Makefile (routines): Add them.
52864         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52865         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52866         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52867         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52868         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52869         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52870         (__openat64): Add hidden_ver.
52871         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52872         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52874         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52875         Separately conditionalize setting of GLRO(dl_sysinfo) so
52876         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52877         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52879 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52881         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52882         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52883         definition.
52884         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52885         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52886         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52887         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52888         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52890 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52892         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52893         test signgam value.
52895         * math/libm-test.inc (hypot_test): Do not use
52896         IGNORE_ZERO_INF_SIGN.
52898 2013-05-03  Andreas Jaeger  <aj@suse.de>
52900         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52901         Linux 3.9.
52902         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52903         (PF_MAX): Adjust for VSOCK change.
52905 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52909 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52911         [BZ #15264]
52912         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52913         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52914         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52916 2013-05-02  David S. Miller  <davem@davemloft.net>
52918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52920 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52922         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52924 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52926         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52928 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52930         [BZ #14952]
52931         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52932         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52933         Use __attribute__ ((__gnu_inline__)).
52934         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52935         Don't use __attribute__ ((__gnu_inline__)).
52937 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52939         [BZ #15423]
52940         * math/s_catan.c (__catan): Handle small real or imaginary part of
52941         input specially to avoid spurious underflow.
52942         * math/s_catanf.c (__catanf): Likewise.
52943         * math/s_catanh.c (__catanh): Likewise.
52944         * math/s_catanhf.c (__catanhf): Likewise.
52945         * math/s_catanhl.c (__catanhl): Likewise.
52946         * math/s_catanl.c (__catanl): Likewise.
52947         * math/libm-test.inc (catan_test): Add more tests.
52948         (catanh_test): Likewise.
52949         * sysdeps/i386/fpu/libm-test-ulps: Update.
52950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52952 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52956 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52958         [BZ #15416]
52959         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52960         accurately for denominator in atan2.
52961         * math/s_catanf.c (__catanf): Likewise.
52962         * math/s_catanh.c (__catanh): Likewise.
52963         * math/s_catanhf.c (__catanhf): Likewise.
52964         * math/s_catanhl.c (__catanhl): Likewise.
52965         * math/s_catanl.c (__catanl): Likewise.
52966         * math/libm-test.inc (catan_test): Add more tests.
52967         (catanh_test): Likewise.
52968         * sysdeps/i386/fpu/libm-test-ulps: Update.
52969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52971 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52973         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52975         * benchtests/Makefile (bench): Remove slow benchmarks.
52976         * benchtests/atan-inputs: Add slow benchmark inputs.
52977         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52978         (BENCH_FUNC): Accept variant offset.
52979         (VARIANT): Define.
52980         * benchtests/bench-skeleton.c (main): Run benchmark for each
52981         variant.
52982         * benchtests/cos-inputs: Add slow benchmark inputs.
52983         * benchtests/exp-inputs: Likewise.
52984         * benchtests/pow-inputs: Likewise.
52985         * benchtests/sin-inputs: Likewise.
52986         * benchtests/slowatan-inputs: Remove.
52987         * benchtests/slowatan.c: Remove.
52988         * benchtests/slowcos-inputs: Remove.
52989         * benchtests/slowcos.c: Remove.
52990         * benchtests/slowexp-inputs: Remove.
52991         * benchtests/slowexp.c: Remove.
52992         * benchtests/slowpow-inputs: Remove.
52993         * benchtests/slowpow.c: Remove.
52994         * benchtests/slowsin-inputs: Remove.
52995         * benchtests/slowsin.c: Remove.
52996         * benchtests/slowtan-inputs: Remove.
52997         * benchtests/slowtan.c: Remove.
52998         * benchtests/tan-inputs: Add slow benchmark inputs.
52999         * scripts/bench.pl: Parse comments and directives.
53001         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53002         in CPPFLAGS.
53003         ($(objpfx)bench-%.c): Remove *-ITER.
53004         * benchtests/bench-modf.c: Remove definition of ITER.
53005         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53006         (main): Loop for DURATION seconds instead of fixed number of
53007         iterations.
53008         * scripts/bench.pl: Don't expect iterations in parameters.
53010 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53012         * io/fchdir.c (__fchdir): Renamed from fchdir.
53013         (fchdir): Define as weak alias.
53015 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53017         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53018         (ERRNO_EDOM): Likewise.
53019         (ERRNO_ERANGE): Likewise.
53020         (noErrnoTests): New variable.
53021         (init_max_error): Set errno to 0.
53022         (test_single_errno): New function.
53023         (test_errno): Likewise.
53024         (check_float_internal): Call test_errno.  Set errno to 0.
53025         (check_complex): Refer to errno tests in comment.
53026         (check_int): Call test_errno.  Set errno to 0.
53027         (check_long): Likewise.
53028         (check_bool): Likewise.
53029         (check_longlong): Likewise.
53030         (cos_test): Use ERRNO_* flags for errno tests instead of
53031         check_int.
53032         (expm1_test): Likewise.
53033         (fmod_test): Likewise.
53034         (ilogb_test): Likewise.
53035         (lgamma_test): Likewise.
53036         (pow_test): Likewise.
53037         (remainder_test): Likewise.
53038         (sin_test): Likewise.
53039         (tan_test): Likewise.
53040         (yn_test): Likewise.
53041         (initialize): Set errno to 0.
53042         (main): Print number of errno tests.
53043         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53045 2013-04-29  Andreas Jaeger  <aj@suse.de>
53047         [BZ #15084]
53048         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53049         and RES_USEVC.
53051         [BZ #15085]
53052         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53053         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53054         unimplemented.
53056         [BZ #15380]
53057         * stdlib/random.c (__initstate): Return NULL if
53058         __initstate fails.
53060         [BZ #15086]
53061         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53062         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53063         RES_SNGLKUPREOP.
53065 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53069 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53071         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53072         of individual tests.
53073         (casin_test): Likewise.
53074         (casinh_test): Likewise.
53076 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53078         [BZ #15409]
53079         * math/s_catan.c (__catan): Handle arguments with large real or
53080         imaginary part separately without squaring.
53081         * math/s_catanf.c (__catanf): Likewise.
53082         * math/s_catanh.c (__catanh): Likewise.
53083         * math/s_catanhf.c (__catanhf): Likewise.
53084         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53085         and redefine.
53086         (__catanhl): Handle arguments with large real or imaginary part
53087         separately without squaring.
53088         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53089         and redefine.
53090         (__catanl): Handle arguments with large real or imaginary part
53091         separately without squaring.
53092         * math/libm-test.inc (catan_test): Add more tests.
53093         (catanh_test): Likewise.
53094         * sysdeps/i386/fpu/libm-test-ulps: Update.
53095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53097 2013-04-27  Andreas Jaeger  <aj@suse.de>
53099         [BZ #15007]
53100         * stdlib/stdlib.h: Update guards for qecvt.
53101         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53102         <stdlib.h>.
53104 2013-04-27  Allan McRae  <allan@archlinux.org>
53106         * sysdeps/i386/fpu/libm-test-ulps: Update.
53108 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53110         [BZ #15406]
53111         * math/s_catan.c: Include <float.h>.
53112         (__catan): Ensure underflow exception occurs for underflowed
53113         result.
53114         * math/s_catanf.c: Include <float.h>.
53115         (__catanf): Ensure underflow exception occurs for underflowed
53116         result.
53117         * math/s_catanh.c: Include <float.h>.
53118         (__catanh): Ensure underflow exception occurs for underflowed
53119         result.
53120         * math/s_catanhf.c: Include <float.h>.
53121         (__catanhf): Ensure underflow exception occurs for underflowed
53122         result.
53123         * math/s_catanhl.c: Include <float.h>.
53124         (__catanhl): Ensure underflow exception occurs for underflowed
53125         result.
53126         * math/s_catanl.c: Include <float.h>.
53127         (__catanl): Ensure underflow exception occurs for underflowed
53128         result.
53129         * math/libm-test.inc (catan_test): Add more tests.
53130         (catanh_test): Likewise.
53132         [BZ #15405]
53133         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53134         underflowed result.
53135         * math/s_ccoshf.c (__ccoshf): Likewise.
53136         * math/s_ccoshl.c (__ccoshl): Likewise.
53137         * math/s_csin.c (__csin): Likewise.
53138         * math/s_csinf.c (__csinf): Likewise.
53139         * math/s_csinh.c (__csinh): Likewise.
53140         * math/s_csinhf.c (__csinhf): Likewise.
53141         * math/s_csinhl.c (__csinhl): Likewise.
53142         * math/s_csinl.c (__csinl): Likewise.
53143         * math/libm-test.inc (ccos_test): Add more tests.
53144         (ccosh_test): Likewise.
53145         (csin_test): Likewise.
53146         (csinh_test): Likewise.
53148 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53150         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53151         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53152         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53153         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53154         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53155         powerpc/power5+/fpu folders.
53156         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53159 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53163 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53165         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53166         additions to variable.
53167         [$(config-machine) = x86_64] (modules-names): Likewise.
53168         ($(objpfx)tst-audit3): Remove dependency.
53169         ($(objpfx)tst-audit3.out): Likewise.
53170         ($(objpfx)tst-audit4): Likewise.
53171         ($(objpfx)tst-audit4.out): Likewise.
53172         ($(objpfx)tst-audit5): Likewise.
53173         ($(objpfx)tst-audit5.out): Likewise.
53174         ($(objpfx)tst-audit6): Likewise.
53175         ($(objpfx)tst-audit6.out): Likewise.
53176         ($(objpfx)tst-audit7): Likewise.
53177         ($(objpfx)tst-audit7.out): Likewise.
53178         (tst-audit3-ENV): Remove variable.
53179         (tst-audit4-ENV): Likewise.
53180         (tst-audit5-ENV): Likewise.
53181         (tst-audit6-ENV): Likewise.
53182         (tst-audit7-ENV): Likewise.
53183         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53184         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53185         addition to variable.
53186         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53187         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53188         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53189         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53191         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53192         tst-audit3, tst-audit4 and tst-audit5.
53193         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53194         tst-audit6 and tst-audit7.
53195         [$(subdir) = elf] (modules-names): Add audit modules for those
53196         tests.
53197         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53198         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53199         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53200         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53201         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53202         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53203         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53204         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53205         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53206         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53207         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53208         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53209         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53210         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53211         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53212         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53213         Likewise.
53214         [$(subdir) = elf && $(config-cflags-avx) = yes]
53215         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53216         [$(subdir) = elf && $(config-cflags-avx) = yes]
53217         (CFLAGS-tst-auditmod4a.c): Likewise.
53218         [$(subdir) = elf && $(config-cflags-avx) = yes]
53219         (CFLAGS-tst-auditmod4b.c): Likewise.
53220         [$(subdir) = elf && $(config-cflags-avx) = yes]
53221         (CFLAGS-tst-auditmod6b.c): Likewise.
53222         [$(subdir) = elf && $(config-cflags-avx) = yes]
53223         (CFLAGS-tst-auditmod6c.c): Likewise.
53224         [$(subdir) = elf && $(config-cflags-avx) = yes]
53225         (CFLAGS-tst-auditmod7b.c): Likewise.
53226         * elf/tst-audit3.c: Move to ...
53227         * sysdeps/x86_64/tst-audit3.c: ... here.
53228         * elf/tst-audit4.c: Move to ...
53229         * sysdeps/x86_64/tst-audit4.c: ... here.
53230         * elf/tst-audit5.c: Move to ...
53231         * sysdeps/x86_64/tst-audit5.c: ... here.
53232         * elf/tst-audit6.c: Move to ...
53233         * sysdeps/x86_64/tst-audit6.c: ... here.
53234         * elf/tst-audit7.c: Move to ...
53235         * sysdeps/x86_64/tst-audit7.c: ... here.
53236         * elf/tst-auditmod3a.c: Move to ...
53237         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53238         * elf/tst-auditmod3b.c: Move to ...
53239         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53240         * elf/tst-auditmod4a.c: Move to ...
53241         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53242         * elf/tst-auditmod4b.c: Move to ...
53243         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53244         * elf/tst-auditmod5a.c: Move to ...
53245         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53246         * elf/tst-auditmod5b.c: Move to ...
53247         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53248         * elf/tst-auditmod6a.c: Move to ...
53249         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53250         * elf/tst-auditmod6b.c: Move to ...
53251         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53252         * elf/tst-auditmod6c.c: Move to ...
53253         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53254         * elf/tst-auditmod7a.c: Move to ...
53255         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53256         * elf/tst-auditmod7b.c: Move to ...
53257         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53259 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53261         [BZ #15366]
53262         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53263         define unconditionally.
53264         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53265         define unconditionally.
53266         (INT8_C, INT16_C, etc.): Likewise.
53268 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53270         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53271         __ehdr_start with hidden visibility.
53273         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53275 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53277         * math/libm-test.inc (cos_test): Use accurate hex constants.
53278         (sincost_test): Likewise.
53280 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53282         * math/libm-test.inc (catan_test): Add more tests.
53283         (catanh_test): Likewise.
53285         * math/s_catanf.c (__catanf): Use suffixed floating-point
53286         constants.
53287         * math/s_catanhf.c (__catanhf): Likewise.
53288         * math/s_catanhl.c (__catanhl): Likewise.
53289         * math/s_catanl.c (__catanl): Likewise.
53291         [BZ #15394]
53292         * math/s_catan.c (__catan): Calculate imaginary part of result
53293         with log1p not log unless computing log of number close to 0.
53294         * math/s_catanf.c (__catanf): Likewise.
53295         * math/s_catanl.c (__catanl): Likewise.
53296         * math/s_catanh.c (__catanh): Calculate real part of result with
53297         log1p not log unless computing log of number close to 0.
53298         * math/s_catanhf.c (__catanhf): Likewise.
53299         * math/s_catanhl.c (__catanhl): Likewise.
53300         * math/libm-test.inc (catan_test): Add more tests.
53301         (catanh_test): Likewise.
53302         * sysdeps/i386/fpu/libm-test-ulps: Update.
53303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53305 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53307         * benchtests/Makefile: Mention files in which fast and slow
53308         paths of math functions are implemented.
53310 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53312         * sysdeps/posix/timespec_get.c: New file.
53314 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53316         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53317         POWER.
53318         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53319         for POWER.
53320         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53321         powerpc/power5/fpu folders.
53322         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53323         * benchtests/Makefile: Add modf testcase.
53324         * benchtests/bench-modf.c: New file: Benchmark test for mo
53326 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53328         [BZ #14888]
53329         * time/Makefile (tests): Add tst-strptime-whitespace.
53330         * time/strptime_l.c (get_number): Use ISSPACE.
53331         (__strptime_internal): Likewise.
53332         * time/tst-strptime-whitespace.c: New test case.
53334 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53336         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53337         member.
53338         (_nss_files_init): Set it here.
53340 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53342         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53343         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53344         unsigned.
53346 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53348         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53350 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53352         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53353         size just once.
53355 2013-04-21  David S. Miller  <davem@davemloft.net>
53357         * po/ru.po: Update Russion translation from translation project.
53359 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53361         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53362         and setfsgid.
53364 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53366         * configure.in: Remove i386 configure warning. Remove i386 case.
53367         * configure: Regenerate.
53368         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53369         Add example to error message.
53370         * sysdeps/i386/configure: Regenerate.
53372 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53374         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53375         slowtan.
53376         * benchtests/cos-inputs: New file.
53377         * benchtests/slowcos-inputs: New file.
53378         * benchtests/slowcos.c: New file.
53379         * benchtests/slowtan-inputs: New file.
53380         * benchtests/slowtan.c: New file.
53381         * benchtests/tan-inputs: New file.
53383 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53385         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53386         considered kosher.
53388 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53390         * benchtests/Makefile: Include cppflags-iterator.mk to add
53391         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53393         * Makefile.in (bench-clean): New target.
53394         * benchtests/Makefile (bench-clean): Likewise.
53396 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53398         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53400 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53402         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53404 2013-04-15  Andreas Schwab  <schwab@suse.de>
53406         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53408         * nscd/pwdcache.c (cache_addpw): Likewise.
53409         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53410         more than recsize.
53412 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53414         * benchtests/Makefile (bench): Write all output to
53415         bench-out.tmp together.
53417 2013-04-15  Andreas Schwab  <schwab@suse.de>
53419         * nscd/nscd.c (main): Don't fork again after closing files.
53421 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53423         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53425         * benchtests/Rules (bench-deps): Collect dependencies into a
53426         single variable.  Add Makefile to dependencies.
53427         ($(objpfx)bench-%.c): Depend on bench-deps.
53429 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53430             Xavier Roche  <roche+kml2@exalead.com>
53432         [BZ #15361]
53433         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53434         just that it's a file descriptor.
53435         * manual/llio.texi (Synchronizing AIO Operations): Update description
53436         for EBADF error from aio_fsync.
53438 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53440         * Rules (bench): Move target definition...
53441         * benchtests/Makefile: ... here.
53443 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53445         * math/libm-test.inc (cos_test): Fix PI/2 test.
53446         (sincos_test): Likewise.
53447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53448         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53450 2013-04-11  Andreas Schwab  <schwab@suse.de>
53452         [BZ #13988]
53453         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53454         accept exponent character only when digits were seen.
53455         * stdio-common/Makefile (tests): Add bug26.
53456         * stdio-common/bug26.c: New file.
53458         [BZ #14293]
53459         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53460         non-freeable.
53462 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53464         * Makeconfig (rtld-prefix): Define built linker prefix.
53465         * Rules (run-bench): Use it.
53466         * math/Makefile (run-regen-ulps): Likewise.
53468         * Rules (bench): Remove eval.
53470 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53471             Roland McGrath  <roland@hack.frob.com>
53472             Ondrej Bilka  <neleai@seznam.cz>
53474         [BZ #15346]
53475         * time/getdate.c: Include ctype.h and alloca.h.
53476         (__getdate_r): Trim leading and trailing spaces of input.
53477         * time/tst-getdate.c (tests): Add tests with leading and
53478         trailing spaces.
53480 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53482         [BZ #14280]
53483         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53484         when computing value.
53486 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53488         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53489         Use testrun.sh to run libm tests.
53491         [BZ #15309]
53492         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53494 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53496         [BZ #15264]
53497         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53501         * Makefile.in (regen-ulps): New target.
53502         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53503         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53504         [ifneq (no,$(PERL)] (regen-ulps): New target.
53505         [ifeq (no,$(PERL)] (regen-ulps): New target.
53506         * math/libm-test.inc (ulps_file_name): Define.
53507         (output_dir): New variable.
53508         (options): Add "output-dir" option.
53509         (parse_opt): Handle 'o' case.
53510         (main): If output_dir is non-NULL use it as a prefix
53511         otherwise use "".
53512         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53516         [BZ #10060, #10062]
53517         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53518         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53519         fail configure if __sync_val_compare_and_swap is not inlined.
53520         * sysdeps/i386/configure: Regenerate.
53521         * configure.in: Build for i686 when configured for i386.
53522         * configure: Regenerate.
53523         * README: Remove i386 reference.
53525 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53527         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53528         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53530 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53532         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53533         (lmsnanval): New variables.
53534         (F): Add conversion tests.
53535         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53536         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53538         * stdio-common/tstdiomisc.c (F): Properly collect individual
53539         tests' results.
53541         [BZ #14686, #15336]
53542         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53543         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53544         Instead, use input NaN values or generate a qNaN by arithmetic
53545         operation.  Also fix bugs to comply with the standard.
53546         * math/libm-test.inc (remainder_test): Add more tests.
53548         [BZ #15335, #15342]
53549         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53551         input NaN values or generate a qNaN by arithmetic operation.
53553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53554         unreachable code.
53556         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53557         definitions.
53559 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53561         [BZ #14478]
53562         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53563         underflowed result.
53564         * math/s_cexpf.c (__cexpf): Likewise.
53565         * math/s_cexpl.c (__cexpl): Likewise.
53566         * math/libm-test.inc (cexp_test): Add more tests.
53568 2013-04-03  Andreas Schwab  <schwab@suse.de>
53570         [BZ #15330]
53571         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53572         order arrays from heap if bigger than alloca cutoff.
53574 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53576         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53577         (SNAN_TESTS_double): Refer to GCC PR56831.
53578         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53579         GCC PR56828.
53581 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53583         * Rules (bench): Move bench.out after the run is complete.
53585         * Rules (bench): Echo currently running benchmark.
53587         * benchtests/Makefile (bench): Add atan and slowatan.
53588         * benchtests/atan-inputs: New file.
53589         * benchtests/slowatan-inputs: New file.
53590         * benchtests/slowatan.c: New file.
53592         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53593         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53594         its value.
53596         [BZ #15305]
53597         * sysdeps/unix/sysv/linux/kernel-features.h
53598         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53599         __ASSUME_XFS_RESTRICTED_CHOWN.
53600         * sysdeps/unix/sysv/linux/pathconf.c
53601         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53602         Save and restore errno.
53604 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53606         [BZ #15327]
53607         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53608         arguments using __kernel_casinh.
53609         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53610         arguments using __kernel_casinhf.
53611         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53612         arguments using __kernel_casinhl.
53613         * math/libm-test.inc (cacosh_test): Add more tests.
53614         * sysdeps/i386/fpu/libm-test-ulps: Update.
53615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53617 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53619         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53622         * bench/Makefile (bench): Add sin and slowsin.
53623         * benchtests/sin-inputs: New file.
53624         * benchtests/slowsin-inputs: New file.
53625         * benchtests/slowsin.c: New file.
53627         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53628         (bench): Add slowexp and slowpow.
53629         (exp-ITER): Increase iterations.
53630         (pow-ITER): Likewise.
53631         * benchtests/exp-inputs: Change input.
53632         * benchtests/pow-inputs: Likewise.
53633         * benchtests/slowexp-inputs: New file.
53634         * benchtests/slowexp.c: New file.
53635         * benchtests/slowpow-inputs: New file.
53636         * benchtests/slowpow.c: New file.
53638 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53640         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53641         instructions.
53642         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53643         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53645         * benchtests/Makefile: Add rint benchtest.
53646         * benchtests/rint-inputs: Input for rint benchtest.
53648 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53650         * Versions.def (libm): Add GLIBC_2.18.
53651         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53652         hidden libm prototypes.
53653         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53654         * math/Makefile (libm-calls): Add s_issignaling.
53655         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53656         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53657         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53658         declaration.
53659         * math/math.h [__USE_GNU] (issignaling): New macro.
53660         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53661         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53662         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53663         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53664         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53666         * manual/arith.texi (issignaling): New section.
53667         * manual/libm-err-tab.pl (@all_functions): Update comment.
53668         * math/gen-libm-test.pl (parse_args): Apply special handling for
53669         issignaling.
53670         * math/libm-test.inc (print_float, issignaling_test): New
53671         functions.
53672         (check_float_internal): Add issignaling checks.
53673         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53674         default definition.
53675         * sysdeps/powerpc/math-tests.h: New file.
53676         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53677         tests.
53678         * math/test-snan.c (TEST_FUNC): Likewise.
53680 2013-03-30  David S. Miller  <davem@davemloft.net>
53682         * po/de.po: Update from translation team.
53684 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53686         [BZ #10357]
53687         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53688         imaginary part less than 1.0 and real part less than 0.5
53689         specially.
53690         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53691         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53692         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53693         (cacos_test): Add more tests.
53694         (casin_test): Likewise.
53695         (casinh_test): Likewise.
53696         * sysdeps/i386/fpu/libm-test-ulps: Update.
53697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53699 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53701         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53702         ONE with its value.
53704         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53705         (__pow_mp): Replace ONE and MONE with their values.
53706         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53707         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53708         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53709         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53710         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53711         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53713         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53715         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53716         (__pow_mp): Replace ZERO and MZERO with their values.
53717         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53718         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53719         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53721         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53722         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53723         (__sqr): Likewise.
53725         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53727         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53729 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53731         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53732         Declare with __attribute__ ((weak)).
53733         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53734         Call __call_tls_dtors only if it's not NULL.
53736 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53738         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53739         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53740         magic __ehdr_start linker symbol if it's defined.
53741         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53742         them up here if it was already done.
53744         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53745         (_dl_aux_init): Use const in cast when setting it.
53746         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53747         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53748         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53750         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53751         Declare them here.
53752         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53753         * csu/libc-tls.c: Nor here.
53754         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53756         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53757         (__libc_message): Never call vsyslog.
53759 2013-03-28  Alan Modra  <amodra@gmail.com>
53761         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53762         Define as empty.
53763         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53764         Likewise.
53766 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53768         [BZ #15214]
53769         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53770         underflow.
53771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53773 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53775         [BZ #15304]
53776         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53777         Don't add gid passed as argument.
53779         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53781 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #15307]
53784         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53785         imaginary part between 1.0 and 1.5 and real part less than 0.5
53786         specially.
53787         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53788         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53789         * math/libm-test.inc (cacos_test): Add more tests.
53790         (casin_test): Likewise.
53791         (casinh_test): Likewise.
53792         * sysdeps/i386/fpu/libm-test-ulps: Update.
53793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53795 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53797         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53798         constants.
53799         (norm): Likewise.
53800         (denorm): Likewise.
53801         (__dbl_mp): Likewise.
53802         (add_magnitudes): Likewise.
53803         (sub_magnitudes): Likewise.
53804         (__add): Likewise.
53805         (__sub): Likewise.
53806         (__mul): Likewise.
53807         (__sqr): Likewise.
53808         (__inv): Likewise.
53809         (__dvd): Likewise.
53811         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53812         commented code.
53813         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53814         (__dubcos): Likewise.
53815         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53816         (__ieee754_acos): Likewise.
53817         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53818         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53819         (__exp1): Likewise.
53820         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53821         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53822         (log1): Likewise.
53823         (my_log2): Likewise.
53824         (checkint): Likewise.
53825         * sysdeps/ieee754/dbl-64/e_remainder.c
53826         (__ieee754_remainder): Likewise.
53827         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53829         (bsloww): Likewise.
53830         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53832         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53833         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53834         MANTISSA_STORE_T to store computations on mantissa.  Use
53835         macros for rounding and division.
53836         (denorm): Likewise.
53837         (__dbl_mp): Likewise.
53838         (add_magnitudes): Likewise.
53839         (sub_magnitudes): Likewise.
53840         (__mul): Likewise.
53841         (__sqr): Likewise.
53842         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53843         powers of two in terms of TWOPOW macro.
53844         (mp_no): Make type of mantissa as MANTISSA_T.
53845         [!RADIXI]: Define RADIXI.
53846         [!TWO52]: Define TWO52.
53847         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53849 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53851         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53852         llroundl symbol when building for PPC32.
53854 2013-03-24  Mark H Weaver  <mhw@netris.org>
53856         * manual/arith.texi (Normalization Functions): Fix prototypes for
53857         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53859 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53861         [BZ #13889]
53862         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53863         high value to check if expl overflow.
53864         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53865         to check for underflow and overflow.
53866         * math/libm-test.inc: Add exp test.
53868 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53870         [BZ #11120]
53871         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53872         with NOT_IN_libc.
53874 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53876         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53877         symbol.
53879 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53881         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53882         wrap blocks consisting of several statements.
53884         * sysdeps/generic/math-tests.h: New file.
53885         * sysdeps/i386/fpu/math-tests.h: Likewise.
53886         * math/test-snan.c: Include it.
53887         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53889 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53891         [BZ #15285]
53892         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53893         (__ieee754_j0l): Do not improve calculations using cos of twice
53894         input for inputs above LDBL_MAX / 2.0L.
53895         (__ieee754_y0l): Likewise.
53896         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53897         (__ieee754_j1l): Do not improve calculations using cos of twice
53898         input for inputs above LDBL_MAX / 2.0L.
53899         (__ieee754_y1l): Likewise.
53900         * math/libm-test.inc (j0_test): Add another test.
53901         (j1_test): Likewise.
53902         (y0_test): Likewise.
53903         (y1_test): Likewise.
53904         * sysdeps/i386/fpu/libm-test-ulps: Update.
53906 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53908         * Rules ($(objpfx)bench-%.c): Include code from a C source
53909         file.
53911 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #15287]
53914         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53915         imaginary part 1.0 and real part less than 0.5 specially.
53916         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53917         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53918         * math/libm-test.inc (cacos_test): Add more tests.
53919         (casin_test): Likewise.
53920         (casinh_test): Likewise.
53921         * sysdeps/i386/fpu/libm-test-ulps: Update.
53922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53924 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53926         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53927         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53929 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53931         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53932         * config.make.in (config-cflags-sse4): Remove variable.
53933         (config-cflags-avx): Likewise.
53934         (config-cflags-sse2avx): Likewise.
53935         (config-cflags-novzeroupper): Likewise.
53936         (config-asflags-i686): Likewise.
53937         (have-mfma4): Likewise.
53938         (have-as-vis3): Likewise.
53939         (MIG): Likewise.
53940         * configure.in (MIG): Do not AC_SUBST.
53941         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53942         (libc_cv_cc_sse4): Do not AC_SUBST.
53943         (libc_cv_cc_avx): Likewise.
53944         (libc_cv_cc_sse2avx): Likewise.
53945         (libc_cv_cc_novzeroupper): Likewise.
53946         (libc_cv_cc_fma4): Likewise.
53947         (libc_cv_as_i686): Likewise.
53948         (libc_cv_sparc_as_vis3): Likewise.
53949         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53950         LIBC_CONFIG_VAR.
53951         (config-asflags-i686): Likewise.
53952         (config-cflags-avx): Likewise.
53953         (config-cflags-sse2avx): Likewise.
53954         (have-mfma4): Likewise.
53955         (config-cflags-novzeroupper): Likewise.
53956         * sysdeps/mach/configure.in (MIG): Likewise.
53957         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53958         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53959         LIBC_CONFIG_VAR.
53960         (config-cflags-avx): Likewise.
53961         (config-cflags-sse2avx): Likewise.
53962         (have-mfma4): Likewise.
53963         (config-cflags-novzeroupper): Likewise.
53964         * configure: Regenerated.
53965         * sysdeps/i386/configure: Likewise.
53966         * sysdeps/mach/configure: Likewise.
53967         * sysdeps/sparc/configure: Likewise.
53968         * sysdeps/x86_64/configure: Likewise.
53970 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53972         [BZ #14812]
53973         * locale/programs/localedef.c (options): Put N_ translation marker
53974         on argument names, not just descriptions.
53976 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53978         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53980 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53982         [BZ #14176]
53983         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53985 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53987         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53988         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53989         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53990         [!BEFORE_ABORT] (before_abort): New function.
53991         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53992         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53993         (writev_for_fatal): New function.
53994         (WRITEV_FOR_FATAL): New macro; call that.
53995         (backtrace_and_maps): New function.
53996         (BEFORE_ABORT): New macro; call that.
53997         (struct str_list): Type removed.
53998         (__libc_message, __libc_fatal): Functions removed.
53999         Include <sysdeps/posix/libc_fatal.c> instead.
54001 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54003         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54004         constants.
54005         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54006         double constants.
54008 2013-03-19  Andreas Schwab  <schwab@suse.de>
54010         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54011         * sysdeps/gnu/configure: Regenerate.
54013         * configure.in: Substitute libc_cv_rtlddir.
54014         * configure: Regenerate.
54015         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54016         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54017         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54018         * elf/Makefile (install-others, CFLAGS-interp.c)
54019         (ldso_install, common-ldd-rewrite): Likewise.
54020         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54021         $(inst_slibdir)/$(rtld-installed-name).
54022         * scripts/rellns-sh: Add -p option.
54023         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54024         for source.
54026 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54028         * manual/nptl.texi: Renamed to ...
54029         * manual/threads.texi: ... this.
54030         * manual/Makefile (chapters): Update.
54032 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54034         [BZ #14812]
54035         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54036         on argument names, not just descriptions.
54037         * malloc/memusagestat.c (options): Likewise.
54038         * nss/getent.c (options): Likewise.
54040 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54042         [BZ #14812]
54043         * iconv/iconv_prog.c (options): Put N_ translation marker
54044         on argument names, not just descriptions.
54045         * iconv/iconvconfig.c (options): Likewise.
54047 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54049         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54050         implementation which is faster on all x86_64 architectures.
54051         Tested on AMD, Intel Nehalem, SNB, IVB.
54052         * sysdeps/x86_64/strnlen.S: Likewise.
54054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54055         Remove all multiarch strlen and strnlen versions.
54056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54057         Remove strlen and strnlen related parts.
54059         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54060         Inline strlen part.
54061         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54063         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54064         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54065         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54066         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54067         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54068         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54070 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54072         * manual/memory.texi (Malloc Tunable Parameters):
54073         Sort parameters alphabetically. Add comments for missing entries.
54075 2013-03-17  David S. Miller  <davem@davemloft.net>
54077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54079 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54081         [BZ #15283]
54082         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54083         for arguments at most half maximum finite value.
54084         * math/libm-test.inc (j0_test): Add more tests.
54085         (j1_test): Likewise.
54086         (y0_test): Likewise.
54087         (y1_test): Likewise.
54088         * sysdeps/i386/fpu/libm-test-ulps: Update.
54089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54091         [BZ #14155]
54092         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54093         1 / x and functions P and Q for arguments above 0x1p256L.
54094         (__ieee754_y0l): Likewise.
54095         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54096         (__ieee754_y1l): Likewise.
54097         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54098         (j1_test): Likewise.
54099         (y0_test): Likewise.
54100         (y1_test): Likewise.
54102 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54104         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54105         variable.
54107 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54109         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54110         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54111         zero since it's initialized to EXEC_PAGESIZE.
54113         * sysdeps/unix/sysv/linux/ldsodefs.h
54114         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54115         * sysdeps/generic/ldsodefs.h: ... here.
54117 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54119         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54121         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54122         math/test-snan.c.
54123         * math/test-snan.c: Renamed from
54124         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54125         * math/Makefile (tests): Add test-snan.
54126         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54127         test-powerpc-snan.
54129         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54130         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54131         functions.
54132         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54133         __builtin_nan family of functions.
54134         * math/libm-test.inc (initialize): Initialize qnan_value with
54135         __builtin_nan family of functions.
54136         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54137         Remove variables.
54138         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54139         Remove functions.
54140         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54141         storage class.  Initialize qNaN_var and sNaN_var with
54142         __builtin_nan and __builtin_nans families of functions,
54143         respectively.
54145         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54146         (sqrt_test): Remove duplicate test with qNaN input.
54147         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54148         (round_test, signbit_test, significand_test): Note missing +/-Inf
54149         as well as qNaN tests.
54151         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54152         qNaN_var.  Fix a few strings, too.
54153         * math/libm-test.inc (nan_value): Rename to qnan_value.
54154         * math/gen-libm-test.pl (%beautify): Adjust to that.
54155         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54156         * math/test-misc.c (main): Likewise.
54157         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54158         to __qnan_bytes, and __qnan_union, respectively.
54159         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54160         Likewise.
54161         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54162         and lqnanval, respectively.
54163         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54164         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54165         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54166         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54168         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54169         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54170         doubles.
54172         * math/test-misc.c (main): Fix copy'n'pastos.
54173         * misc/tst-efgcvt.c (special): Likewise.
54175         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54176         Remove declarations.
54178 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54180         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54181         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54182         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54183         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54185 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54188         macro to return vdso values correctly in IFUNC implementations.
54189         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54190         Optimization by using IFUNC.
54192 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54193             Richard Henderson  <rth@redhat.com>
54194             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54196         * Makefile.in (bench): New target.
54197         * NEWS: Mention the benchmark framework.
54198         * Rules (bench): Likewise.
54199         (binaries-bench): Generate binaries for functions to
54200         benchmark.
54201         * benchtests/Makefile: New makefile for benchmark tests.
54202         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54203         programs.
54204         * benchtests/exp-inputs: New input file for EXP function.
54205         * benchtests/pow-inputs: New input file for POW function.
54206         * scripts/bench.pl: New script to generate source files for
54207         benchmark programs.
54209 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54211         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54212         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54213         computations on mantissa.  Use macros for rounding and
54214         division.
54215         (denorm): Likewise.
54216         (__dbl_mp): Likewise.
54217         (add_magnitudes): Likewise.
54218         (sub_magnitudes): Likewise.
54219         (__mul): Likewise.
54220         (__sqr): Likewise.
54221         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54222         powers of two in terms of TWOPOW macro.
54223         (mp_no): Make type of mantissa as MANTISSA_T.
54224         [!RADIXI]: Define RADIXI.
54225         [!TWO52]: Define TWO52.
54226         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54228         * manual/nptl.texi (cindex): Modify threads to pthreads.
54230 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54232         * sysdeps/x86_64/preconfigure: Regenerated.
54234 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54236         [BZ #14155]
54237         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54238         0x1p28 and above.
54239         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54240         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54241         0x1p28 and above.
54242         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54243         * math/libm-test.inc (j0_test): Do not allow one spurious
54244         underflow exception.
54245         (y1_test): Likewise.
54247 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54249         * manual/Makefile (chapters): Add nptl.
54250         * manual/debug.texi (Debugging Support): Add link to Threads
54251         chapter.
54252         * manual/nptl.texi: New file.
54254         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54256 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54258         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54259         for non-NULL pointer before the memory validity test. Pointed
54260         out by Holger Brunck <holger.brunck@keymile.com>.
54262 2013-03-13  Andreas Schwab  <schwab@suse.de>
54264         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54265         instead of .os.
54267 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54269         * timezone/zic.c: Update from tzcode 2013b.
54271 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54273         * manual/install.texi (Configuring and compiling):
54274         Mention i686 and i586.
54275         * INSTALL: Regenerate.
54277 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54279         * sysdeps/init_array/elf-init.c: New file.
54280         * csu/elf-init.c
54281         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54282         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54284         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54285         __gmon_start__ as global, but as static with a .preinit_array pointer.
54286         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54287         * sysdeps/init_array/crti.S: New file, empty except for comments.
54288         * sysdeps/init_array/crtn.S: Likewise.
54290 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54292         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54293         definining bcopy.
54294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54295         Remove Prefer_SSE_for_memop.
54296         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54297         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54298         HAS_PREFER_SSE_FOR_MEMOP.
54299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54300         memset-x86-64.
54301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54302         Remove bzero, memset ifunc support.
54303         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54304         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54308 2013-03-11  Andreas Schwab  <schwab@suse.de>
54310         [BZ #15234]
54311         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54312         by SHLIB_COMPAT.
54313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54314         (GLIBC_2.16): Remove pthread_atfork.
54316 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54318         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54319         (ptestcases.h): Likewise.
54321 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54323         * Makeconfig ($(common-objpfx)config.status): Depend on
54324         sysdeps/*/preconfigure{,.in} too.
54326 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54328         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54329         (__free_hook): Use void * instead of __malloc_ptr_t.
54330         (__malloc_hook): Likewise.
54331         (__realloc_hook): Likewise.
54332         (__memalign_hook): Likewise.
54333         (__after_morecore_hook): Likewise.
54334         * malloc/arena.c (save_malloc_hook): Likewise.
54335         (save_free_hook): Likewise.
54336         * malloc/hooks.c (malloc_hook_ini): Likewise.
54337         (realloc_hook_ini): Likewise.
54338         (memalign_hook_ini): Likewise.
54339         * malloc/malloc.c (malloc_hook_ini): Likewise.
54340         (realloc_hook_ini): Likewise.
54341         (memalign_hook_ini): Likewise.
54342         (__free_hook): Likewise.
54343         (__malloc_hook): Likewise.
54344         (__realloc_hook): Likewise.
54345         (__memalign_hook): Likewise.
54346         (__libc_malloc): Likewise.
54347         (__libc_free): Likewise.
54348         (__libc_realloc): Likewise.
54349         (__libc_memalign): Likewise.
54350         (__libc_valloc): Likewise.
54351         (__libc_pvalloc): Likewise.
54352         (__libc_calloc): Likewise.
54353         (__posix_memalign): Likewise.
54354         * malloc/morecore.c (__sbrk): Likewise.
54355         (__default_morecore): Likewise.
54357         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54359         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54360         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54361         __malloc_ptrdiff_t.
54363         * malloc/malloc.h (__malloc_size_t): Remove macro.
54364         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54365         __malloc_size_t.
54366         (old_memalign_hook): Likewise.
54367         (old_realloc_hook): Likewise.
54368         (struct hdr): Likewise.
54369         (flood): Likewise.
54370         (mallochook): Likewise.
54371         (memalignhook): Likewise.
54372         (reallochook): Likewise.
54373         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54374         (tr_old_realloc_hook): Likewise.
54375         (tr_old_memalign_hook): Likewise.
54376         (tr_mallochook): Likewise.
54377         (tr_reallochook): Likewise.
54378         (tr_memalignhook): Likewise.
54380 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54383         default_ldbl_pack and using as default implementation.
54384         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54385         implementation.
54386         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54387         redundant definition.
54388         (ldbl_insert_mantissa): Likewise.
54389         (ldbl_canonicalize): Likewise.
54390         (ldbl_nearbyint): Likewise.
54391         (ldbl_pack): Rename to ldbl_pack_ppc.
54392         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54393         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54394         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54396 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54399         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54400         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54401         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54403         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54404         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54405         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54407 2013-03-07  Andreas Jaeger  <aj@suse.de>
54409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54410         bits/mman-linux.h.
54412 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54414         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54415         Include mpa.h and declare __MPEXP.
54416         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54417         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54418         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54419         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54420         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54421         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54422         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54424         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54425         (__slowpow): Use long double EXPL and LOGL functions to
54426         compute POW.
54427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54428         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54429         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54430         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54431         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54432         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54435         intermediate variable to calculate exponent.
54436         (__sqr): Likewise.
54437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54438         Likewise.
54439         (__sqr): Likewise.
54441         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54442         [!NO__SQR]: Define __sqr.
54443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54444         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54445         sysdeps/ieee754/dbl-64/mpa.c.
54446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54448         [BZ #12723]
54449         * posix/Makefile (tests): Add tst-pathconf.
54450         * posix/tst-pathconf.c: New test case.
54451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54452         _PC_PIPE_BUF.
54453         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54455 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54457         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54459 2013-03-06  Andreas Jaeger  <aj@suse.de>
54461         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54462         definition via __MAP_ANONYMOUS.
54464         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54465         it's not part of Linux headers.
54467         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54468         (MAP_HUGE_MASK): Define.
54470         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54471         Define.
54472         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54474         Define.
54475         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54476         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54477         Define.
54478         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54479         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54480         Define.
54481         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54483         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54484         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54485         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54486         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54487         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54488         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54490         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54491         Handle f2fs.
54493         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54494         Handle f2fs and efivarfs.
54496         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54497         f2fs.
54499         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54500         (EFIVARFS_MAGIC): Add.
54501         (F2FS_LINK_MAX): Add.
54503 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54505         * stdio-common/vfprintf.c: Replace __builtin_expect with
54506         __glibc_unlikely.
54508 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54510         [BZ #13550]
54511         * sysdeps/generic/bp-sym.h: Remove file.
54512         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54513         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54514         <bp-sym.h> and <bp-asm.h>.
54515         (__longjmp): Don't use BP_SYM.
54516         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54517         and <bp-asm.h>.
54518         (memcpy): Don't use BP_SYM.
54519         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54520         <bp-sym.h> and <bp-asm.h>.
54521         (memcpy): Don't use BP_SYM.
54522         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54523         <bp-asm.h>.
54524         (memcpy): Don't use BP_SYM.
54525         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54526         <bp-asm.h>.
54527         (memset): Don't use BP_SYM.
54528         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54529         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54530         (__bzero): Don't use BP_SYM.
54531         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54532         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54533         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54534         <bp-sym.h> and <bp-asm.h>.
54535         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54536         pointers.
54537         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54538         <bp-sym.h> and <bp-asm.h>.
54539         (memcpy): Don't use BP_SYM.
54540         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54541         <bp-sym.h> and <bp-asm.h>.
54542         (memset): Don't use BP_SYM.
54543         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54544         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54545         (__bzero): Don't use BP_SYM.
54546         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54547         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54548         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54549         <bp-sym.h> and <bp-asm.h>.
54550         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54551         pointers.
54552         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54553         <bp-sym.h> and <bp-asm.h>.
54554         (memcpy): Don't use BP_SYM.
54555         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54556         <bp-sym.h> and <bp-asm.h>.
54557         (memset): Don't use BP_SYM.
54558         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54559         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54560         (__bzero): Don't use BP_SYM.
54561         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54562         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54563         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54564         <bp-sym.h> and <bp-asm.h>.
54565         (__memchr): Don't use BP_SYM.
54566         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54567         <bp-sym.h> and <bp-asm.h>.
54568         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54569         pointers.
54570         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54571         <bp-sym.h> and <bp-asm.h>.
54572         (memcpy): Don't use BP_SYM.
54573         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54574         <bp-sym.h> and <bp-asm.h>.
54575         (__mempcpy): Don't use BP_SYM.
54576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54577         <bp-sym.h> and <bp-asm.h>.
54578         (__memrchr): Don't use BP_SYM.
54579         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54580         <bp-sym.h> and <bp-asm.h>.
54581         (memset): Don't use BP_SYM.
54582         (__bzero): Likewise.
54583         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54584         <bp-sym.h> and <bp-asm.h>.
54585         (__rawmemchr): Don't use BP_SYM.
54586         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54587         <bp-sym.h> and <bp-asm.h>.
54588         (__STRCMP): Don't use BP_SYM.
54589         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54590         <bp-sym.h> and <bp-asm.h>.
54591         (strchr): Don't use BP_SYM.
54592         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54593         <bp-sym.h> and <bp-asm.h>.
54594         (__strchrnul): Don't use BP_SYM.
54595         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54596         <bp-sym.h> and <bp-asm.h>.
54597         (strlen): Don't use BP_SYM.
54598         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54599         <bp-sym.h> and <bp-asm.h>.
54600         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54601         pointers.
54602         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54603         <bp-sym.h> and <bp-asm.h>.
54604         (__strnlen): Don't use BP_SYM.
54605         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54606         <bp-sym.h> and <bp-asm.h>.
54607         (__GI__setjmp): Don't use BP_SYM.
54608         (_setjmp): Likewise.
54609         (__sigsetjmp): Likewise.
54610         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54611         (L(start_addresses)): Don't use BP_SYM.
54612         (_start): Likewise.
54613         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54614         <bp-asm.h>.
54615         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54616         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54617         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54618         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54619         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54620         <bp-asm.h>.
54621         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54622         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54623         about bounded pointers.
54624         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54625         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54626         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54627         <bp-asm.h>.
54628         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54629         about bounded pointers.  Remove GKM FIXME comments.
54630         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54631         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54632         <bp-asm.h>.
54633         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54634         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54635         Remove GKM FIXME comments.
54636         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54637         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54638         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54639         <bp-asm.h>.
54640         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54641         about bounded pointers.  Remove GKM FIXME comment.
54642         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54643         and <bp-asm.h>.
54644         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54645         pointers.
54646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54647         <bp-sym.h> and <bp-asm.h>.
54648         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54650         <bp-sym.h> and <bp-asm.h>.
54651         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54652         comment.
54654 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54656         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54657         call free(NULL).
54659 2013-03-05  David S. Miller  <davem@davemloft.net>
54661         * po/es.po: Update from translation team.
54663 2013-03-05  Andreas Jaeger  <aj@suse.de>
54665         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54666         <bits/mman-linux.h>.
54667         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54668         is fine.
54669         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54670         <bits/mman-linux.h> to end of file.
54671         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54672         is fine.
54673         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54674         <bits/mman-linux.h> to end of file.
54675         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54676         is fine.
54677         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54678         <bits/mman-linux.h> to end of file.
54680         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54681         (MCL_CURRENT, MCL_FUTURE): Define here.
54683 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54685         [BZ #15232]
54686         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54687         attribute_hidden.
54688         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54690 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54692         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54693         fourth parameter needed for rt_sigprocmask syscall.
54694         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54695         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54696         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54697         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54698         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54699         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54701 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54703         [BZ #13550]
54704         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54705         comment about bounded pointers.
54706         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54707         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54709 2013-03-04  Andreas Jaeger  <aj@suse.de>
54711         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54712         common definitions.
54714         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54715         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54716         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54717         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54718         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54719         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54721 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54723         [BZ #15055]
54724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54725         __ieee754_sqrl instead of __sqrl.
54727 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54729         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54730         * sysdeps/powerpc/fpu_control.h: ... here.
54731         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54732         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54733         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54734         * sysdeps/powerpc/bits/mathinline.h: ... here.
54736 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54738         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54739         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54740         to just [NEED_DL_SYSINFO_DSO].
54741         * elf/dl-support.c: Likewise.
54742         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54743         * elf/rtld.c (dl_main): Likewise.
54744         * elf/setup-vdso.h (setup_vdso): Likewise.
54745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54746         * sysdeps/unix/sysv/linux/dl-sysdep.c
54747         (_dl_discover_osversion): Likewise.
54749 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54751         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54752         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54754 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54756         * NEWS: Mention libm performance improvements and non-x86 PI
54757         futex support.
54759         * csu/libc-start.c (__pthread_initialize_minimal): Change
54760         function arguments.
54761         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54763 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54765         [BZ #13550]
54766         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54767         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54768         <bp-sym.h> and <bp-asm.h>.
54769         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54770         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54771         and <bp-asm.h>.
54772         (memcpy): Don't use BP_SYM.
54773         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54774         <bp-asm.h>.
54775         (__mpn_add_n): Don't use BP_SYM.
54776         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54777         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54778         and <bp-asm.h>.
54779         (__mpn_addmul_1): Don't use BP_SYM.
54780         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54781         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54782         <bp-sym.h>.
54783         (_setjmp): Don't use BP_SYM.
54784         (__novmx_setjmp): Likewise.
54785         (__GI__setjmp): Likewise.
54786         (__vmx_setjmp): Likewise.
54787         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54788         <bp-sym.h>.
54789         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54790         (__bzero): Don't use BP_SYM.
54791         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54792         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54793         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54794         <bp-sym.h> and <bp-asm.h>.
54795         (memcpy): Don't use BP_SYM.
54796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54797         <bp-sym.h> and <bp-asm.h>.
54798         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54799         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54800         <bp-sym.h> and <bp-asm.h>.
54801         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54802         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54803         <bp-asm.h>.
54804         (__mpn_lshift): Don't use BP_SYM.
54805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54806         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54807         <bp-asm.h>.
54808         (memset): Don't use BP_SYM.
54809         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54810         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54811         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54812         <bp-asm.h>.
54813         (__mpn_mul_1): Don't use BP_SYM.
54814         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54815         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54816         <bp-sym.h> and <bp-asm.h>.
54817         (memcmp): Don't use BP_SYM.
54818         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54819         <bp-sym.h> and <bp-asm.h>.
54820         (memcpy): Don't use BP_SYM.
54821         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54822         <bp-sym.h> and <bp-asm.h>.
54823         (memset): Don't use BP_SYM.
54824         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54825         <bp-sym.h> and <bp-asm.h>.
54826         (strncmp): Don't use BP_SYM.
54827         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54828         <bp-sym.h> and <bp-asm.h>.
54829         (memcpy): Don't use BP_SYM.
54830         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54831         <bp-sym.h> and <bp-asm.h>.
54832         (memset): Don't use BP_SYM.
54833         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54834         <bp-sym.h> and <bp-asm.h>.
54835         (__memchr): Don't use BP_SYM.
54836         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54837         <bp-sym.h> and <bp-asm.h>.
54838         (memcmp): Don't use BP_SYM.
54839         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54840         <bp-sym.h> and <bp-asm.h>.
54841         (memcpy): Don't use BP_SYM.
54842         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54843         <bp-sym.h> and <bp-asm.h>.
54844         (__mempcpy): Don't use BP_SYM.
54845         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54846         <bp-sym.h> and <bp-asm.h>.
54847         (__memrchr): Don't use BP_SYM.
54848         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54849         <bp-sym.h> and <bp-asm.h>.
54850         (memset): Don't use BP_SYM.
54851         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54852         <bp-sym.h> and <bp-asm.h>.
54853         (__rawmemchr): Don't use BP_SYM.
54854         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54855         <bp-sym.h> and <bp-asm.h>.
54856         (__STRCMP): Don't use BP_SYM.
54857         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54858         <bp-sym.h> and <bp-asm.h>.
54859         (strchr): Don't use BP_SYM.
54860         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54861         <bp-sym.h> and <bp-asm.h>.
54862         (__strchrnul): Don't use BP_SYM.
54863         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54864         <bp-sym.h> and <bp-asm.h>.
54865         (strlen): Don't use BP_SYM.
54866         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54867         <bp-sym.h> and <bp-asm.h>.
54868         (strncmp): Don't use BP_SYM.
54869         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54870         <bp-sym.h> and <bp-asm.h>.
54871         (__strnlen): Don't use BP_SYM.
54872         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54873         <bp-asm.h>.
54874         (__mpn_rshift): Don't use BP_SYM.
54875         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54876         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54877         <bp-sym.h> and <bp-asm.h>.
54878         (__sigsetjmp): Don't use BP_SYM.
54879         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54880         (L(start_addresses)): Don't use BP_SYM.
54881         (_start): Likewise.
54882         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54883         <bp-asm.h>.
54884         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54885         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54886         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54887         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54888         <bp-asm.h>.
54889         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54890         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54891         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54892         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54893         <bp-asm.h>.
54894         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54895         comments.
54896         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54897         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54898         <bp-asm.h>.
54899         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54900         FIXME comments.
54901         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54902         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54903         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54904         <bp-asm.h>.
54905         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54906         comment.
54907         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54908         and <bp-asm.h>.
54909         (strncmp): Don't use BP_SYM,
54910         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54911         <bp-asm.h>.
54912         (__mpn_sub_n): Don't use BP_SYM.
54913         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54914         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54915         and <bp-asm.h>.
54916         (__mpn_submul_1): Don't use BP_SYM.
54917         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54919         <bp-sym.h> and <bp-asm.h>.
54920         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54922         <bp-sym.h> and <bp-asm.h>.
54923         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54924         comment.
54926 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54929         Use ZK to minimize writes to Z.
54930         (sub_magnitudes): Simplify code a bit.
54931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54932         Use ZK to minimize writes to Z.
54933         (sub_magnitudes): Simplify code a bit.
54935 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54937         * csu/gmon-start.c: Add special exception to license text.
54939 2013-02-27  Richard Henderson  <rth@redhat.com>
54941         * scripts/config.guess: Update from config.git.
54942         * scripts/config.sub: Likewise.
54944 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54946         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54948         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54950         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54952         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54954         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54956 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54958         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54959         [$(build-shared = yes].
54961 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54963         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54964         (__mul): Reduce iterations for calculating mantissa.
54966         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54967         MPTWO.
54968         (__mpranred): Likewise.
54970         [BZ #15160]
54971         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54972         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54974 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54976         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54977         Define __attribute__.
54979 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54981         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54982         unused.
54983         * posix/regex_internal.h (__attribute): Remove.
54984         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54985         (re_string_context_at): Likewise.
54986         (bitset_not): Use __attribute__ and mark function as possibly
54987         unused.
54988         (bitset_merge): Likewise.
54989         (bitset_mask): Likewise.
54990         (re_string_char_size_at): Likewise.
54991         (re_string_wchar_at): Likewise.
54992         (re_string_elem_size_at): Likewise.
54994 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54996         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54997         code.
54998         (cc32): Likewise.
55000         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55001         (__acr): Likewise.
55002         (__cpy): Likewise.
55003         (norm): Likewise.
55004         (denorm): Likewise.
55005         (__dbl_mp): Likewise.
55006         (add_magnitudes): Likewise.
55007         (sub_magnitudes): Likewise.
55008         (__mul): Likewise.
55009         (__inv): Likewise.
55011         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55012         style.
55014         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55015         style.
55017         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55018         code.
55020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55021         up changes with default code.
55022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55023         Likewise.
55025 2013-02-24  Allan McRae  <allan@archlinux.org>
55027         * manual/socket.texi (The Internet Namespace): Order menu items
55028         to match that in the file.
55030         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55031         node listing of the info page menu.
55033 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55035         [BZ #13550]
55036         * sysdeps/i386/bp-asm.h: Remove file.
55037         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55038         (PARMS): Do not use macros from bp-asm.h.
55039         (S1): Likewise.
55040         (S2): Likewise.
55041         (SIZE): Likewise.
55042         (__mpn_add_n): Do not use BP_SYM
55043         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55044         "bp-asm.h".
55045         (PARMS): Do not use macros from bp-asm.h.
55046         (S1): Likewise.
55047         (SIZE): Likewise.
55048         (__mpn_addmul_1): Do not use BP_SYM
55049         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55050         "bp-asm.h".
55051         (PARMS): Do not use macros from bp-asm.h.
55052         (SIGMSK): Likewise.
55053         (_setjmp): Likewise.  Do not use BP_SYM.
55054         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55055         "bp-asm.h".
55056         (PARMS): Do not use macros from bp-asm.h.
55057         (SIGMSK): Likewise.
55058         (setjmp): Likewise.  Do not use BP_SYM.
55059         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55060         "bp-asm.h".
55061         (PARMS): Do not use macros from bp-asm.h.
55062         (__frexp): Do not use BP_SYM.
55063         (frexp): Likewise.
55064         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55065         "bp-asm.h".
55066         (PARMS): Do not use macros from bp-asm.h.
55067         (__frexpf): Do not use BP_SYM.
55068         (frexpf): Likewise.
55069         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55070         "bp-asm.h".
55071         (PARMS): Do not use macros from bp-asm.h.
55072         (__frexpl): Do not use BP_SYM.
55073         (frexpl): Likewise.
55074         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55075         "bp-asm.h".
55076         (PARMS): Do not use macros from bp-asm.h.
55077         (__remquo): Do not use BP_SYM.
55078         (remquo): Likewise.
55079         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55080         "bp-asm.h".
55081         (PARMS): Do not use macros from bp-asm.h.
55082         (__remquof): Do not use BP_SYM.
55083         (remquof): Likewise.
55084         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55085         "bp-asm.h".
55086         (PARMS): Do not use macros from bp-asm.h.
55087         (__remquol): Do not use BP_SYM.
55088         (remquol): Likewise.
55089         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55090         "bp-asm.h".
55091         (PARMS): Do not use macros from bp-asm.h.
55092         (DEST): Likewise.
55093         (SRC): Likewise.
55094         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55095         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55096         "bp-asm.h".
55097         (PARMS): Do not use macros from bp-asm.h.
55098         (strlen): Do not use BP_SYM.
55099         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55100         "bp-asm.h".
55101         (PARMS): Do not use macros from bp-asm.h.
55102         (S1): Likewise.
55103         (S2): Likewise.
55104         (SIZE): Likewise.
55105         (__mpn_add_n): Do not use BP_SYM.
55106         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55107         "bp-asm.h".
55108         (PARMS): Do not use macros from bp-asm.h.
55109         (S1): Likewise.
55110         (SIZE): Likewise.
55111         (__mpn_addmul_1): Do not use BP_SYM.
55112         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55113         weak_alias.
55114         (bzero): Likewise.
55115         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55116         "bp-asm.h".
55117         (PARMS): Do not use macros from bp-asm.h.
55118         (S): Likewise.
55119         (SIZE): Likewise.
55120         (__mpn_lshift): Do not use BP_SYM.
55121         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55122         "bp-asm.h".
55123         (PARMS): Do not use macros from bp-asm.h.
55124         (DEST): Likewise.
55125         (SRC): Likewise.
55126         (LEN): Likewise.
55127         (memcpy): Likewise.  Do not use BP_SYM.
55128         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55129         libc_hidden_def and weak_alias.
55130         (mempcpy): Do not use BP_SYM in weak_alias.
55131         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55132         "bp-asm.h".
55133         (PARMS): Do not use macros from bp-asm.h.
55134         (DEST): Likewise.
55135         (LEN): Likewise.
55136         [!BZERO_P] (CHR): Likewise.
55137         (memset): Likewise.  Do not use BP_SYM.
55138         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55139         "bp-asm.h".
55140         (PARMS): Do not use macros from bp-asm.h.
55141         (S1): Likewise.
55142         (SIZE): Likewise.
55143         (__mpn_mul_1): Do not use BP_SYM.
55144         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55145         "bp-asm.h".
55146         (PARMS): Do not use macros from bp-asm.h.
55147         (S): Likewise.
55148         (SIZE): Likewise.
55149         (__mpn_rshift): Do not use BP_SYM.
55150         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55151         "bp-asm.h".
55152         (PARMS): Do not use macros from bp-asm.h.
55153         (STR): Likewise.
55154         (CHR): Likewise.
55155         (strchr): Likewise.  Do not use BP_SYM.
55156         (index): Do not use BP_SYM in weak_alias.
55157         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55158         "bp-asm.h".
55159         (PARMS): Do not use macros from bp-asm.h.
55160         (DEST): Likewise.
55161         (SRC): Likewise.
55162         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55163         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55164         "bp-asm.h".
55165         (PARMS): Do not use macros from bp-asm.h.
55166         (strlen): Do not use BP_SYM.
55167         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55168         "bp-asm.h".
55169         (PARMS): Do not use macros from bp-asm.h.
55170         (S1): Likewise.
55171         (S2): Likewise.
55172         (SIZE): Likewise.
55173         (__mpn_sub_n): Do not use BP_SYM.
55174         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55175         "bp-asm.h".
55176         (PARMS): Do not use macros from bp-asm.h.
55177         (S1): Likewise.
55178         (SIZE): Likewise.
55179         (__mpn_submul_1): Do not use BP_SYM.
55180         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
55185         (SIZE): Likewise.
55186         (__mpn_add_n): Do not use BP_SYM.
55187         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55188         weak_alias.
55189         (bzero): Likewise.
55190         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55191         "bp-asm.h".
55192         (PARMS): Do not use macros from bp-asm.h.
55193         (BLK2): Likewise.
55194         (LEN): Likewise.
55195         (memcmp): Do not use BP_SYM.
55196         (bcmp): Do not use BP_SYM in weak_alias.
55197         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55198         "bp-asm.h".
55199         (PARMS): Do not use macros from bp-asm.h.
55200         (DEST): Likewise.
55201         (SRC): Likewise.
55202         (LEN): Likewise.
55203         (memcpy): Likewise.  Do not use BP_SYM.
55204         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55205         "bp-asm.h".
55206         (PARMS): Do not use macros from bp-asm.h.
55207         (DEST): Likewise.
55208         (SRC): Likewise.
55209         (LEN): Likewise.
55210         (memmove): Likewise.  Do not use BP_SYM.
55211         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55212         "bp-asm.h".
55213         (PARMS): Do not use macros from bp-asm.h.
55214         (DEST): Likewise.
55215         (SRC): Likewise.
55216         (LEN): Likewise.
55217         (__mempcpy): Likewise.  Do not use BP_SYM.
55218         (mempcpy): Do not use BP_SYM in weak_alias.
55219         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55220         "bp-asm.h".
55221         (PARMS): Do not use macros from bp-asm.h.
55222         (DEST): Likewise.
55223         (LEN): Likewise.
55224         [!BZERO_P] (CHR): Likewise.
55225         (memset): Likewise.  Do not use BP_SYM.
55226         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55227         "bp-asm.h".
55228         (PARMS): Do not use macros from bp-asm.h.
55229         (STR2): Likewise.
55230         (strcmp): Do not use BP_SYM.
55231         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55232         "bp-asm.h".
55233         (PARMS): Do not use macros from bp-asm.h.
55234         (STR): Likewise.
55235         (DELIM): Likewise.
55236         [USE_AS_STRTOK_R] (SAVE): Likewise.
55237         (FUNCTION): Likewise.  Do not use BP_SYM.
55238         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55239         aliases.
55240         (strtok_r): Likewise.
55241         (__GI___strtok_r): Likewise.
55242         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55243         (PARMS): Do not use macros from bp-asm.h.
55244         (S): Likewise.
55245         (SIZE): Likewise.
55246         (__mpn_lshift): Do not use BP_SYM.
55247         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55248         (PARMS): Do not use macros from bp-asm.h.
55249         (STR): Likewise.
55250         (CHR): Likewise.
55251         (__memchr): Do not use BP_SYM.
55252         (memchr): Do not use BP_SYM in weak_alias.
55253         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55254         (PARMS): Do not use macros from bp-asm.h.
55255         (BLK2): Likewise.
55256         (LEN): Likewise.
55257         (memcmp): Do not use BP_SYM.
55258         (bcmp): Do not use BP_SYM in weak_alias.
55259         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55260         (PARMS): Do not use macros from bp-asm.h.
55261         (S1): Likewise.
55262         (SIZE): Likewise.
55263         (__mpn_mul_1): Do not use BP_SYM.
55264         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55265         "bp-asm.h".
55266         (PARMS): Do not use macros from bp-asm.h.
55267         (STR): Likewise.
55268         (CHR): Likewise.
55269         (__rawmemchr): Do not use BP_SYM.
55270         (rawmemchr): Do not use BP_SYM in weak_alias.
55271         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55272         (PARMS): Do not use macros from bp-asm.h.
55273         (S): Likewise.
55274         (SIZE): Likewise.
55275         (__mpn_rshift): Do not use BP_SYM.
55276         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55277         (PARMS): Do not use macros from bp-asm.h.
55278         (SIGMSK): Likewise.
55279         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55280         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55281         (_start): Do not use BP_SYM.
55282         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55283         (PARMS): Do not use macros from bp-asm.h.
55284         (DEST): Likewise.
55285         (SRC): Likewise.
55286         (__stpcpy): Likewise.  Do not use BP_SYM.
55287         (stpcpy): Do not use BP_SYM in weak_alias.
55288         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55289         "bp-asm.h".
55290         (PARMS): Do not use macros from bp-asm.h.
55291         (DEST): Likewise.
55292         (SRC): Likewise.
55293         (LEN): Likewise.
55294         (__stpncpy): Likewise.  Do not use BP_SYM.
55295         (stpncpy): Do not use BP_SYM in weak_alias.
55296         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55297         (PARMS): Do not use macros from bp-asm.h.
55298         (STR): Likewise.
55299         (CHR): Likewise.
55300         (strchr): Likewise.  Do not use BP_SYM.
55301         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55302         "bp-asm.h".
55303         (PARMS): Do not use macros from bp-asm.h.
55304         (STR): Likewise.
55305         (CHR): Likewise.
55306         (__strchrnul): Likewise.  Do not use BP_SYM.
55307         (strchrnul): Do not use BP_SYM in weak_alias.
55308         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55309         "bp-asm.h".
55310         (PARMS): Do not use macros from bp-asm.h.
55311         (STOP): Likewise.
55312         (strcspn): Do not use BP_SYM.
55313         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55314         "bp-asm.h".
55315         (PARMS): Do not use macros from bp-asm.h.
55316         (STR): Likewise.
55317         (STOP): Likewise.
55318         (strpbrk): Likewise.  Do not use BP_SYM.
55319         * sysdeps/i386/strrchr.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         (CHR): Likewise.
55324         (strrchr): Likewise.  Do not use BP_SYM.
55325         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55326         (PARMS): Do not use macros from bp-asm.h.
55327         (SKIP): Likewise.
55328         (strspn): Do not use BP_SYM.
55329         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55330         (PARMS): Do not use macros from bp-asm.h.
55331         (STR): Likewise.
55332         (DELIM): Likewise.
55333         (SAVE): Likewise.
55334         (FUNCTION): Likewise.  Do not use BP_SYM.
55335         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55336         aliases.
55337         (strtok_r): Likewise.
55338         (__GI___strtok_r): Likewise.
55339         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55340         (PARMS): Do not use macros from bp-asm.h.
55341         (S1): Likewise.
55342         (S2): Likewise.
55343         (SIZE): Likewise.
55344         (__mpn_sub_n): Do not use BP_SYM.
55345         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55346         "bp-asm.h".
55347         (PARMS): Do not use macros from bp-asm.h.
55348         (S1): Likewise.
55349         (SIZE): Likewise.
55350         (__mpn_submul_1): Do not use BP_SYM.
55351         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55352         <bp-sym.h>.
55353         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55354         and <bp-asm.h>.
55355         (PARMS): Do not use macros from bp-asm.h.
55356         (FLAGS): Likewise.
55357         (PTID): Likewise.
55358         (TLS): Likewise.
55359         (CTID): Likewise.
55360         (__clone): Do not use BP_SYM.
55361         (clone): Do not use BP_SYM in weak_alias.
55362         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55363         and <bp-asm.h>.
55364         (PARMS): Do not use macros from bp-asm.h.
55365         (LEN): Likewise.
55366         (__mmap64): Do not use BP_SYM.
55367         (mmap64): Do not use BP_SYM in weak_alias.
55368         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55369         <bp-sym.h> and <bp-asm.h>.
55370         (PARMS): Do not use macros from bp-asm.h.
55371         (__posix_fadvise64_l64): Do not use BP_SYM.
55372         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55373         (PARMS): Do not use macros from bp-asm.h.
55374         (NSOPS): Likewise.
55375         (semtimedop): Do not use BP_SYM.
55376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55377         and <bp-asm.h>.
55379 2013-02-21  Allan McRae  <allan@archlinux.org>
55381         * manual/message.texi (Charset conversion in gettext):
55382         Move @end statement to beginning of line.
55384 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55387         static.
55388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55389         Likewise.
55391         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55392         (denorm): Likewise.
55393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55396 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55398         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55399         tail-call to the resolved function if pltexit isn't needed.
55401 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55404         or Y being zero as being unlikely.
55405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55406         Likewise.
55408 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55410         * manual/nss.texi (System Databases and Name Service Switch):
55411         Remove frobnicate @pxref.
55413 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55415         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55416         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55418 2013-02-20  Petr Machata  <pmachata@redhat.com>
55420         * elf/elf.h (R_ARM_TARGET1): New macro.
55421         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55422         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55423         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55424         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55425         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55426         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55427         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55428         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55429         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55430         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55431         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55432         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55433         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55434         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55435         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55436         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55437         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55438         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55439         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55440         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55441         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55442         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55443         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55444         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55445         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55446         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55447         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55448         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55449         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55450         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55451         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55452         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55453         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55454         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55455         (R_ARM_THM_GOT_BREL12): Likewise.
55456         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55457         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55458         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55459         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55460         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55461         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55462         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55463         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55464         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55466 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55468         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55469         __attribute_used__ to __attribute__ ((unused)).
55471 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55473         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55474         powerpc mpa.c.
55475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55476         comment formatting.
55477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55479 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55481         [BZ #13550]
55482         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55483         Remove macro.
55484         (ENTER): Remove both macro definitions.
55485         (LEAVE): Likewise.
55486         (CHECK_BOUNDS_LOW): Likewise.
55487         (CHECK_BOUNDS_HIGH): Likewise.
55488         (CHECK_BOUNDS_BOTH): Likewise.
55489         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55490         (RETURN_BOUNDED_POINTER): Likewise.
55491         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55492         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55493         (POP_ERRNO_LOCATION_RETURN): Likewise.
55494         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55495         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55496         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55497         macros.
55498         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55499         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55500         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55501         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55502         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55503         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55504         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55505         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55506         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55507         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55508         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55509         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55510         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55511         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55512         removed macros.
55513         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55514         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55515         macros.
55516         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55517         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55518         * sysdeps/i386/i586/memset.S (memset): Likewise.
55519         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55520         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55521         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55522         macros.
55523         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55524         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55525         Change uses of L(2) to L(out).
55526         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55527         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55528         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55529         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55530         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55531         removed macros.
55532         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55533         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55534         macros.
55535         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55536         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55537         (RETURN): Do not use macro LEAVE.
55538         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55539         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55540         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55541         * sysdeps/i386/i686/memset.S (memset): Likewise.
55542         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55543         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55544         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55545         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55546         Likewise.
55547         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55548         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55549         L(1_2) and L(1_3) into L(1).
55550         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55551         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55552         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55553         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55554         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55555         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55556         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55557         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55558         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55559         macros.
55560         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55561         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55562         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55563         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55564         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55565         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55566         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55567         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55568         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55569         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55570         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55571         * sysdeps/i386/strspn.S (strspn): Likewise.
55572         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55573         conditional code.
55574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55575         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55576         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55577         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55578         L(1_3) into L(1_1).
55579         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55580         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55581         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55582         macros.
55583         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55585 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55587         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55588         macro.
55590 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55592         * math/atest-exp.c (exp_mpn): Remove ROUND.
55593         * math/atest-exp2.c (exp_mpn): Likewise.
55594         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55596         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55597         * stdlib/tst-tls-atexit-lib.c: Likewise.
55598         * stdlib/tst-tls-atexit.c: Likewise.
55600 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55602         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55603         and __attribute_alloc_size__.
55605 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55607         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55608         __attribute_alloc_size__.
55609         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55610         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55612 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55614         * include/programs/xmalloc.h: New file.
55615         * catgets/gencat.c: Include it.
55616         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55617         * elf/pldd.c: Likewise.
55618         * iconv/iconv_charmap.c: Likewise.
55619         * iconv/iconvconfig.c: Likewise.
55620         * iconv/strtab.c: Likewise.
55621         * locale/programs/locale.c: Likewise.
55622         * locale/programs/localedef.h: Likewise.
55623         * locale/programs/simple-hash.c: Likewise.
55624         * nscd/nscd.h: Likewise.
55625         * nss/makedb.c: Likewise.
55626         * sysdeps/generic/ldconfig.h: Likewise.
55628 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55630         * Versions.def: Add GLIBC_2.18.
55631         * include/link.h (struct link_map): New member l_tls_dtor_count.
55632         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55633         (__call_tls_dtors): Likewise.
55634         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55635         __cxa_thread_atexit_impl.
55636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55637         Likewise.
55638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55639         Likewise.
55640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55641         Likewise.
55642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55643         Likewise.
55644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55646         Likewise.
55647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55648         Likewise.
55649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55651         Likewise.
55652         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55653         (tests): Add test case tst-tls-atexit.
55654         (modules-names): Add shared library for tst-tls-atexit.
55655         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55656         (GLIBC_PRIVATE): Add __call_tls_dtors.
55657         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55658         for libstdc++.
55659         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55660         * stdlib/tst-tls-atexit.c: New test case.
55661         * stdlib/tst-tls-atexit-lib.c: New test case.
55663         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55665         * elf/Versions (ld): Add _dl_find_dso_for_object.
55666         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55667         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55668         (dl_open_worker): Use _dl_find_dso_for_object.
55669         * elf/dl-sym.c (do_sym): Likewise.
55670         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55672 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55674         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55675         Syntactic changes only.
55676         (_dl_runtime_profile): Do a tail-call to the resolved function.
55678 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55680         [BZ #13550]
55681         * sysdeps/x86_64/bp-asm.h: Remove file.
55682         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55683         <bp-sym.h> and <bp-asm.h>.
55684         (__clone): Do not use BP_SYM.
55685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55686         <bp-sym.h> and <bp-asm.h>.
55687         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55688         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55689         "bp-asm.h".
55690         (_setjmp): Do not use BP_SYM.
55691         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55692         "bp-asm.h".
55693         (setjmp): Do not use BP_SYM.
55694         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55695         libc_hidden_def.
55696         (mempcpy): Do not use BP_SYM in weak_alias.
55697         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55698         "bp-asm.h".
55699         (strchr): Do not use BP_SYM.
55700         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55701         "bp-asm.h".
55702         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55703         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55704         (_start): Do not use BP_SYM.
55705         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55706         "bp-asm.h".
55707         (strcat): Do not use BP_SYM.
55708         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55709         "bp-asm.h".
55710         (STRCMP): Do not use BP_SYM.
55711         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55712         "bp-asm.h".
55713         (STRCPY): Do not use BP_SYM.
55714         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55715         "bp-asm.h".
55716         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55717         "bp-asm.h".
55718         (FUNCTION): Do not use BP_SYM.
55719         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55720         weak_alias.
55721         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55723 2013-02-17  Andreas Jaeger  <aj@suse.de>
55725         * time/Versions: Sort entries.
55726         * string/Versions: Likewise.
55727         * resolv/Versions: Likewise.
55728         * posix/Versions: Likewise.
55729         * iconv/Versions: Likewise.
55730         * elf/Versions: Likewise.
55731         * wcsmbs/Versions: Likewise.
55733 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55735         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55736         loop termination condition.
55738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55739         variable to calculate EZ.
55740         (__sqr): Likewise.
55742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55743         the lower precision input.
55745 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55747         [BZ #13550]
55748         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55749         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55750         (run-via-rtld-prefix): Do not handle %-bp tests.
55751         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55752         (all-object-suffixes): Remove .ob.
55753         (bppfx): Remove variable.
55754         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55755         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55756         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55757         [$(build-bounded) = yes] (libtype.ob): Likewise.
55758         * Makerules (elide-routines.ob): Remove variable.
55759         (do-tests-clean): Do not handle *-bp.out.
55760         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55761         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55762         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55763         (tests): Do not include $(tests-bp.out).
55764         (xtests): Do not include $(xtests-bp.out).
55765         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55766         [$(build-bounded) = yes] ($(addprefix
55767         $(objpfx),$(binaries-bounded))): Remove rule.
55768         ($(objpfx)%-bp.out): Remove rule.
55769         * config.make.in (build-bounded): Remove variable.
55770         * crypt/Makefile [$(build-bounded) = yes]
55771         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55772         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55773         append to variable.
55774         [$(build-bounded) = yes] (install-lib): Likewise.
55775         [$(build-bounded) = yes] (generated): Likewise.
55776         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55777         Remove rule.
55778         * intl/Makefile [$(build-bounded) = yes]
55779         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55780         * math/Makefile [$(build-bounded) = yes]
55781         ($(tests:%=$(objpfx)%-bp): Likewise.
55782         * misc/Makefile [$(build-bounded) = yes]
55783         ($(objpfx)tst-tsearch-bp): Likewise.
55784         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55785         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55786         Remove dependency.
55787         * string/Makefile (o-objects.ob): Remove variable.
55788         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55789         (CFLAGS-.ob): Remove variable.
55790         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55791         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55792         both definitions of variable.
55793         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55794         (ASFLAGS-.ob): Remove variable.
55796 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55798         [BZ #13550]
55799         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55800         Remove __BOUNDED_POINTERS__ from condition.
55801         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55802         * string/bits/string2.h [!__NO_STRING_INLINES &&
55803         !__BOUNDED_POINTERS__]: Likewise.
55804         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55805         Likewise.
55806         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55807         Remove conditional code.
55808         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55809         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55810         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55811         condition.
55813         [BZ #13550]
55814         * csu/libc-start.c: Do not include <bp-sym.h>.
55815         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55816         * elf/dl-open.c: Do not include <bp-sym.h>.
55817         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55818         * math/fegetenv.c: Do not include <bp-sym.h>.
55819         (fegetenv): Do not use BP_SYM in versioned symbols.
55820         * nptl/sysdeps/pthread/bits/libc-lockP.h
55821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55822         <bp-sym.h>.
55823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55824         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55826         (__pthread_mutex_destroy): Likewise.
55827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55828         (__pthread_mutex_lock): Likewise.
55829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55830         (__pthread_mutex_trylock): Likewise.
55831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55832         (__pthread_mutex_unlock): Likewise.
55833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55834         (__pthread_mutexattr_init): Likewise.
55835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55836         (__pthread_mutexattr_destroy): Likewise.
55837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55838         (__pthread_mutexattr_settype): Likewise.
55839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55840         (__pthread_rwlock_init): Likewise.
55841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55842         (__pthread_rwlock_destroy): Likewise.
55843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55844         (__pthread_rwlock_rdlock): Likewise.
55845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55846         (__pthread_rwlock_tryrdlock): Likewise.
55847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55848         (__pthread_rwlock_wrlock): Likewise.
55849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55850         (__pthread_rwlock_trywrlock): Likewise.
55851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55852         (__pthread_rwlock_unlock): Likewise.
55853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55854         (__pthread_key_create): Likewise.
55855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55856         (__pthread_setspecific): Likewise.
55857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55858         (__pthread_getspecific): Likewise.
55859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55860         Likewise.
55861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55862         (_pthread_cleanup_push_defer): Likewise.
55863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55864         (_pthread_cleanup_pop_restore): Likewise.
55865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55866         (pthread_setcancelstate): Likewise.
55867         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55868         <bp-sym.h>.
55869         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55870         (memchr): Do not use BP_SYM in weak_alias.
55871         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55872         (fegetenv): Do not use BP_SYM in versioned symbols.
55873         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55874         (fesetenv): Do not use BP_SYM in versioned symbols.
55875         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55876         (feupdateenv): Do not use BP_SYM in versioned symbols.
55877         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55878         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55879         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55880         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55881         (open64): Do not use BP_SYM in weak_alias.
55882         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55883         (fegetenv): Do not use BP_SYM in versioned symbols.
55884         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55885         (fesetenv): Do not use BP_SYM in versioned symbols.
55886         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55887         (feupdateenv): Do not use BP_SYM in versioned symbols.
55888         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55889         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55890         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55891         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55892         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55893         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55894         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55895         <bp-sym.h>.
55896         (__libc_start_main): Do not use BP_SYM.
55898 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55901         redundant return line.
55902         (norm): Likewise.
55903         (denorm): Likewise.
55904         (dbl_mp): Likewise.
55905         (sub_magnitudes): Likewise.
55906         (__add): Likewise.
55907         (__sub): Likewise.
55908         (__mul): Likewise.
55909         (__inv): Likewise.
55910         (__dvd): Likewise.
55911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55912         (norm): Likewise.
55913         (denorm): Likewise.
55914         (dbl_mp): Likewise.
55915         (sub_magnitudes): Likewise.
55916         (__add): Likewise.
55917         (__sub): Likewise.
55918         (__mul): Likewise.
55919         (__inv): Likewise.
55920         (__dvd): Likewise.
55922         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55923         instead of __mul.
55924         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55925         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55926         (cc32): Likewise.
55928         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55929         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55931         of __mul for squares.
55932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55933         function
55934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55935         Likewise.
55936         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55937         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55939 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55941         [BZ #13550]
55942         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55943         code.
55944         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55945         prototype or function definition.  Rename ubp_* variables and
55946         parameters.  Remove argv definitions conditional on
55947         [__BOUNDED_POINTERS__].
55948         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55949         * elf/dl-runtime.c (_dl_fixup): Likewise.
55950         * include/set-hooks.h (RUN_HOOK): Likewise.
55951         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55952         definition.
55953         * string/strcpy.c (strcpy): Do not use __unbounded.
55954         * sysdeps/generic/frame.h (struct layout): Likewise.
55955         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55956         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55957         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55958         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55959         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55960         (__backtrace): Likewise.
55961         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55962         use __ptrvalue.
55963         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55964         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55965         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55966         Likewise.
55967         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55968         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55969         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55970         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55971         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55972         Do not use __unbounded.
55973         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55974         Rename __unboundedrlimits parameter to rlimits in prototype.
55975         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55976         Do not use __unbounded.
55977         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55978         not use __ptrvalue.
55979         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55980         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55981         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55982         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55983         __ptrvalue or __unbounded.
55984         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55985         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55986         use __unbounded.
55987         (__new_msgctl): Do not use __ptrvalue.
55988         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55989         __unbounded.
55990         (__libc_msgrcv): Do not use __ptrvalue.
55991         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55992         startup_info): Do not use __unbounded.
55993         (__libc_start_main): Likewise.  Rename ubp_* variables and
55994         parameters.  Remove argv definitions conditional on
55995         [__BOUNDED_POINTERS__].
55996         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55997         __ptrvalue.
55998         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55999         use __unbounded.
56000         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56001         or __ptrvalue.
56002         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56003         use __unbounded.
56004         (__new_shmctl): Do not use __ptrvalue.
56005         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56006         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56007         Likewise.
56008         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56009         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56010         (__libc_sigaction): Likewise.
56011         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56012         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56013         Likewise.
56014         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56016 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56018         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56020         * string/mempcpy.c: Implement by calling memcpy.
56022 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56024         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56027         evaluation.
56029         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56030         values in the mantissa.
56032         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56033         minimize writes to Z.
56034         (sub_magnitudes): Simplify code a bit.
56036 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56038         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56039         from the message.  The linker prefixes all warnings with that already.
56041 2013-02-12  Andreas Schwab  <schwab@suse.de>
56043         [BZ #15078]
56044         * posix/regexec.c (extend_buffers): Add parameter min_len.
56045         (check_matching): Pass minimum needed length.
56046         (clean_state_log_if_needed): Likewise.
56047         (get_subexp): Likewise.
56048         * posix/Makefile (tests): Add bug-regex34.
56049         (bug-regex34-ENV): Define.
56050         * posix/bug-regex34.c: New file.
56052         [BZ #11561]
56053         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56054         elements compare against the byte sequence of it, not its name.
56055         * posix/Makefile (tests): Add bug-regex35.
56056         (bug-regex35-ENV): Define.
56057         * posix/bug-regex35.c: New file.
56059 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56061         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56062         comment.
56063         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56064         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56065         (CHECK_EOL): Add undef.
56067 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56069         * bits/stdlib-bsearch.h: New file.
56070         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56071         * stdlib/stdlib.h: Likewise.
56073 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56075         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56076         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56077         declaration.
56078         * manual/search.texi (Array Search Function): Add missing const in
56079         lfind prototype.
56080         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56081         declaration to use rlim_t.
56082         (Basic Scheduling Functions): Remove erroneous const from
56083         sched_getparam prototype.  Remove erroneous * from
56084         sched_get_priority_max and sched_get_priority_min prototypes.
56085         (Resource Usage): Fix summary @comment on vtimes to refer to
56086         sys/vtimes.h rather than vtimes.h.
56087         Add missing *s in vtimes prototype.
56088         (Limits on Resources): Fix ulimit prototype to return long int.
56089         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56090         prototypes to use long int rather than double.
56091         (BSD Random): Fix initstate and setstate to use char *, not void *.
56092         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56093         prototype to make second argument 'struct aiocb64 *const[]'.
56094         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56095         (Status of AIO Operations): Remove erroneous const in aio_return and
56096         aio_return64 prototypes.
56097         (Synchronizing I/O): Fix sync prototype to return void.
56098         * manual/startup.texi (Suboptions): Remove an erroneous const in
56099         getsubopt prototype.
56100         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56101         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56102         use size_t rather than int.
56103         (Scanning All Users): Likewise for getpwent_r.
56104         (Setting Groups): Add missing const to setgroups prototype.
56105         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56106         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56107         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56108         'const void *' rather than 'const char *'.
56109         (Host Address Functions): Likewise for inet_ntop.
56110         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56111         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56112         ssize_t for return value.
56113         (Sending Data): Likewise for send, sendto, sendmsg.
56114         (Socket Option Functions): Add a missing const in setsockopt prototype.
56115         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56116         use wchar_t for the argument.
56117         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56118         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56119         take no arguments.
56120         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56121         double/float/long double for second argument.
56122         Fix return types of significand, significandf, significandl.
56123         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56124         argument in fchmod prototype.
56125         (File Owner): Use uid_t and gid_t in fchown prototype.
56126         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56127         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56128         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56129         use 'const struct dirent **' as argument types to CMP function pointer
56130         argument.
56131         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56132         (File Times): Fix summary magic @comment for struct utimbuf and utime
56133         to refer to utime.h, not time.h.
56134         * manual/string.texi (Argz Functions): Add missing const in
56135         argz_extract and argz_next prototypes.
56136         (Finding Tokens in a String): Likewise for basename.
56137         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56138         (Copying and Concatenation): Fix typo in wmemmove prototype.
56139         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56140         (Signal Stack): Remove erroneous const in sigstack prototype.
56141         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56142         prototype.
56143         (Simple Calendar Time): Likewise for stime.
56144         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56145         prototype.
56146         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56147         say sys/sysctl.h instead.
56148         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56149         and vsyslog prototypes.
56151 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56153         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56154         Remove.
56156 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56158         * misc/sys/mman.h: Fix typo in mremap comment.
56160 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56162         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56163         the '\0' terminator.
56165 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56167         [BZ #13550]
56168         * debug/segfault.c: Don't include <bp-checks.h>.
56169         * sysdeps/generic/bp-checks.h: Remove file.
56170         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56171         (__GETDENTS): Don't use CHECK_N.
56172         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56173         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56174         (__getgroups): Don't use CHECK_N.
56175         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56176         (setgroups): Don't use CHECK_N.
56177         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56178         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56179         (__libc_msgrcv): Don't use CHECK_N.
56180         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56181         (__libc_msgsnd): Don't use CHECK_N.
56182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56183         <bp-checks.h>.
56184         (__libc_pread): Don't use CHECK_N.
56185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56186         include <bp-checks.h>.
56187         (__libc_pread64): Don't use CHECK_N.
56188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56189         include <bp-checks.h>.
56190         (__libc_pwrite): Don't use CHECK_N.
56191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56192         include <bp-checks.h>.
56193         (__libc_pwrite64): Don't use CHECK_N.
56194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56195         <bp-checks.h>.
56196         (__libc_pread): Don't use CHECK_N.
56197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56198         include <bp-checks.h>.
56199         (__libc_pread64): Don't use CHECK_N.
56200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56201         include <bp-checks.h>.
56202         (__libc_pwrite): Don't use CHECK_N.
56203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56204         include <bp-checks.h>.
56205         (__libc_pwrite64): Don't use CHECK_N.
56206         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56207         (do_pread): Don't use CHECK_N.
56208         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56209         (do_pread64): Don't use CHECK_N.
56210         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56211         (do_pwrite): Don't use CHECK_N.
56212         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56213         (do_pwrite64): Don't use CHECK_N.
56214         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56215         (__libc_readv): Don't use CHECK_N.
56216         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56217         (semop): Don't use CHECK_N.
56218         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56219         <bp-checks.h>.
56220         (semtimedop): Don't use CHECK_N.
56221         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56222         (__libc_pread): Don't use CHECK_N.
56223         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56224         <bp-checks.h>.
56225         (__libc_pread64): Don't use CHECK_N.
56226         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56227         <bp-checks.h>.
56228         (__libc_pwrite): Don't use CHECK_N.
56229         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56230         <bp-checks.h>.
56231         (__libc_pwrite64): Don't use CHECK_N.
56232         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56233         <bp-checks.h>.
56234         (__libc_msgrcv): Don't use CHECK_N.
56235         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56236         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56237         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56238         (__libc_writev): Don't use CHECK_N.
56240 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56242         * string/strcpy.c: Removed unused variable.
56244         * Makeconfig (+sysdep-includes): Define with := rather than =.
56245         Use an existing include/ subdir of each sysdeps dir before it.
56247 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56249         * nscd/connection.c (register_traced_file): Comment function.
56250         [HAVE_INOTIFY] (union __inev): Define.
56251         [HAVE_INOTIFY] (inotify_check_files): New function.
56252         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56253         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56254         clear_db_cache.
56255         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56257 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56259         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56260         loaded if not already and that a failure is permanent.
56262 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56264         [BZ #15006]
56265         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56266         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56268 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56270         [BZ #13550]
56271         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56272         (CHECK_1_NULL_OK): Likewise.
56273         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56274         (__fxstat): Do not use CHECK_1.
56275         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56276         <bp-checks.h>.
56277         (___fxstat64): Do not use CHECK_1.
56278         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56279         <bp-checks.h>.
56280         (__fxstatat): Do not use CHECK_1.
56281         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56282         <bp-checks.h>.
56283         (__fxstatat64): Do not use CHECK_1.
56284         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56285         <bp-checks.h>.
56286         (__fxstat): Do not use CHECK_1.
56287         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56288         <bp-checks.h>.
56289         (__fxstatat): Do not use CHECK_1.
56290         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56291         <bp-checks.h>.
56292         (__getresgid): Do not use CHECK_1.
56293         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56294         <bp-checks.h>.
56295         (__getresuid): Do not use CHECK_1.
56296         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56297         <bp-checks.h>.
56298         (__lxstat): Do not use CHECK_1.
56299         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56300         <bp-checks.h>.
56301         (__old_msgctl): Do not use CHECK_1.
56302         (__new_msgctl): Likewise.
56303         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56304         <bp-checks.h>.
56305         (__new_setrlimit): Do not use CHECK_1.
56306         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56307         <bp-checks.h>.
56308         (__old_shmctl): Do not use CHECK_1.
56309         (__new_shmctl): Likewise.
56310         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56311         <bp-checks.h>.
56312         (__xstat): Do not use CHECK_1.
56313         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56314         (__lxstat): Do not use CHECK_1.
56315         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56316         <bp-checks.h>.
56317         (___lxstat64): Do not use CHECK_1.
56318         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56319         (__old_msgctl): Do not use CHECK_1.
56320         (__new_msgctl): Likewise.
56321         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56322         <bp-checks.h>.
56323         (__gettimeofday): Do not use CHECK_1.
56324         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56325         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56326         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56327         <bp-checks.h>.
56328         (__gettimeofday): Do not use CHECK_1.
56329         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56330         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56331         (__new_shmctl): Do not use CHECK_1.
56332         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56333         <bp-checks.h>.
56334         (do_sigtimedwait): Do not use CHECK_1.
56335         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56336         <bp-checks.h>.
56337         (do_sigwaitinfo): Do not use CHECK_1.
56338         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56339         <bp-checks.h>.
56340         (msgctl): Do not use CHECK_1.
56341         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56342         <bp-checks.h>.
56343         (shmctl): Do not use CHECK_1.
56344         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56345         (ustat): Do not use CHECK_1.
56346         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56347         <bp-checks.h>.
56348         (__fxstat): Do not use CHECK_1.
56349         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56350         <bp-checks.h>.
56351         (__fxstatat): Do not use CHECK_1.
56352         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56353         <bp-checks.h>.
56354         (__lxstat): Do not use CHECK_1.
56355         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56356         <bp-checks.h>.
56357         (__xstat): Do not use CHECK_1.
56358         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56359         (__xstat): Do not use CHECK_1.
56360         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56361         (___xstat64): Do not use CHECK_1.
56363         [BZ #13550]
56364         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56365         definitions.
56366         (CHECK_BOUNDS_HIGH): Likewise.
56367         * string/strcpy.c: Do not include <bp-checks.h>.
56368         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56370 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56372         * nscd/nscd-client.h (__nscd_drop_map_ref):
56373         Add __attribute__ ((unused)).
56374         * nis/nss-nisplus.h (niserr2nss): Likewise.
56376         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56377         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56379         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56380         Remove inline keyword.
56381         * include/rounding-mode.h (round_away): Likewise.
56382         * libio/wfileops.c (adjust_wide_data): Likewise.
56383         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56384         (__m128i_strloadu_tolower): Likewise.
56385         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56386         (__m128i_strloadu_tolower): Likewise.
56387         * time/mktime.c (ydhms_diff): Likewise.
56388         * locale/elem-hash.h (elem_hash): Likewise.
56389         * locale/setlocale.c (setdata): Likewise.
56390         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56391         (re_string_wchar_at): Likewise.
56392         (bitset_not, bitset_merge, bitset_mask): Likewise.
56393         [!(__GNUC__ > 3)] (inline): Remove macro.
56394         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56395         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56396         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56397         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56398         * string/memcmp.c (memcmp_bytes): Likewise.
56399         * locale/programs/locarchive.c (compute_hashval): Likewise.
56400         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56401         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56402         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56403         * nss/getent.c (print_rpc, print_protocols): Likewise.
56404         (print_passwd, print_group, print_aliases): Likewise.
56405         * nis/nss-nisplus.h (niserr2nss): Likewise.
56406         * nscd/connections.c (restart_p): Likewise.
56407         Change return type to bool.
56409 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56411         * Makeconfig (all-Depend-files): Add existing
56412         $(sorted-subdirs:=/Depend) files.
56413         (all-subdirs): Remove nss.
56414         * sysdeps/unix/inet/Subdirs: Add it here instead.
56415         * hesiod/Depend: New file.
56417         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56418         instead of calling alloca.
56420         * io/lseek.c (__lseek): Rename to __libc_lseek.
56421         Define __lseek as an alias.
56423         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56425 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56427         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56428         else clause and remove check for non-standard endianness.
56430 2013-02-04  David S. Miller  <davem@davemloft.net>
56432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56434 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56436         [BZ #13550]
56437         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56438         (__ubp_memchr): Remove prototype.
56439         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56440         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56441         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56442         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56443         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56444         Remove alias.
56445         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56446         (__ubp_memchr): Likewise.
56447         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56448         (__ubp_memchr): Likewise.
56449         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56450         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56451         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56452         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56453         CHECK_STRING.
56454         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56455         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56456         (__getcwd): Do not use CHECK_STRING.
56457         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56458         <bp-checks.h>.
56459         (__real_chown): Do not use CHECK_STRING.
56460         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56461         <bp-checks.h>.
56462         (fchownat): Do not use CHECK_STRING.
56463         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56464         CHECK_STRING.
56465         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56466         <bp-checks.h>.
56467         (__lchown): Do not use CHECK_STRING.
56468         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56469         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56470         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56471         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56473         include <bp-checks.h>.
56474         (truncate64): Do not use CHECK_STRING.
56475         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56476         <bp-checks.h>.
56477         (__real_chown): Do not use CHECK_STRING.
56478         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56479         <bp-checks.h>.
56480         (__lchown): Do not use CHECK_STRING.
56481         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56482         <bp-checks.h>.
56483         (__chown): Do not use CHECK_STRING.
56484         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56485         <bp-checks.h>.
56486         (truncate64): Do not use CHECK_STRING.
56487         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56488         Likewise.
56489         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56490         (__xmknod): Do not use CHECK_STRING.
56491         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56492         <bp-checks.h>.
56493         (__xmknodat): Do not use CHECK_STRING.
56494         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56495         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56497 2013-02-04  Andreas Schwab  <schwab@suse.de>
56499         [BZ #14142]
56500         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56501         * include/netdb.h: Likewise for h_errno.
56502         * elf/tst-stackguard1.c: Include <tls.h>.
56504 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56506         * elf/link.h (struct link_map): Extend the l_addr comment.
56507         * include/link.h (struct link_map): Likewise.
56509 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56511         [BZ #13550]
56512         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56513         (BOUNDED_1): Remove macro.
56514         * debug/backtrace.c: Don't include <bp-checks.h>.
56515         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56516         (__backtrace): Likewise.
56517         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56518         <bp-checks.h>.
56519         (__backtrace): Don't use BOUNDED_1.
56520         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56521         <bp-checks.h>.
56522         (__backtrace): Don't use BOUNDED_1.
56523         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56524         (__backtrace): Don't use BOUNDED_1.
56525         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56526         (shmat): Don't use BOUNDED_N.
56528 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56530         [BZ #13550]
56531         * sysdeps/generic/bp-start.h: Remove file.
56532         * csu/libc-start.c: Don't include <bp-start.h>.
56533         (LIBC_START_MAIN): Set up __environ directly instead of using
56534         INIT_ARGV_and_ENVIRON.
56535         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56536         <bp-start.h>.
56538         [BZ #13550]
56539         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56540         definitions.
56541         (CHECK_FCNTL): Likewise.
56542         (CHECK_N_PAGES): Likewise.
56544         [BZ #13550]
56545         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56546         definitions.
56547         (CHECK_SIGSET_NULL_OK): Likewise.
56548         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56549         <bp-checks.h>.
56550         (sigpending): Don't use CHECK_SIGSET.
56551         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56552         <bp-checks.h>.
56553         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56554         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56555         <bp-checks.h>.
56556         (do_sigsuspend): Don't use CHECK_SIGSET.
56557         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56558         use CHECK_SIGSET.
56559         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56560         (do_sigwait): Don't use CHECK_SIGSET.
56561         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56562         use CHECK_SIGSET.
56563         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56564         include <bp-checks.h>.
56565         (sigpending): Don't use CHECK_SIGSET.
56566         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56567         include <bp-checks.h>.
56568         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56569         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56570         <bp-checks.h>.
56571         (sigpending): Don't use CHECK_SIGSET.
56572         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56573         <bp-checks.h>.
56574         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56576         [BZ #13550]
56577         * sysdeps/generic/bp-semctl.h: Remove file.
56578         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56579         <bp-checks.h> and <bp-semctl.h>.
56580         (__old_semctl): Don't use CHECK_SEMCTL.
56581         (__new_semctl): Likewise.
56582         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56583         and <bp-semctl.h>.
56584         (__old_semctl): Don't use CHECK_SEMCTL.
56585         (__new_semctl): Likewise.
56586         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56587         <bp-checks.h> and <bp-semctl.h>.
56588         (__old_semctl): Don't use CHECK_SEMCTL.
56589         (__new_semctl): Likewise.
56590         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56591         <bp-checks.h> and <bp-semctl.h>.
56592         (semctl): Don't use CHECK_SEMCTL.
56594         [BZ #13550]
56595         * Makerules (elide-bp-thunks): Remove variable.
56596         (elide-routines.oS): Don't use $(elide-bp-thunks).
56597         (elide-routines.os): Likewise.
56598         (elide-routines.o): Likewise.
56599         (elide-routines.op): Likewise.
56600         (elide-routines.og): Likewise.
56601         (objects): Don't use $(bp-thunks).
56602         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56603         include.
56604         (common-generated): Do not add s-proto-bp.d.
56605         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56606         (int): Likewise.
56607         (typ): Likewise.
56608         Do not generate makefile rules for bounded-pointer thunks.
56609         * sysdeps/generic/bp-thunks.h: Remove file.
56610         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56611         * sysdeps/unix/s-proto-bp.S: Likewise.
56613         [BZ #15062]
56614         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56615         parts of result separately when argument is not close to line from
56616         -i to i and one part of argument is small.
56617         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56618         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56619         * math/libm-test.inc (cacos_test): Add more tests.
56620         (casin_test): Likewise.
56621         (casinh_test): Likewise.
56622         * sysdeps/i386/fpu/libm-test-ulps: Update.
56623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56625 2013-01-31  David S. Miller  <davem@davemloft.net>
56627         * po/de.po: Update from translation team.
56629 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56631         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56633 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56635         * configure.in (_AC_PROG_CC_C89): New definition.
56636         * configure: Regenerate.
56638         * configure.in (AC_PROG_CPP): New definition.
56639         * configure: Regenerate.
56641 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56643         * debug/tst-backtrace.h: New file.
56644         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56645         (ret): Remove variable.
56646         (x): Likewise.
56647         (FAIL): Remove macro.
56648         (NO_INLINE): Likewise.
56649         (fn1): Use match function instead of strstr.
56650         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56651         (ret): Remove variable.
56652         (x): Likewise.
56653         (FAIL): Remove macro.
56654         (NO_INLINE): Likewise.
56655         (fn): Use match function instead of strstr.
56656         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56657         (ret): Remove variable.
56658         (x): Likewise.
56659         (FAIL): Remove macro.
56660         (NO_INLINE): Likewise.
56661         (handle_signal): Use match function instead of strstr.
56662         * debug/tst-backtrace5.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.
56669 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56671         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56673 2013-01-23  David S. Miller  <davem@davemloft.net>
56675         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56676         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56677         argument of CAS if possible.
56678         * sysdeps/sparc/sparc64/bits/atomic.h
56679         (__arch_compare_and_exchange_val_32_acq): Likewise.
56680         (__arch_compare_and_exchange_val_64_acq): Likewise.
56682 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56684         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56685         * sysdeps/posix/ulimit.c: ... this.
56686         Include <limits.h>.
56687         * sysdeps/unix/bsd/ulimit.c: Remove file.
56689 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56691         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56692         (LDFLAGS-tst-array5): Likewise.
56694 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56696         [BZ #15036]
56697         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56698         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56699         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56700         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56702 2013-01-21  David S. Miller  <davem@davemloft.net>
56704         * sysdeps/sparc/backtrace.c: New file.
56705         * sysdeps/sparc/sparc32/backtrace.h: New file.
56706         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56707         * sysdeps/sparc/sparc64/backtrace.h: New file.
56708         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56709         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56710         -funwind-tables.
56712 2013-01-21  Andreas Schwab  <schwab@suse.de>
56714         [BZ #15020]
56715         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56716         closed its stdout.
56718 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56721         "mpa2.h".
56722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56724 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56725             Mark Mitchell  <mark@codesourcery.com>
56726             Tom de Vries  <tom@codesourcery.com>
56727             Paul Pluzhnikov  <ppluzhnikov@google.com>
56729         * debug/tst-backtrace2.c: New file.
56730         * debug/tst-backtrace3.c: Likewise.
56731         * debug/tst-backtrace4.c: Likewise.
56732         * debug/tst-backtrace5.c: Likewise.
56733         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56734         (CFLAGS-tst-backtrace3.c): Likewise.
56735         (CFLAGS-tst-backtrace4.c): Likewise.
56736         (CFLAGS-tst-backtrace5.c): Likewise.
56737         (LDFLAGS-tst-backtrace2): Likewise.
56738         (LDFLAGS-tst-backtrace3): Likewise.
56739         (LDFLAGS-tst-backtrace4): Likewise.
56740         (LDFLAGS-tst-backtrace5): Likewise.
56741         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56742         tst-backtrace4 and tst-backtrace5.
56744 2013-01-18  Anton Blanchard  <anton@samba.org>
56745             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56747         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56748         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56749         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56750         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56752         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56753         "+r" and remove output regs list as redundant.  Add explicit inline
56754         asm to specify register of return val to work around compiler codegen
56755         bug.  Remove (int) cast on return value.  Add return type parameter to
56756         use in macro so that this macro does not truncate return value for
56757         64-bit values.
56758         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56759         pass to INTERNAL_VSYSCALL_NCS.
56760         (INLINE_VSYSCALL): Add 'long int' as return type to
56761         INTERNAL_VSYSCALL_NCS macro invocation.
56762         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56763         INTERNAL_VSYSCALL_NCS macro invocation.
56764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56766 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56768         [BZ #14496]
56769         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56770         Fix application of SIMD FP exception mask.
56772         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56773         mp_no from a power of two.
56774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56775         __mpexp_twomm1.  Use __pow_mp.
56777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56778         multiplication.
56780 2013-01-17  David S. Miller  <davem@davemloft.net>
56782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56784 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56786         [BZ #15023]
56787         * include/complex.h: Condition contents on [!_COMPLEX_H].
56788         (__kernel_casinhf): New prototype.
56789         (__kernel_casinh): Likewise.
56790         (__kernel_casinhl): Likewise.
56791         * math/Makefile (libm_calls): Add k_casinh.
56792         * math/k_casinh.c: New file.
56793         * math/k_casinhf.c: Likewise.
56794         * math/k_casinhl.c: Likewise.
56795         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56796         finite nonzero arguments.
56797         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56798         finite nonzero arguments.
56799         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56800         finite nonzero arguments.
56801         * math/s_casinh.c: Do not include <float.h>.
56802         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56803         * math/s_casinhf.c: Do not include <float.h>.
56804         (__casinhf): Move code for finite nonzero arguments to
56805         k_casinhf.c.
56806         * math/s_casinhl.c: Do not include <float.h>.
56807         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56808         redefine.
56809         (__casinhl): Move code for finite nonzero arguments to
56810         k_casinhl.c.
56811         * math/libm-test.inc (cacos_test): Add more tests.
56812         * sysdeps/i386/fpu/libm-test-ulps: Update.
56813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56815 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56817         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56818         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56819         [!HAVE_MREMAP]: Remove [defined linux] case.
56820         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56822 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56824         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56826 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56828         * elf/elf.h (R_386_SIZE32): New relocation.
56829         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56830         R_386_SIZE32.
56831         (elf_machine_rela): Likewise.
56832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56833         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56835 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56837         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56838         (FP_FAST_FMA): Do not define.
56839         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56840         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56841         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56842         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56843         !_SOFT_FLOAT]: Likewise.
56844         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56845         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56846         value.
56847         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56848         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56850         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56851         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56852         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56853         file.
56855 2013-01-16  Andreas Schwab  <schwab@suse.de>
56857         [BZ #14327]
56858         * include/stdlib.h (__mktemp): Add declaration.
56859         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56860         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56862 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56864         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56865         definitions.
56866         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56867         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56868         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56869         definitions here.
56870         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56871         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56872         definitions.
56873         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56874         and ONE.
56875         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56876         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56878         definitions.
56879         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56880         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56881         definitions.
56882         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56884         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56886 2013-01-15  David S. Miller  <davem@davemloft.net>
56888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56889         trunc{,f} to libm-sysdep_routes.
56890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56892         file.
56893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56895         file.
56896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56897         file.
56898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56900         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56901         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56902         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56903         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56904         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56905         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56908         nearbyint{,f} to libm-sysdep_routes.
56909         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56911         New file.
56912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56913         file.
56914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56915         New file.
56916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56917         file.
56918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56920         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56921         file.
56922         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56923         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56924         file.
56925         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56926         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56927         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56929         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56930         libc_feholdexcept and libc_fesetenv.
56932 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56934         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56936 2013-01-14  David S. Miller  <davem@davemloft.net>
56938         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56939         (SPARC_ASM_VIS2_IFUNC): Likewise.
56940         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56942         use of 'siam' instruction.
56943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56944         Likewise.
56945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56946         Likewise.
56947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56948         Likewise.
56949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56954         file.
56955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56956         file.
56957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56958         file.
56959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56960         file.
56961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56966         new VIS2 routines.
56967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56970         Likewise.
56971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56976         routines to libm-sysdep_routines.
56977         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56980         fdim/fdimf to libm-sysdep_routines.
56981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56982         file.
56983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56985         file.
56986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56989         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56990         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56991         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56992         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56994 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56996         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56997         to optimize copies.
56999         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57004         local variable MPTWO.
57005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57006         Likewise.
57008 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57010         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57011         GLOB_NOESCAPE.
57013 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57015         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57017 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57019         * manual/pattern.texi (glob_t): Document gl_flags.
57020         (glob64_t): Likewise.
57022 2013-01-11  David S. Miller  <davem@davemloft.net>
57024         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57025         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57026         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57027         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57028         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57029         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57030         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57031         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57032         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57033         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57034         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57035         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57036         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57038         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57039         sparc V9 rather than using V8 code.
57040         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57041         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57043         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57044         Move to...
57045         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57046         Here.
57048 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57050         [BZ #14941]
57051         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57052         not in the main loop.
57053         * configure: Regenerated.
57055 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57057         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57058         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57059         to just #else.
57060         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57061         [!__GLIBC_HAVE_LONG_LONG] case.
57062         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57063         condition to just #else.
57064         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57065         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57066         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57067         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57068         unconditional.
57069         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57070         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57071         #elif condition to just #else.
57072         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57073         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57074         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57075         #elif condition to just #else.
57077 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57079         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57080         (EF_MIPS_ARCH_64): Fix value.
57081         (EF_MIPS_ARCH_32R2): New.
57082         (EF_MIPS_ARCH_64R2): New.
57084 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57086         * Makeconfig (+link-pie-before-libc): New.
57087         (+link-pie-after-libc): Likewise.
57088         (+link-pie-tests): Likewise.
57089         (+link-pie): Rewritten.
57090         (link-before-libc): Remove $(config-LDFLAGS).
57091         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57092         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57093         (config-LDFLAGS): Renamed to ...
57094         (rtld-LDFLAGS): This.
57095         (rtld-tests-LDFLAGS): New macro.
57096         (link-libc-rpath-link): Likewise.
57097         (link-libc-tests-rpath-link): Likewise.
57098         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57099         (link-libc): Prepand $(link-libc-rpath-link).
57100         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57101         (test-program-prefix): New macro.
57102         (test-via-rtld-prefix): Likewise.
57103         (test-program-cmd): Likewise.
57104         (host-test-program-cmd): Likewise.
57105         * Makefile ($(common-objpfx)testrun.sh): Replace
57106         $(run-program-prefix) with $(test-program-prefix).
57107         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57108         $(rtld-LDFLAGS).
57109         ($(common-objpfx)shlib.lds): Likewise.
57110         (build-module-helper): Likewise.
57111         ($(common-objpfx)format.lds): Likewise.
57112         * Rules (binaries-pie-tests): New.
57113         (binaries-pie-notests): Likewise.
57114         (binaries-pie): Rewritten.
57115         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57116         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57117         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57118         (make-test-out): Replace $(host-built-program-cmd) with
57119         $(host-test-program-cmd).
57120         * config.make.in (build-hardcoded-path-in-tests): New variable.
57121         * configure.in (--enable-hardcoded-path-in-tests): New configure
57122         option.
57123         (hardcoded_path_in_tests): New AC_SUBST.
57124         * configure: Regenerated.
57125         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57126         $(built-program-cmd) with $(test-program-cmd).
57127         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57128         (test_program_cmd): This.
57129         * elf/Makefile ($(objpfx)order.out): Run test with
57130         $(test-program-prefix).
57131         ($(objpfx)order2.out): Likewise.
57132         ($(objpfx)tst-initorder.out): Likewise.
57133         ($(objpfx)tst-initorder2.out): Likewise.
57134         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57135         $(test-program-cmd).
57136         ($(objpfx)tst-array1-static.out): Likewise.
57137         ($(objpfx)tst-array2.out): Likewise.
57138         ($(objpfx)tst-array3.out): Likewise.
57139         ($(objpfx)tst-array4.out): Likewise.
57140         ($(objpfx)tst-array5.out): Likewise.
57141         ($(objpfx)tst-array5-static.out): Likewise.
57142         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57143         $(test-program-cmd).
57144         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57145         $(run-program-prefix) with $(test-program-prefix).
57146         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57147         (test_program_prefix): This.
57148         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57149         $(run-program-prefix) with $(test-program-prefix).
57150         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57151         (test_program_prefix): This.
57152         * iconvdata/tst-tables.sh: Likewise.
57153         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57154         $(run-program-prefix) with $(test-program-prefix).
57155         ($(objpfx)tst-translit.out): Likewise.
57156         ($(objpfx)tst-gettext2.out): Likewise.
57157         ($(objpfx)tst-gettext4.out): Likewise.
57158         ($(objpfx)tst-gettext6.out): Likewise.
57159         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57160         (test_program_prefix): This.
57161         * intl/tst-gettext2.sh: Likewise.
57162         * intl/tst-gettext4.sh  Likewise.
57163         * intl/tst-gettext6.sh: Likewise.
57164         * intl/tst-translit.sh: Likewise.
57165         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57166         with $(test-program-cmd).
57167         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57168         $(run-program-prefix) with $(test-program-prefix).
57169         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57170         (test_program_prefix): This.
57171         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57172         $(run-program-prefix) with $(test-program-prefix).
57173         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57174         (test_program_prefix): This.
57175         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57176         * posix/Makefile ($(objpfx)globtest.out): Replace
57177         $(run-via-rtld-prefix) and $(test-wrapper) with
57178         $(test-program-prefix) and $(test-via-rtld-prefix).
57179         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57180         $(test-program-prefix).
57181         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57182         $(host-test-program-cmd).
57183         (tst-spawn-ARGS): Likewise.
57184         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57185         $(test-program-prefix).
57186         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57187         (test_via_rtld_prefix): This.
57188         (test_wrapper): Renamed to ...
57189         (test_program_prefix): This.
57190         (run_program_prefix): Replaced by test_program_prefix.
57191         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57192         (test_program_prefix): This.
57193         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57194         with $(host-test-program-cmd).
57195         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57196         $(run-program-prefix) with $(test-program-prefix).
57197         ($(objpfx)tst-printf.out): Likewise.
57198         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57199         $(test-program-cmd).
57200         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57201         (test_program_prefix): This.
57202         * stdio-common/tst-unbputc.sh: Likewise.
57203         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57204         $(run-program-prefix) with $(test-program-prefix).
57205         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57206         (test_program_prefix): This.
57207         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57208         $(built-program-cmd) with $(test-program-cmd).
57210 2013-01-11  Andreas Jaeger  <aj@suse.de>
57212         [BZ #15003]
57213         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57214         value. Sync with Linux 3.7.
57216 2013-01-10  David S. Miller  <davem@davemloft.net>
57218         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57219         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57220         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57222 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57224         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57225         never set.
57226         * configure: Regenerated.
57228 2013-01-10  David S. Miller  <davem@davemloft.net>
57230         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57231         sparc V9 rather than using V8 code.
57232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57235 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57237         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57238         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57239         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57240         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57241         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57242         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57243         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57244         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57245         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57246         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57247         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57248         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57249         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57250         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57251         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57252         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57253         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57254         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57255         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57256         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57257         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57258         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57259         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57260         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57261         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57262         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57263         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57265 2013-01-10  David S. Miller  <davem@davemloft.net>
57267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57269 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57271         * posix/Makefile (tests-static): New variable.
57272         (tests): Add $(tests-static).
57273         (tst-exec-static-ARGS): New variable.
57274         (tst-spawn-static-ARGS): Likewise.
57275         * posix/tst-exec-static.c: New file.
57276         * posix/tst-spawn-static.c: Likewise.
57277         * posix/tst-exec.c: Support run directly.
57278         * posix/tst-spawn.c: Likewise.
57280 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57282         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57283         long.
57284         * math/bits/mathcalls.h (llrint): Likewise.
57285         (llround): Likewise.
57286         * stdlib/stdlib.h (struct drand48_data): Likewise.
57287         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57288         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57289         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57290         Likewise.
57291         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57292         Likewise.
57293         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57294         (elf_greg_t): Likewise.
57295         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57296         (__jmp_buf): Likewise.
57297         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57298         definitions.
57299         (llrint): Likewise, for all definitions.
57300         (llrintl): Likewise.
57302         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57303         Remove [__GNUC__] condition.
57304         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57305         condition to just [__USE_ISOC99].
57306         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57308 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57310         [BZ #14200]
57311         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57312         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57313         defined.
57314         (_POSIX_V6_ILP32_OFF32): Likewise.
57315         (_XBS5_ILP32_OFF32): Likewise.
57316         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57317         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57319 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57321         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57324         doubles __mpexp_twomm1.  Adjust usage.
57325         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57326         Remove.
57328 2013-01-10  Andreas Schwab  <schwab@suse.de>
57330         [BZ #14964]
57331         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57332         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57334 2013-01-09  David S. Miller  <davem@davemloft.net>
57336         [BZ #15003]
57337         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57338         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57339         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57340         (TCP_FASTOPEN): Define.
57341         (tcp_repair_opt): New structure.
57342         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57343         enum values.
57344         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57345         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57346         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57347         (tcp_cookie_transactions): New structure.
57349 2013-01-09  Anton Blanchard  <anton@samba.org>
57351         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57352         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57353         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57354         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57356 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57358         * include/features.h (__USE_ANSI): Remove.
57360 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57362         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57364         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57366 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57368         * sysdeps/s390/fpu/libm-test-ulps: Update.
57370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57372         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57373         (__acr): Likewise.
57374         (__cpy): Likewise.
57375         (norm): Likewise.
57376         (denorm): Likewise.
57377         (__mp_dbl): Likewise.
57378         (__dbl_mp): Likewise.
57379         (add_magnitudes): Likewise.
57380         (sub_magnitudes): Likewise.
57381         (__add): Likewise.
57382         (__sub): Likewise.
57383         (__mul): Likewise.
57384         (__inv): Likewise.
57385         (__dvd): Likewise.
57386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57387         (__acr): Likewise.
57388         (__cpy): Likewise.
57389         (norm): Likewise.
57390         (denorm): Likewise.
57391         (__mp_dbl): Likewise.
57392         (__dbl_mp): Likewise.
57393         (add_magnitudes): Likewise.
57394         (sub_magnitudes): Likewise.
57395         (__add): Likewise.
57396         (__sub): Likewise.
57397         (__mul): Likewise.
57398         (__inv): Likewise.
57399         (__dvd): Likewise.
57400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57401         (__acr): Likewise.
57402         (__cpy): Likewise.
57403         (norm): Likewise.
57404         (denorm): Likewise.
57405         (__mp_dbl): Likewise.
57406         (__dbl_mp): Likewise.
57407         (add_magnitudes): Likewise.
57408         (sub_magnitudes): Likewise.
57409         (__add): Likewise.
57410         (__sub): Likewise.
57411         (__mul): Likewise.
57412         (__inv): Likewise.
57413         (__dvd): Likewise.
57415 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57417         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57418         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57419         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57420         2 && __USE_EXTERN_INLINES]: Likewise.
57422 2013-01-08  Andreas Jaeger  <aj@suse.de>
57424         [BZ# 14985]
57425         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57426         Remove.
57427         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57428         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57430 2013-01-07  Anton Blanchard  <anton@samba.org>
57432         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57433         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57434         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57435         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57436         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57437         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57438         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57439         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57441         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57442         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57443         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57444         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57445         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57446         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57447         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57448         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57449         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57450         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57451         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57452         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57453         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57454         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57455         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57456         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57457         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57458         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57459         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57460         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57461         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57462         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57464         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57465         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57467         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57468         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57469         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57470         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57471         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57472         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57473         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57474         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57476 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57478         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57479         (__MALLOC_PMT): Likewise.
57480         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57481         [__GNUC__], only on [_LIBC].
57482         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57483         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57484         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57485         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57486         forward declaration.
57487         (realloc_hook_ini): Likewise.
57488         (memalign_hook_ini): Likewise.
57489         (__libc_memalign): Do not use __MALLOC_PMT in variable
57490         declaration.
57491         (__libc_valloc): Likewise.
57492         (__libc_pvalloc): Likewise.
57493         (__libc_calloc): Likewise.
57494         (__posix_memalign): Likewise.
57496         [BZ #14996]
57497         * math/s_casinh.c: Include <float.h>.
57498         (__casinh): Do not do computation with squaring and square root
57499         for large arguments.
57500         * math/s_casinhf.c: Include <float.h>.
57501         (__casinhf): Do not do computation with squaring and square root
57502         for large arguments.
57503         * math/s_casinhl.c: Include <float.h>.
57504         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57505         (__casinhl): Do not do computation with squaring and square root
57506         for large arguments.
57507         * math/libm-test.inc (casin_test): Add more tests.
57508         (casinh_test): Likewise.
57509         * sysdeps/i386/fpu/libm-test-ulps: Update.
57510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57512 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57514         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57515         (__x86_64_raw_data_cache_size): Likewise.
57516         (__x86_64_data_cache_size_half): Likewise.
57517         (__x86_64_raw_data_cache_size_half): Likewise.
57518         (__x86_64_shared_cache_size): Likewise.
57519         (__x86_64_raw_shared_cache_size): Likewise.
57520         (__x86_64_shared_cache_size_half): Likewise.
57521         (__x86_64_raw_shared_cache_size_half): Likewise.
57522         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57523         to ...
57524         (__x86_data_cache_size): This.
57525         (__x86_64_raw_data_cache_size): Renamed to ...
57526         (__x86_raw_data_cache_size): This.
57527         (__x86_64_data_cache_size_half): Renamed to ...
57528         (__x86_data_cache_size_half): This.
57529         (__x86_64_raw_data_cache_size_half): Renamed to ...
57530         (__x86_raw_data_cache_size_half): This.
57531         (__x86_64_shared_cache_size): Renamed to ...
57532         (__x86_shared_cache_size): This.
57533         (__x86_64_raw_shared_cache_size): Renamed to ...
57534         (__x86_raw_shared_cache_size): This.
57535         (__x86_64_shared_cache_size_half): Renamed to ...
57536         (__x86_shared_cache_size_half): This.
57537         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57538         (__x86_raw_shared_cache_size_half): This.
57539         * sysdeps/x86_64/memcpy.S: Updated.
57540         * sysdeps/x86_64/memset.S: Likewise.
57541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57542         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57545 2013-01-04  David S. Miller  <davem@davemloft.net>
57547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57549 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57551         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57552         1 to avoid redefinition warning.
57553         (__USE_GNU): Don't define.
57554         (init_signaling_nan): Protoize.
57556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57558 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57560         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57562         (__cpymn): Likewise.
57563         (norm): Remove commented code.
57564         (denorm): Likewise.
57565         (__mp_dbl): Likewise.
57566         (__inv): Likewise.
57567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57568         (__cpymn): Likewise.
57569         (norm): Remove commented code.
57570         (denorm): Likewise.
57571         (__mp_dbl): Likewise.
57572         (__inv): Likewise.
57574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57575         mp_no value for 1.0 and 2.0.
57576         (norm): Use RADIXI instead of radixi.d.
57577         (denorm): Likewise.
57578         (__mul): Use 0.0 instead of zero.d.
57579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57580         mp_no value for 1.0 and 2.0.
57581         (norm): Use RADIXI instead of radixi.d.
57582         (denorm): Likewise.
57583         (__mul): Use 0.0 instead of zero.d.
57585 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57587         [BZ #14994]
57588         * math/s_casinh.c (__casinh): Reduce finite argument to first
57589         quadrant then set signs of results at the end.
57590         * math/s_casinhf.c (__casinhf): Likewise.
57591         * math/s_casinhl.c (__casinhl): Likewise.
57592         * math/libm-test.inc (casin_test): Add more tests.
57593         (casinh_test): Likewise.
57594         * sysdeps/i386/fpu/libm-test-ulps: Update.
57595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57597 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57599         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57601         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57603         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57604         declarations.
57605         (denorm): Likewise.
57606         (__mp_dbl): Likewise.
57607         (__inv): Likewise.
57609         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57610         and adjust the header comment.
57612         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57613         variable name from declaration.
57615 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57618         Initialize COMMON_CPUID_INDEX_7 element.
57619         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57620         (CPUID_RTM): Likewise.
57621         (HAS_RTM): Likewise.
57622         (COMMON_CPUID_INDEX_7): New enum.
57624 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57626         [BZ #14981]
57627         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57628         size is zero, record memory as freed.
57630 2013-01-03  Andreas Jaeger  <aj@suse.de>
57632         * po/ia.po: Add new Interlingua translation.
57634 2012-01-03  Allan McRae  <allan@archlinux.org>
57636         * locale/programs/localedef.c: Fix description of '--posix' flag.
57638 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57640         * NEWS: Update dates in second copyright notice.
57641         * README: Update copyright dates in example.
57642         * manual/libc.texinfo: Update copyright dates.
57643         * scripts/test-installation.pl: Update copyright date in --version
57644         output.
57646         * hurd/ctty-input.c: Fix copyright notice formatting.
57647         * hurd/ctty-output.c: Likewise.
57648         * hurd/dtable.c: Likewise.
57649         * hurd/hurd-raise.c: Likewise.
57650         * hurd/hurdprio.c: Likewise.
57651         * hurd/msgportdemux.c: Likewise.
57652         * misc/sys/file.h: Likewise.
57653         * misc/sys/ioctl.h: Likewise.
57654         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57655         * sysdeps/mach/hurd/chdir.c: Likewise.
57656         * sysdeps/mach/hurd/fchdir.c: Likewise.
57657         * sysdeps/mach/hurd/rename.c: Likewise.
57658         * sysdeps/mach/hurd/rmdir.c: Likewise.
57659         * sysdeps/mach/hurd/seekdir.c: Likewise.
57660         * sysdeps/mach/hurd/setsid.c: Likewise.
57661         * sysdeps/posix/wait3.c: Likewise.
57663         * All files with FSF copyright notices: Update copyright dates
57664         using scripts/update-copyrights.
57665         * intl/plural.c: Regenerated.
57666         * locale/programs/charmap-kw.h: Likewise.
57667         * locale/programs/locfile-kw.h: Likewise.
57669 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57671         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57672         four values.
57674         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57675         calculation loop and add branch prediction.
57677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57678         check access beyond bounds of m1np.
57680         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57681         MPTWO.
57682         (__inv): Remove local variable MPTWO to use the global
57683         constant.
57684         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57686         variable MPTWO.
57687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57688         MP3HALFS static const.
57690 2013-01-01  David S. Miller  <davem@davemloft.net>
57692         * po/ca.po: Update from translation team.
57694 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57696         * scripts/update-copyrights: New file.
57697         * Makeconfig: Reformat copyright notice.
57698         * ctype/ctype.h: Likewise.
57699         * debug/swprintf_chk.c: Likewise.
57700         * elf/dl-cache.c: Likewise.
57701         * elf/dl-debug.c: Likewise.
57702         * elf/dl-object.c: Likewise.
57703         * grp/initgroups.c: Likewise.
57704         * hurd/Makefile: Likewise.
57705         * hurd/hurd/signal.h: Likewise.
57706         * hurd/hurdfault.c: Likewise.
57707         * hurd/hurdioctl.c: Likewise.
57708         * hurd/hurdlookup.c: Likewise.
57709         * hurd/intr-msg.c: Likewise.
57710         * iconv/gconv_open.c: Likewise.
57711         * libio/swprintf.c: Likewise.
57712         * locale/lc-ctype.c: Likewise.
57713         * locale/nl_langinfo.c: Likewise.
57714         * mach/Machrules: Likewise.
57715         * mach/Makefile: Likewise.
57716         * malloc/obstack.h: Likewise.
57717         * manual/Makefile: Likewise.
57718         * manual/tsort.awk: Likewise.
57719         * misc/bits/stab.def: Likewise.
57720         * nis/nis_print_group_entry.c: Likewise.
57721         * nis/nis_table.c: Likewise.
57722         * nis/nss_compat/compat-pwd.c: Likewise.
57723         * nis/nss_compat/compat-spwd.c: Likewise.
57724         * po/Makefile: Likewise.
57725         * posix/fnmatch.c: Likewise.
57726         * posix/regex.h: Likewise.
57727         * resolv/Makefile: Likewise.
57728         * resolv/nss_dns/dns-network.c: Likewise.
57729         * resolv/res_hconf.c: Likewise.
57730         * scripts/gen-sorted.awk: Likewise.
57731         * soft-fp/soft-fp.h: Likewise.
57732         * stdio-common/printf.h: Likewise.
57733         * stdlib/monetary.h: Likewise.
57734         * stdlib/random.c: Likewise.
57735         * stdlib/random_r.c: Likewise.
57736         * sysdeps/generic/Makefile: Likewise.
57737         * sysdeps/gnu/Makefile: Likewise.
57738         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57742         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57745         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57748         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57749         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57750         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57751         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57752         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57755         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57756         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57758         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57761         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57762         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57763         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57764         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57765         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57766         * sysdeps/mach/hurd/errnos.awk: Likewise.
57767         * sysdeps/mach/hurd/fork.c: Likewise.
57768         * sysdeps/mach/hurd/getcwd.c: Likewise.
57769         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57770         * sysdeps/mach/hurd/mmap.c: Likewise.
57771         * sysdeps/mach/hurd/utimes.c: Likewise.
57772         * sysdeps/mach/hurd/xmknod.c: Likewise.
57773         * sysdeps/posix/profil.c: Likewise.
57774         * sysdeps/posix/readdir_r.c: Likewise.
57775         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57776         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57777         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57778         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57780         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57781         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57782         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57784         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57786         * sysdeps/pthread/lio_listio.c: Likewise.
57787         * sysdeps/sparc/dl-procinfo.h: Likewise.
57788         * sysdeps/unix/i386/sysdep.S: Likewise.
57789         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57790         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57791         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57792         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57794         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57795         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57796         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57797         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57798         * sysdeps/wordsize-32/divdi3.c: Likewise.
57799         * time/sys/time.h: Likewise.
57800         * wcsmbs/Makefile: Likewise.
57802 2013-01-01  David S. Miller  <davem@davemloft.net>
57804         * po/fr.po: Update from translation team.
57806         * catgets/gencat.c: Update copyright year.
57807         * csu/version.c: Likewise.
57808         * debug/catchsegv.sh: Likewise.
57809         * debug/pcprofiledump.c: Likewise.
57810         * debug/xtrace.sh: Likewise.
57811         * elf/ldconfig.c: Likewise.
57812         * elf/ldd.bash.in: Likewise.
57813         * elf/pldd.c: Likewise.
57814         * elf/sotruss.ksh: Likewise.
57815         * elf/sprof.c: Likewise.
57816         * iconv/iconv_prog.c: Likewise.
57817         * iconv/iconvconfig.c: Likewise.
57818         * locale/programs/locale.c: Likewise.
57819         * locale/programs/localedef.c: Likewise.
57820         * login/programs/pt_chown.c: Likewise.
57821         * malloc/memusage.sh: Likewise.
57822         * malloc/memusagestat.c: Likewise.
57823         * malloc/mtrace.pl: Likewise.
57824         * nscd/nscd.c: Likewise.
57825         * nss/getent.c: Likewise.
57826         * nss/makedb.c: Likewise.
57827         * posix/getconf.c: Likewise.
57829 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57831         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57832         numbers.
57834 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57836         * math/bits/mathcalls.h (modf): Use __nonnull.
57838 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57840         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57841         (split): Use macro CN instead of the bare value.
57842         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57843         could be used.
57844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57845         instead of the bare value.
57846         (power1): Likewise.
57848 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57851         __ATAN_TWOM.
57852         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57854         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57855         their values.
57856         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57858         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57859         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57861 2012-12-28  Andreas Jaeger  <aj@suse.de>
57863         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57864         values are from Linux 3.7.
57866         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57867         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57869 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57871         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57872         TRUE case.
57874         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57875         (norm): Likewise.
57876         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57877         variables with preprocessor constants.
57878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57879         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57880         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57882 2012-12-27  Bruno Haible  <bruno@clisp.org>
57884         [BZ #14317]
57885         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57886         only if needed.
57888 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57891         and use variable directly.
57892         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57894         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57895         MPONE.
57896         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57897         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57898         variable MPONE.
57899         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57900         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57901         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57902         include directive.  Remove local variable MPONE.
57903         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57904         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57905         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57907 2012-12-25  David S. Miller  <davem@davemloft.net>
57909         * version.h (RELEASE): Set to "development".
57910         (VERSION): Set to "2.17.90".
57911         * NEWS: Add 2.18 section.
57913 2012-12-21  David S. Miller  <davem@davemloft.net>
57915         * po/hr.po: Update from translation team.
57917 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57919         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57921 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57923         * NEWS:  Mention new memcpy for MIPS.
57925 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57927         * manual/contrib.texi (Contributors): Spelling correction.
57929 2012-12-15  David S. Miller  <davem@davemloft.net>
57931         * po/ru.po: Update from translation team.
57933 2012-12-13  David S. Miller  <davem@davemloft.net>
57935         * NEWS: Mention IFUNC testsuite enhancements.
57937         * po/pl.po: Update from translation team.
57938         * po/bg.po: Likewise.
57940         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57941         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57943 2012-12-11  David S. Miller  <davem@davemloft.net>
57945         * po/sv.po: Update from translation team.
57947         * po/vi.po: Update from translation team.
57949         * po/cs.po: Update from translation team.
57951         * po/de.po: Update from translation team.
57952         * po/eo.po: Likewise.
57953         * po/nl.po: Likewise.
57955 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57957         [BZ #14246]
57958         * manual/argp.texi (Argp Helper Functions): Move node to follow
57959         Argp Parsing State.
57961         [BZ #14872]
57962         * manual/conf.texi (Limits on File System Capacity): Mention if
57963         terminating null is included in the max size.
57965 2012-12-10  Andreas Jaeger  <aj@suse.de>
57967         * po/cs.po: Update from translation team.
57969 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57971         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57972         void pointer and cast to uintptr_t.
57973         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57974         path.
57975         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57976         * sysdeps/s390/s390-64/memset.S: Likewise.
57978 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57980         [BZ #14833]
57981         * menual/message.texi (Message Translation): Fix typos.
57982         (Helper programs for gettext): Likewise.
57984 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57986         [BZ #14898]
57987         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57988         Change to -1.
57990 2012-12-07  David S. Miller  <davem@davemloft.net>
57992         * po/libc.pot: Update.
57994 2012-12-07  Richard Henderson  <rth@redhat.com>
57996         [BZ #10114]
57997         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57998         normal/normal case to before the switch.
57999         (_FP_DIV): Likewise.
58001 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58002             Mike Frysinger  <vapier@gentoo.org>
58004         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58005         check for __NR_fadvise64_64.
58007 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58009         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58010         0, not just to plain "0" as a statement.
58011         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58012         with cw.
58014 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58016         * NEWS: Use sourceware.org in Bugzilla URL.
58018 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58021         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58023         * stdio-common/tst-put-error.c (do_test): Add newline to the
58024         padded test to ensure flush.
58026 2012-12-05  Jeff Law  <law@redhat.com>
58028         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58030 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58032         * README: Don't refer to ports add-on as distributed separately.
58033         Mention AArch64 in list of systems supported in the ports add-on.
58035         * LICENSES: Add more non-FSF copyright and license notices.
58037         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58038         ((unused)).
58040         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58042         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58043         10000 as width of padded output.
58045 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58047         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58049         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58050         variable LX with __attribute__ ((unused)).
58051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58052         Likewise.
58053         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58055         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58056         with __attribute__ ((unused)).
58058 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58060         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58062 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58064         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58065         (CFLAGS-nldbl-acos.c): New variable.
58066         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58067         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58068         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58069         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58070         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58071         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58072         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58073         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58074         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58075         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58076         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58077         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58078         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58079         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58080         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58081         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58082         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58083         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58084         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58085         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58086         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58087         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58088         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58089         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58090         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58091         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58092         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58093         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58094         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58095         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58096         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58097         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58098         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58099         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58100         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58101         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58102         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58103         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58104         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58105         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58106         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58107         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58108         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58109         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58110         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58111         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58112         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58113         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58114         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58115         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58116         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58117         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58118         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58119         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58120         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58121         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58122         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58123         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58124         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58125         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58126         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58127         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58128         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58129         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58130         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58131         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58132         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58133         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58134         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58135         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58136         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58137         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58138         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58139         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58140         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58141         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58142         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58143         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58144         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58145         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58146         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58147         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58148         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58149         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58150         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58151         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58152         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58153         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58154         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58155         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58156         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58157         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58158         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58159         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58160         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58161         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58162         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58165         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58167         [BZ #14914]
58168         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58169         whole low double instead of just low 47 bits when splitting values
58170         into two parts.
58172 2012-12-03  Allan McRae  <allan@archlinux.org>
58174         * manual/stdio.texi (Predefined Printf Handlers): Remove
58175         @hsep and @vsep usage.
58177 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58179         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58180         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58182 2012-12-03  Jeff Law  <law@redhat.com>
58184         * time/sys/time.h (settimeofday): Do not mark TV argument
58185         as __nonnull.
58187 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58189         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58190         when currently writing and seek to current position when not.
58191         * libio/Makefile (tests): Remove bug-fclose1.
58192         * libio/bug-fclose1.c: Delete.
58194 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58196         * manual/arith.texi (feenableexcept): Fix typo.
58197         (fedisableexcept): Likewise.
58199 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58201         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58202         second, differently-typed declaration, rather than a cast.
58204 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58206         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58207         * include/rpc/svc.h: ... here.
58209 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58211         [BZ #13013]
58212         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58213         depending n and resplen2 to catch cases where answer
58214         equals answerp2.
58216 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58218         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58219         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58221 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58223         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58225 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58227         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58229 2012-11-28  Jeff Law  <law@redhat.com>
58231         [BZ #13761]
58232         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58233         dataset_temporary.  Track alloca usage into alloca_used.
58234         If dataset is large allocate and release it via malloc/free.
58236 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58238         [BZ #14197]
58239         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58241 2012-11-28  David S. Miller  <davem@davemloft.net>
58243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58245 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58247         [BZ #14803]
58248         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58249         of pi/2 rounded to nearest to 64 bits.
58250         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58251         nearest to 64 bits.
58252         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58253         bits.
58255 2012-11-28  Jeff Law <law@redhat.com>
58256             Martin Osvald <mosvald@redhat.com>
58258         [BZ #14889]
58259         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58260         * sunrpc/svc.c: Include time.h.
58261         (__svc_accept_failed): New function.
58262         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58263         any reason other than EINTR, call __svc_accept_failed.
58264         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58265         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58267 2012-11-28  Andreas Schwab  <schwab@suse.de>
58269         * scripts/abilist.awk: Also handle indirect functions in .opd
58270         section.
58272 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58274         [BZ #13881]
58275         * sysdeps/x86/fpu/powl_helper.c: New file.
58276         * sysdeps/x86/fpu/Makefile: Likewise.
58277         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58278         (p3): New object.
58279         (__ieee754_powl): Use __powl_helper for finite arguments except
58280         integer exponents below 8.
58281         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58282         (p3): New object.
58283         (__ieee754_powl): Use __powl_helper for finite arguments except
58284         integer exponents below 8.
58285         * math/libm-test.inc (pow_test): Add more tests and enable some
58286         previously disabled tests.
58287         * sysdeps/i386/fpu/libm-test-ulps: Update.
58288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58290 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58291             Carlos O'Donell  <carlos_odonell@mentor.com>
58293         * nss/makedb.c (is_prime): Assert that input is odd and greater
58294         than 4.  Note that fact in a comment too.
58295         (next_prime): Add 4 to input.
58297 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58299         [BZ #11741]
58300         * libio/Makefile (tests): Add test case tst-fwrite-error.
58301         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58302         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58303         * libio/tst-fwrite-error.c: New test case.
58305 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58307         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58308         before casting to void *.
58309         * include/libc-internal.h (__pointer_type): New macro.
58310         (__integer_if_pointer_type_sub): Likewise.
58311         (__integer_if_pointer_type): Likewise.
58312         (cast_to_integer): Likewise.
58313         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58314         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58315         before casting to atomic64_t.
58316         (atomic_exchange_acq): Likewise.
58317         (__arch_exchange_and_add_body): Likewise.
58318         (__arch_add_body): Likewise.
58319         (atomic_add_negative): Likewise.
58320         (atomic_add_zero): Likewise.
58322 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58324         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58325         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58326         (add_fdes): Likewise.
58327         (linear_search_fdes): Likewise.
58328         (binary_search_unencoded_fdes): Likewise.
58330 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58332         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58334 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58336         * configure.in: Autodetect C++ header directories.
58337         * configure: Regenerated.
58339 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58341         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58343 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58347 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58349         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58350         LDBL_MANT_DIG == 106]: Disable some tests.
58351         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58352         Likewise.
58353         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58354         Likewise.
58356         [BZ #14871]
58357         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58358         input for small inputs.  Return +/- pi/2 for large inputs.
58359         * math/libm-test.inc (atan_test): Add more tests.
58361         * sysdeps/generic/unwind-dw2-fde-glibc.c
58362         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58363         __attribute__ ((unused)).
58365         [BZ #14645]
58366         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58367         x * y if x and y are nonzero and z is zero.
58369         [BZ #14811]
58370         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58371         nonzero exponents with absolute value below 0x1p-117 to +/-
58372         0x1p-117.
58374         [BZ #14869]
58375         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58376         up arguments below 2**-450, not just those below 2**-500.
58377         * math/libm-test.inc (hypot_test): Add another test.
58379         [BZ #14868]
58380         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58381         Return a+b for ratio over 2**120, not 2**60.
58382         * math/libm-test.inc (hypot_test): Add another test.
58384         * math/libm-test.inc (clog_test): Use
58385         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58386         (clog10_test): Likewise.
58388         [BZ #6778]
58389         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58391 2012-11-22  Andreas Schwab  <schwab@suse.de>
58393         * sysdeps/i386/fpu/libm-test-ulps: Update.
58395 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58397         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58398         printf output with newline.
58400 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58402         [BZ #14865]
58403         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58404         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58405         -z nodlopen, -z initfirst and -z execstack support.
58406         * configure: Regenerated.
58408         * elf/elf.h (DF_1_NODIRECT): New macro.
58409         (DF_1_IGNMULDEF): Likewise.
58410         (DF_1_NOKSYMS): Likewise.
58411         (DF_1_NOHDR): Likewise.
58412         (DF_1_EDITED): Likewise.
58413         (DF_1_NORELOC): Likewise.
58414         (DF_1_SYMINTPOSE): Likewise.
58415         (DF_1_GLOBAUDIT): Likewise.
58416         (DF_1_SINGLETON): Likewise.
58417         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58418         DT_1_SUPPORTED_MASK bits.
58419         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58421 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58423         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58425 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58427         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58428         macro.
58430         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58431         (sendmmsg): Move declarations...
58432         * socket/sys/socket.h: ... here.
58433         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58434         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58435         include it from...
58436         * socket/recvmmsg.c: ... this new file.
58437         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58438         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58439         definition of __sendmmsg hidden.
58440         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58441         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58442         Move ENOSYS stub into and include it from...
58443         * socket/sendmmsg.c: ... this new file.
58444         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58445         (sysdep_routines): Move recvmmsg and sendmmsg...
58446         * socket/Makefile (routines): ... here.
58447         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58448         (GLIBC_PRIVATE): Add __sendmmsg.
58449         * include/sys/socket.h (__sendmmsg): Add declarations.
58450         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58451         sendmmsg.
58453 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58455         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58456         variable I1 with __attribute__ ((unused)).
58457         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58459 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58461         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58462         DUMMY variables with __attribute__ ((unused)).
58464         * bits/byteswap.h: Include <bits/types.h>.
58465         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58467 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58469         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58470         string_t.  Do not manually set errno.
58471         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58472         length with __strnlen.  Make sure to both set errno and return it on
58473         failure.
58475 2012-11-19  David S. Miller  <davem@davemloft.net>
58477         With help from Joseph Myers.
58478         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58479         very large arguments properly.
58480         * math/libm-test.inc (atan_test): New tests.
58481         (atan2_test): New tests.
58482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58485 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58487         [BZ #14856]
58488         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58489         Define to 3.
58491         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58492         [POSIX] (EADDRNOTAVAIL): Likewise.
58493         [POSIX] (EAFNOSUPPORT): Likewise.
58494         [POSIX] (EALREADY): Likewise.
58495         [POSIX] (ECONNABORTED): Likewise.
58496         [POSIX] (ECONNREFUSED): Likewise.
58497         [POSIX] (ECONNRESET): Likewise.
58498         [POSIX] (EDESTADDRREQ): Likewise.
58499         [POSIX] (EDQUOT): Likewise.
58500         [POSIX] (EHOSTUNREACH): Likewise.
58501         [POSIX] (EIDRM): Likewise.
58502         [POSIX] (EISCONN): Likewise.
58503         [POSIX] (ELOOP): Likewise.
58504         [POSIX] (EMULTIHOP): Likewise.
58505         [POSIX] (ENETDOWN): Likewise.
58506         [POSIX] (ENETUNREACH): Likewise.
58507         [POSIX] (ENOBUFS): Likewise.
58508         [POSIX] (ENODATA): Likewise.
58509         [POSIX] (ENOLINK): Likewise.
58510         [POSIX] (ENOMSG): Likewise.
58511         [POSIX] (ENOPROTOOPT): Likewise.
58512         [POSIX] (ENOSR): Likewise.
58513         [POSIX] (ENOSTR): Likewise.
58514         [POSIX] (ENOTCONN): Likewise.
58515         [POSIX] (ENOTSOCK): Likewise.
58516         [POSIX] (EOPNOTSUPP): Likewise.
58517         [POSIX] (EOVERFLOW): Likewise.
58518         [POSIX] (EPROTO): Likewise.
58519         [POSIX] (EPROTONOSUPPORT): Likewise.
58520         [POSIX] (EPROTOTYPE): Likewise.
58521         [POSIX] (ESTALE): Likewise.
58522         [POSIX] (ETIME): Likewise.
58523         [POSIX] (ETXTBSY): Likewise.
58524         [POSIX] (EWOULDBLOCK): Likewise.
58525         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58526         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58527         [POSIX] (SEEK_CUR): Likewise.
58528         [POSIX] (SEEK_END): Likewise.
58529         [POSIX || UNIX98] (mode_t): Do not require.
58530         [POSIX] (off_t): Likewise.
58531         [POSIX] (pid_t): Likewise.
58532         [POSIX] (sys/stat.h): Do not allow header.
58533         [POSIX] (unistd.h): Likewise.
58534         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58535         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58536         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58537         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58538         require.
58539         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58540         sigevent): Specify elements.
58541         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58542         entry.
58543         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58544         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58546         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58547         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58548         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58549         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58550         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58551         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58552         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58553         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58554         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58555         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58556         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58557         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58558         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58559         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58560         Likewise.
58561         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58562         Likewise.
58563         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58564         Likewise.
58565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58566         Likewise.
58567         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58568         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58569         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58570         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58571         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58572         Specify lower bound on value.
58573         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58574         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58575         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58576         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58577         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58578         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58579         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58580         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58581         value.
58582         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58583         as optional.
58584         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58585         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58586         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58587         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58588         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58589         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58590         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58591         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58592         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58593         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58594         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58595         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58596         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58597         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58598         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58599         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58600         entry.
58601         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58602         optional.
58603         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58604         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58605         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58606         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58607         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58608         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58609         Likewise.
58610         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58611         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58612         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58613         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58614         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58615         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58616         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58617         as optional.
58618         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58619         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58621         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58622         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58623         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58624         specify as optional.
58625         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58626         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58627         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58628         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58629         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58630         [XPG3] (NL_LANGMAX): Likewise.
58631         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58632         [POSIX || XPG3] (NL_NMAX): Likewise.
58633         [POSIX || XPG3] (NL_SETMAX): Likewise.
58634         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58635         [XPG3] (NZERO): Likewise.
58636         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58637         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58638         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58639         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58640         (REG_ERANGE): Expect.
58641         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58642         optional-constant.
58643         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58644         Use (void) in prototype.
58645         [POSIX] (*_t): Allow.
58646         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58647         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58648         (WRDE_BADVAL): Expect.
58650         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58651         expect.
58652         [XPG3 || XPG4] (O_RSYNC): Likewise.
58653         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58654         Likewise.
58655         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58656         [XPG3 || XPG4] (sigqueue): Likewise.
58657         [XPG3 || XPG4] (sigtimedwait): Likewise.
58658         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58659         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58660         [XPG3 || XPG4] (vsnprintf): Likewise.
58661         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58662         Likewise.
58663         [XPG3 || XPG4] (blksize_t): Likewise.
58664         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58665         Likewise.
58666         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58667         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58668         [XPG3 || XPG4] (struct itimerspec): Likewise.
58669         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58670         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58671         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58672         [XPG3 || XPG4] (clockid_t): Likewise.
58673         [XPG3 || XPG4] (timer_t): Likewise.
58674         [XPG3 || XPG4] (clock_getres): Likewise.
58675         [XPG3 || XPG4] (clock_gettime): Likewise.
58676         [XPG3 || XPG4] (clock_settime): Likewise.
58677         [XPG3 || XPG4] (nanosleep): Likewise.
58678         [XPG3 || XPG4] (timer_create): Likewise.
58679         [XPG3 || XPG4] (timer_delete): Likewise.
58680         [XPG3 || XPG4] (timer_gettime): Likewise.
58681         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58682         [XPG3 || XPG4] (timer_settime): Likewise.
58683         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58684         [XPG3 || XPG4] (getlogin_r): Likewise.
58685         [XPG3 || XPG4] (pread): Likewise.
58686         [XPG3 || XPG4] (pthread_atfork): Likewise.
58687         [XPG3 || XPG4] (pwrite): Likewise.
58689         [BZ #14835]
58690         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58691         <bits/siginfo.h>.
58693 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58695         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58696         finalizing MALLSTREAM.
58698         * sysdeps/mach/hurd/syncfs.c: New file.
58700 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58702         [BZ #14719]
58703         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58704         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58705         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58706         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58707         (_nss_dns_gethostbyname4_r): Likewise.
58708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58709         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58711 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58713         [BZ #13763]
58714         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58716 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58718         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58719         * elf/cache.c (print_entry): Print ",AArch64" for
58720         FLAG_AARCH64_LIB64
58722         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58723         * elf/cache.c (print_entry): Print ",hard-float" for
58724         FLAG_ARM_LIBHF.
58726 2012-11-18  David S. Miller  <davem@davemloft.net>
58728         With help from Joseph Myers.
58729         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58730         cutoff to 2**-13.
58731         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58732         cutoff to 2**-25.
58733         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58734         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58735         small.
58736         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58737         * math/libm-test.inc (y0_test): New tests.
58738         (y1_test): New tests.
58739         * sysdeps/i386/fpu/libm-test-ulps: Update.
58740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58743 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58745         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58746         64-bit targets.
58747         * configure: Regenerated.
58749 2012-11-17  David S. Miller  <davem@davemloft.net>
58751         [BZ #14811]
58752         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58753         nonzero exponents with absolute value below 0x1p-128 to +/-
58754         0x1p-128.
58756 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58758         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58760         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58762         * posix/getconf-speclist.c: New file.
58763         * posix/posix-envs.def: Likewise.
58764         * posix/confstr.c (START_ENV_GROUP): New macro.
58765         (END_ENV_GROUP): Likewise.
58766         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58767         (KNOWN_PRESENT_ENV_STRING): Likewise.
58768         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58769         (UNKNOWN_ENVIRONMENT): Likewise.
58770         (confstr): Include posix-envs.def instead of handling
58771         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58772         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58773         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58774         (END_ENV_GROUP): Likewise.
58775         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58776         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58777         (UNKNOWN_ENVIRONMENT): Likewise.
58778         (__sysconf): Include posix-envs.def instead of handling associated
58779         cases directly here.
58780         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58781         preprocessing getconf-speclist.c rather than running getconf or
58782         generating empty file.
58784 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58786         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58788 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58790         [BZ #14672]
58791         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58793 2012-11-16  David S. Miller  <davem@davemloft.net>
58795         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58796         smaller than LDBL_EPSILON/2.0L, just return xm1.
58798 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58800         * elf/tst-array1.c (init): Set constructor priority to 1000.
58801         (fini): Set destructor priority to 1000.
58802         * elf/tst-array2dep.c: Likewise.
58804 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58806         [BZ #11741]
58807         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58808         (_IO_new_file_xsputn): Also return EOF if none of the input
58809         data was written when overflow failed.
58810         * libio/iopadn.c (_IO_padn): Likewise.
58811         * libio/iowpadn.c (_IO_wpadn): Likewise.
58812         * stdio-common/tst-put-error.c: Add copyright notice.
58813         (do_test): Add case for printing padded string.
58814         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58815         _IO_padn returned error.
58816         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58817         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58818         return EOF.
58820 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58822         * libio/libioP.h: Add comment note that the references to C++
58823         bits are now obsolete.
58825 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58827         * math/libm-test.inc (check_complex): Use asprintf.
58829 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58831         * debug/pcprofiledump.c (print_version): Update copyright year.
58832         * malloc/memusagestat.c (print_version): Likewise.
58834 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58836         [BZ #14831]
58837         * elf/Makefile (tests): Add tst-audit8.
58838         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58839         ($(objpfx)tst-audit8.out): New target.
58840         (tst-audit8-ENV): New variable.
58841         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58842         audit if l_reloc_result is NULL.
58843         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58844         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58845         * elf/tst-audit8.c: New file.
58847 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58849         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58850         * misc/Makefile (CFLAGS-select.c): Define.
58851         * posix/Makefile (CFLAGS-pause.c): Define.
58853 2012-11-13  David S. Miller  <davem@davemloft.net>
58855         * crypt/Makefile: Move test targets after toplevel Rules
58856         inclusion.  Grab any necessary sysdep routines when linking.
58857         * crypt/md5.c (md5_process_block): Remove define, we will always
58858         name it __md5_process_block.
58859         (md5_finish_ctx): Update md5_process_block call.
58860         (md5_stream): Likewise.
58861         (md5_process_bytes): Likewise.
58862         (md5_process_block): Rename to __md5_process_block and move to ...
58863         * crypt/md5-block.c: ... here.
58864         * crypt/sha256.c (sha256_process_block): Move to ...
58865         * crypt/sha256-block.c: ... here.
58866         * crypt/sha512.c (sha512_process_block): Move to ...
58867         * crypt/sha512-block.c: ... here.
58868         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58869         path.
58870         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58871         * sysdeps/sparc/sparc64/multiarch/Makefile
58872         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58873         crypt subdir.
58874         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58875         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58876         multiarch changes.
58877         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58878         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58879         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58880         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58881         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58882         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58883         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58884         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58885         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58886         file.
58887         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58888         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58889         file.
58890         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58892 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58894         * timezone/tzselect.ksh: Update from tzcode git revision
58895         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58896         * timezone/zdump.c: Likewise.
58897         * timezone/zic.c: Likewise.
58898         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58899         in TZVERSION setting, not $(PKGVERSION).
58900         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58901         REPORT_BUGS_TO settings.
58903         [BZ #14838]
58904         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58905         macro.
58907 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58909         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58910         detection to immediately after _FP_ROUND().
58911         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58912         bits are 0.
58914 2012-11-11  David S. Miller  <davem@davemloft.net>
58916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58917         inttypes.h
58918         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58919         __close rather than their public counterparts.
58921 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58923         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58924         file.
58925         [UNIX98] (sem_timedwait): Do not expect.
58926         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58927         [XPG4 || UNIX98] (sockatmark): Do not expect.
58928         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58929         (clock_getcpuclockid): Do not expect.
58930         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58931         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58932         Do not expect.
58933         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58934         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58935         [UNIX98] (vwscanf): Likewise.
58936         [UNIX98] (vswscanf): Likewise.
58938 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58940         * timezone/version.h: Remove file.
58941         * timezone/README: Do not refer to version.h.
58942         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58943         $(objpfx)version.h.
58944         ($(objpfx)zdump.o): Likewise.
58945         ($(objpfx)version.h): New target.
58947         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58948         2012i.
58949         * timezone/README: Don't mention modification to tzselect.ksh.
58950         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58951         work on unmodified tzselect.ksh.  Substitute version numbers in
58952         tzselect.ksh.
58954         * Makefile (format-me): Remove.
58955         (INSTALL): Adjust indentation.  Use commands directly instead of
58956         using $(format-me).
58958         * aclocal.m4 (ACX_PKGVERSION): New macro.
58959         (ACX_BUGURL): Likewise.
58960         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58961         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58962         (REPORT_BUGS_TO): Likewise.
58963         * configure: Regenerated.
58964         * config.h.in (PKGVERSION): New macro.
58965         (REPORT_BUGS_TO): Likewise.
58966         * config.make.in (PKGVERSION): New variable.
58967         (PKGVERSION_TEXI): Likewise.
58968         (REPORT_BUGS_TO): Likewise.
58969         (REPORT_BUGS_TEXI): Likewise.
58970         * Makefile (format-me): Use -I$(common-objpfx)manual.
58971         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58972         ($(common-objpfx)manual/%): New target.
58973         (manual/%): Remove target.
58974         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58975         (print_version): Use PKGVERSION.
58976         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58977         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58978         and REPORT_BUGS_TO.
58979         ($(objpfx)xtrace): Likewise.
58980         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58981         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58982         (print_version): Use PKGVERSION.
58983         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58984         (do_version): Use PKGVERSION.
58985         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58986         REPORT_BUGS_TO.
58987         (common-ldd-rewrite): Likewise.
58988         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58989         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58990         (print_version): Use PKGVERSION.
58991         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58992         * elf/pldd.c (argp_program_bug_address): Remove variable.
58993         (more_help): New function.
58994         (argp): Use more_help.
58995         (print_version): Use PKGVERSION.
58996         * elf/sln.c (main): Use PKGVERSION.
58997         (usage): Use REPORT_BUGS_TO.
58998         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58999         (top level): Use PKGVERSION.
59000         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59001         (print_version): Use PKGVERSION.
59002         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59003         (print_version): Use PKGVERSION.
59004         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59005         (print_version): Use PKGVERSION.
59006         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59007         (print_version): Use PKGVERSION.
59008         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59009         (print_version): Use PKGVERSION.
59010         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59011         (print_version): Use PKGVERSION.
59012         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59013         and BUGURL.
59014         ($(objpfx)memusage): Likewise.
59015         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59016         (do_version): Use PKGVERSION.
59017         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59018         (print_version): Use PKGVERSION.
59019         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59020         ($PKGVERSION): New variable.
59021         ($REPORT_BUGS_TO): Likewise.
59022         (usage): Use $REPORT_BUGS_TO.
59023         (top level): Use $PKGVERSION.
59024         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59025         ($(objpfx)pkgvers.texi): New rule.
59026         ($(objpfx)stamp-pkgvers): Likewise.
59027         * manual/install.texi: Include pkgvers.texi.
59028         (--with-pkgversion): Document new configure option.
59029         (--with-bugurl): Likewise.
59030         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59031         than necessarily for this particular distribution.  Use
59032         REPORT_BUGS_TO for where to report bugs.
59033         * INSTALL: Regenerated.
59034         * manual/libc.texinfo: Include pkgvers.texi.
59035         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59036         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59037         (print_version): Use PKGVERSION.
59038         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59039         (print_version): Use PKGVERSION.
59040         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59041         (print_version): Use PKGVERSION.
59042         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59043         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59044         macro.
59045         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59046         (print_version): Use PKGVERSION.
59047         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59048         (print_version): Use PKGVERSION.
59049         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59050         and PKGVERSION.
59052         * timezone/checktab.awk: Update from tzcode 2012i.
59053         * timezone/ialloc.c: Likewise.
59054         * timezone/private.h: Likewise.
59055         * timezone/scheck.c: Likewise.
59056         * timezone/tzfile.h: Likewise.
59057         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59058         (TZVERSION): Hardcode tzcode version number.
59059         * timezone/zdump.c: Update from tzcode 2012i.
59060         * timezone/zic.c: Likewise.
59061         * timezone/version.h: New file.
59062         * timezone/README: Describe version.h.  Update upstream location.
59064         [BZ #14824]
59065         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59066         (mktemp): Enable declaration.
59067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59071         Likewise.
59072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59073         Likewise.
59074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59075         Likewise.
59076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59077         Likewise.
59078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59079         Likewise.
59080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59081         Likewise.
59083         [BZ #14821]
59084         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59085         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59086         for copies of such integer values.
59087         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59088         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59090 2012-11-09  Andreas Jaeger  <aj@suse.de>
59092         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59093         definitions and declarations that are provided by
59094         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59096 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59098         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59099         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59100         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59101         definition.
59103 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59105         * elf/elf.h: Update comment before AArch64 relocations.
59107 2012-11-07  David S. Miller  <davem@davemloft.net>
59109         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59110         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59111         (__start_context): Declare.
59112         (__makecontext_ret): Delete.
59113         (__makecontext): Hook up __start_context instead of
59114         __makecontext_ret.
59115         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59116         (sysdep_routines): Add __start_context when in stdlib.
59118 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59120         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59121         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59122         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59123         hardcoded "nm".
59124         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59125         (READELF): New variable.  Use it instead of hardcoded "readelf".
59127 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59129         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59130         * sysdeps/x86/Makefile: Here.
59131         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59132         * sysdeps/x86/tst-xmmymm.sh: This.
59134 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59136         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59137         expectations.
59138         [UNIX98] (pthread_barrier_t): Do not expect.
59139         [UNIX98] (pthread_barrierattr_t): Likewise.
59140         [UNIX98] (pthread_spinlock_t): Likewise.
59141         [UNIX98] (pthread_barrier_destroy): Likewise.
59142         [UNIX98] (pthread_barrier_init): Likewise.
59143         [UNIX98] (pthread_barrier_wait): Likewise.
59144         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59145         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59146         [UNIX98] (pthread_barrierattr_init): Likewise.
59147         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59148         [UNIX98] (pthread_getcpuclockid): Likewise.
59149         [UNIX98] (pthread_mutex_timedlock): Likewise.
59150         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59151         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59152         [UNIX98] (pthread_sigmask): Likewise.
59153         [UNIX98] (pthread_spin_destroy): Likewise.
59154         [UNIX98] (pthread_spin_init): Likewise.
59155         [UNIX98] (pthread_spin_lock): Likewise.
59156         [UNIX98] (pthread_spin_trylock): Likewise.
59157         [UNIX98] (pthread_spin_unlock): Likewise.
59158         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59159         Do not expect.
59160         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59161         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59162         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59163         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59164         [XPG3 || XPG4] (pthread_key_t): Likewise.
59165         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59166         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59167         [XPG3 || XPG4] (pthread_once_t): Likewise.
59168         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59169         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59170         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59171         [XPG3 || XPG4] (pthread_t): Likewise.
59173         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59174         not expect.
59175         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59177         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59178         Change function return type to int.
59180         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59181         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59182         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59183         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59184         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59185         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59186         [!POSIX] (posix_madvise): Likewise.
59187         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59188         && !UNIX98].
59189         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59190         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59191         (mode_t): Likewise.
59192         (posix_mem_offset): Likewise.
59193         (posix_typed_mem_get_info): Likewise.
59194         (posix_typed_mem_open): Likewise.
59196         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59197         Change condition to [XOPEN2K8].
59199         * conform/conformtest.pl: Preprocess allow-header data with -x c
59200         instead of from stdin.
59201         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59202         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59203         [C99-based standards] (cerfc): Likewise.
59204         [C99-based standards] (cexp2): Likewise.
59205         [C99-based standards] (cexpm1): Likewise.
59206         [C99-based standards] (clog10): Likewise.
59207         [C99-based standards] (clog1p): Likewise.
59208         [C99-based standards] (clog2): Likewise.
59209         [C99-based standards] (clgamma): Likewise.
59210         [C99-based standards] (ctgamma): Likewise.
59211         [C99-based standards] (cerff): Likewise.
59212         [C99-based standards] (cerfcf): Likewise.
59213         [C99-based standards] (cexp2f): Likewise.
59214         [C99-based standards] (cexpm1f): Likewise.
59215         [C99-based standards] (clog10f): Likewise.
59216         [C99-based standards] (clog1pf): Likewise.
59217         [C99-based standards] (clog2f): Likewise.
59218         [C99-based standards] (clgammaf): Likewise.
59219         [C99-based standards] (ctgammaf): Likewise.
59220         [C99-based standards] (cerfl): Likewise.
59221         [C99-based standards] (cerfcl): Likewise.
59222         [C99-based standards] (cexp2l): Likewise.
59223         [C99-based standards] (cexpm1l): Likewise.
59224         [C99-based standards] (clog10l): Likewise.
59225         [C99-based standards] (clog1pl): Likewise.
59226         [C99-based standards] (clog2l): Likewise.
59227         [C99-based standards] (clgammal): Likewise.
59228         [C99-based standards] (ctgammal): Likewise.
59229         * conform/data/inttypes.h-data [C99-based standards]: Include
59230         stdint.h-data.  Remove all expectations for stdint.h contents.
59231         [C99-based standards] (PRI*): Do not allow.
59232         [C99-based standards] (SCN*): Likewise.
59233         [C99-based standards] (*_t): Likewise.
59234         [C99-based-standards] (PRId8): Expect macro.
59235         [C99-based-standards] (PRIi8): Likewise.
59236         [C99-based-standards] (PRIo8): Likewise.
59237         [C99-based-standards] (PRIu8): Likewise.
59238         [C99-based-standards] (PRIx8): Likewise.
59239         [C99-based-standards] (PRIX8): Likewise.
59240         [C99-based-standards] (SCNd8): Likewise.
59241         [C99-based-standards] (SCNi8): Likewise.
59242         [C99-based-standards] (SCNo8): Likewise.
59243         [C99-based-standards] (SCNu8): Likewise.
59244         [C99-based-standards] (SCNx8): Likewise.
59245         [C99-based-standards] (PRIdLEAST8): Likewise.
59246         [C99-based-standards] (PRIiLEAST8): Likewise.
59247         [C99-based-standards] (PRIoLEAST8): Likewise.
59248         [C99-based-standards] (PRIuLEAST8): Likewise.
59249         [C99-based-standards] (PRIxLEAST8): Likewise.
59250         [C99-based-standards] (PRIXLEAST8): Likewise.
59251         [C99-based-standards] (SCNdLEAST8): Likewise.
59252         [C99-based-standards] (SCNiLEAST8): Likewise.
59253         [C99-based-standards] (SCNoLEAST8): Likewise.
59254         [C99-based-standards] (SCNuLEAST8): Likewise.
59255         [C99-based-standards] (SCNxLEAST8): Likewise.
59256         [C99-based-standards] (PRIdFAST8): Likewise.
59257         [C99-based-standards] (PRIiFAST8): Likewise.
59258         [C99-based-standards] (PRIoFAST8): Likewise.
59259         [C99-based-standards] (PRIuFAST8): Likewise.
59260         [C99-based-standards] (PRIxFAST8): Likewise.
59261         [C99-based-standards] (PRIXFAST8): Likewise.
59262         [C99-based-standards] (SCNdFAST8): Likewise.
59263         [C99-based-standards] (SCNiFAST8): Likewise.
59264         [C99-based-standards] (SCNoFAST8): Likewise.
59265         [C99-based-standards] (SCNuFAST8): Likewise.
59266         [C99-based-standards] (SCNxFAST8): Likewise.
59267         [C99-based-standards] (PRId16): Likewise.
59268         [C99-based-standards] (PRIi16): Likewise.
59269         [C99-based-standards] (PRIo16): Likewise.
59270         [C99-based-standards] (PRIu16): Likewise.
59271         [C99-based-standards] (PRIx16): Likewise.
59272         [C99-based-standards] (PRIX16): Likewise.
59273         [C99-based-standards] (SCNd16): Likewise.
59274         [C99-based-standards] (SCNi16): Likewise.
59275         [C99-based-standards] (SCNo16): Likewise.
59276         [C99-based-standards] (SCNu16): Likewise.
59277         [C99-based-standards] (SCNx16): Likewise.
59278         [C99-based-standards] (PRIdLEAST16): Likewise.
59279         [C99-based-standards] (PRIiLEAST16): Likewise.
59280         [C99-based-standards] (PRIoLEAST16): Likewise.
59281         [C99-based-standards] (PRIuLEAST16): Likewise.
59282         [C99-based-standards] (PRIxLEAST16): Likewise.
59283         [C99-based-standards] (PRIXLEAST16): Likewise.
59284         [C99-based-standards] (SCNdLEAST16): Likewise.
59285         [C99-based-standards] (SCNiLEAST16): Likewise.
59286         [C99-based-standards] (SCNoLEAST16): Likewise.
59287         [C99-based-standards] (SCNuLEAST16): Likewise.
59288         [C99-based-standards] (SCNxLEAST16): Likewise.
59289         [C99-based-standards] (PRIdFAST16): Likewise.
59290         [C99-based-standards] (PRIiFAST16): Likewise.
59291         [C99-based-standards] (PRIoFAST16): Likewise.
59292         [C99-based-standards] (PRIuFAST16): Likewise.
59293         [C99-based-standards] (PRIxFAST16): Likewise.
59294         [C99-based-standards] (PRIXFAST16): Likewise.
59295         [C99-based-standards] (SCNdFAST16): Likewise.
59296         [C99-based-standards] (SCNiFAST16): Likewise.
59297         [C99-based-standards] (SCNoFAST16): Likewise.
59298         [C99-based-standards] (SCNuFAST16): Likewise.
59299         [C99-based-standards] (SCNxFAST16): Likewise.
59300         [C99-based-standards] (PRId32): Likewise.
59301         [C99-based-standards] (PRIi32): Likewise.
59302         [C99-based-standards] (PRIo32): Likewise.
59303         [C99-based-standards] (PRIu32): Likewise.
59304         [C99-based-standards] (PRIx32): Likewise.
59305         [C99-based-standards] (PRIX32): Likewise.
59306         [C99-based-standards] (SCNd32): Likewise.
59307         [C99-based-standards] (SCNi32): Likewise.
59308         [C99-based-standards] (SCNo32): Likewise.
59309         [C99-based-standards] (SCNu32): Likewise.
59310         [C99-based-standards] (SCNx32): Likewise.
59311         [C99-based-standards] (PRIdLEAST32): Likewise.
59312         [C99-based-standards] (PRIiLEAST32): Likewise.
59313         [C99-based-standards] (PRIoLEAST32): Likewise.
59314         [C99-based-standards] (PRIuLEAST32): Likewise.
59315         [C99-based-standards] (PRIxLEAST32): Likewise.
59316         [C99-based-standards] (PRIXLEAST32): Likewise.
59317         [C99-based-standards] (SCNdLEAST32): Likewise.
59318         [C99-based-standards] (SCNiLEAST32): Likewise.
59319         [C99-based-standards] (SCNoLEAST32): Likewise.
59320         [C99-based-standards] (SCNuLEAST32): Likewise.
59321         [C99-based-standards] (SCNxLEAST32): Likewise.
59322         [C99-based-standards] (PRIdFAST32): Likewise.
59323         [C99-based-standards] (PRIiFAST32): Likewise.
59324         [C99-based-standards] (PRIoFAST32): Likewise.
59325         [C99-based-standards] (PRIuFAST32): Likewise.
59326         [C99-based-standards] (PRIxFAST32): Likewise.
59327         [C99-based-standards] (PRIXFAST32): Likewise.
59328         [C99-based-standards] (SCNdFAST32): Likewise.
59329         [C99-based-standards] (SCNiFAST32): Likewise.
59330         [C99-based-standards] (SCNoFAST32): Likewise.
59331         [C99-based-standards] (SCNuFAST32): Likewise.
59332         [C99-based-standards] (SCNxFAST32): Likewise.
59333         [C99-based-standards] (PRId64): Likewise.
59334         [C99-based-standards] (PRIi64): Likewise.
59335         [C99-based-standards] (PRIo64): Likewise.
59336         [C99-based-standards] (PRIu64): Likewise.
59337         [C99-based-standards] (PRIx64): Likewise.
59338         [C99-based-standards] (PRIX64): Likewise.
59339         [C99-based-standards] (SCNd64): Likewise.
59340         [C99-based-standards] (SCNi64): Likewise.
59341         [C99-based-standards] (SCNo64): Likewise.
59342         [C99-based-standards] (SCNu64): Likewise.
59343         [C99-based-standards] (SCNx64): Likewise.
59344         [C99-based-standards] (PRIdLEAST64): Likewise.
59345         [C99-based-standards] (PRIiLEAST64): Likewise.
59346         [C99-based-standards] (PRIoLEAST64): Likewise.
59347         [C99-based-standards] (PRIuLEAST64): Likewise.
59348         [C99-based-standards] (PRIxLEAST64): Likewise.
59349         [C99-based-standards] (PRIXLEAST64): Likewise.
59350         [C99-based-standards] (SCNdLEAST64): Likewise.
59351         [C99-based-standards] (SCNiLEAST64): Likewise.
59352         [C99-based-standards] (SCNoLEAST64): Likewise.
59353         [C99-based-standards] (SCNuLEAST64): Likewise.
59354         [C99-based-standards] (SCNxLEAST64): Likewise.
59355         [C99-based-standards] (PRIdFAST64): Likewise.
59356         [C99-based-standards] (PRIiFAST64): Likewise.
59357         [C99-based-standards] (PRIoFAST64): Likewise.
59358         [C99-based-standards] (PRIuFAST64): Likewise.
59359         [C99-based-standards] (PRIxFAST64): Likewise.
59360         [C99-based-standards] (PRIXFAST64): Likewise.
59361         [C99-based-standards] (SCNdFAST64): Likewise.
59362         [C99-based-standards] (SCNiFAST64): Likewise.
59363         [C99-based-standards] (SCNoFAST64): Likewise.
59364         [C99-based-standards] (SCNuFAST64): Likewise.
59365         [C99-based-standards] (SCNxFAST64): Likewise.
59366         [C99-based-standards] (PRIdMAX): Likewise.
59367         [C99-based-standards] (PRIiMAX): Likewise.
59368         [C99-based-standards] (PRIoMAX): Likewise.
59369         [C99-based-standards] (PRIuMAX): Likewise.
59370         [C99-based-standards] (PRIxMAX): Likewise.
59371         [C99-based-standards] (PRIXMAX): Likewise.
59372         [C99-based-standards] (SCNdMAX): Likewise.
59373         [C99-based-standards] (SCNiMAX): Likewise.
59374         [C99-based-standards] (SCNoMAX): Likewise.
59375         [C99-based-standards] (SCNuMAX): Likewise.
59376         [C99-based-standards] (SCNxMAX): Likewise.
59377         [C99-based-standards] (PRIdPTR): Likewise.
59378         [C99-based-standards] (PRIiPTR): Likewise.
59379         [C99-based-standards] (PRIoPTR): Likewise.
59380         [C99-based-standards] (PRIuPTR): Likewise.
59381         [C99-based-standards] (PRIxPTR): Likewise.
59382         [C99-based-standards] (PRIXPTR): Likewise.
59383         [C99-based-standards] (SCNdPTR): Likewise.
59384         [C99-based-standards] (SCNiPTR): Likewise.
59385         [C99-based-standards] (SCNoPTR): Likewise.
59386         [C99-based-standards] (SCNuPTR): Likewise.
59387         [C99-based-standards] (SCNxPTR): Likewise.
59388         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59389         allow.
59390         * conform/data/stdint.h-data: Update comments to clarify
59391         requirements.
59392         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59393         type.
59394         [C99-based standards] (INT8_MAX): Likewise.
59395         [C99-based standards] (INT16_MIN): Likewise.
59396         [C99-based standards] (INT16_MAX): Likewise.
59397         [C99-based standards] (INT32_MIN): Likewise.
59398         [C99-based standards] (INT32_MAX): Likewise.
59399         [C99-based standards] (INT64_MIN): Likewise.
59400         [C99-based standards] (INT64_MAX): Likewise.
59401         [C99-based standards] (UINT8_MAX): Likewise.
59402         [C99-based standards] (UINT16_MAX): Likewise.
59403         [C99-based standards] (UINT32_MAX): Likewise.
59404         [C99-based standards] (UINT64_MAX): Likewise.
59405         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59406         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59407         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59408         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59409         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59410         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59411         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59412         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59413         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59414         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59415         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59416         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59417         [C99-based standards] (INT_FAST8_MIN): Likewise.
59418         [C99-based standards] (INT_FAST8_MAX): Likewise.
59419         [C99-based standards] (INT_FAST16_MIN): Likewise.
59420         [C99-based standards] (INT_FAST16_MAX): Likewise.
59421         [C99-based standards] (INT_FAST32_MIN): Likewise.
59422         [C99-based standards] (INT_FAST32_MAX): Likewise.
59423         [C99-based standards] (INT_FAST64_MIN): Likewise.
59424         [C99-based standards] (INT_FAST64_MAX): Likewise.
59425         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59426         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59427         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59428         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59429         [C99-based standards] (INTPTR_MIN): Likewise.
59430         [C99-based standards] (INTPTR_MAX): Likewise.
59431         [C99-based standards] (UINTPTR_MAX): Likewise.
59432         [C99-based standards] (INTMAX_MIN): Likewise.
59433         [C99-based standards] (INTMAX_MAX): Likewise.
59434         [C99-based standards] (UINTMAX_MAX): Likewise.
59435         [C99-based standards] (PTRDIFF_MIN): Likewise.
59436         [C99-based standards] (PTRDIFF_MAX): Likewise.
59437         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59438         [C99-based standards] (SIZE_MAX): Likewise.
59439         [C99-based standards] (WCHAR_MAX): Likewise.
59440         [C99-based standards] (WINT_MAX): Likewise.
59441         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59442         constraint on value.
59443         [C99-based standards] (WCHAR_MIN): Likewise.
59444         [C99-based standards] (WINT_MIN): Likewise.
59445         [C99-based standards] (*_t): Allow.
59446         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59447         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59448         Include math.h-data and complex.h-data.  Remove all expectations
59449         of math.h and complex.h contents.
59450         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59451         at end of line.
59452         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59453         (struct tm): Expect tag.
59454         [C99-based-standards] (wcstof): Expect function.
59455         [C99-based-standards] (wcstold): Likewise.
59456         [C99-based-standards] (wcstoll): Likewise.
59457         [C99-based-standards] (wcstoull): Likewise.
59458         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59459         macro-int-constant.  Specify type.
59460         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59461         constraint on value.
59462         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59463         Specify type.
59464         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59465         Specify value.
59466         [ISO C standards]: Do not allow headers.
59467         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59468         wcs[abcdefghijklmnopqrstuvwxyz]*.
59469         [ISO C standards] (*_t): Do not allow.
59470         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59471         Expect function.
59472         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59473         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59474         Specify type.
59475         [ISO C standards]: Do not allow headers.
59476         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59477         is[abcdefghijklmnopqrstuvwxyz]*.
59478         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59479         to[abcdefghijklmnopqrstuvwxyz]*.
59480         [ISO C standards] (*_t): Do not allow.
59481         * conform/data/stdalign.h-data: New file.
59482         * conform/data/stdbool.h-data: Likewise.
59483         * conform/data/stdnoreturn.h-data: Likewise.
59485 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59487         [BZ #14815]
59488         * manual/filesys.texi (Directory Entries): Typo fix.
59489         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59491 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59493         * elf/elf.h (EM_AARCH64): New macro.
59494         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59495         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59496         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59497         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59498         (R_AARCH64_TLSDESC): Likewise.
59499         (NT_ARM_TLS): Likewise.
59500         (NT_ARM_HW_BREAK): Likewise.
59501         (NT_ARM_HW_WATCH): Likewise.
59503 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59505         [BZ #14811]
59506         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59507         (__ieee754_powl): Saturate nonzero exponents with absolute value
59508         below 0x1p-79 to +/- 0x1p-79.
59509         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59510         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59511         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59512         nonzero exponents with absolute value below 0x1p-32 to +/-
59513         0x1p-32.
59514         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59515         (__ieee754_powl): Saturate nonzero exponents with absolute value
59516         below 0x1p-79 to +/- 0x1p-79.
59517         * math/libm-test.inc (pow_test): Add more tests.
59519 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59521         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59522         _dl_s390_cap_flags with kernel. Increase string length.
59523         (_dl_s390_platforms): Add z196 and zEC12.
59525 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59527         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59528         Change XOPEN21K to XOPEN2K.
59530 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59532         * string/memmove.c: Use memcpy when possible.
59534 2012-11-06  Andreas Jaeger  <aj@suse.de>
59536         * po/eo.po: Update from translation team.
59538 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59540         [BZ #14793]
59541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59542         exponent and small x and y exponents, scale x or y up.  Increase
59543         by 2 the exponent used in scaling up.
59544         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59545         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59546         * math/libm-test.inc (fma_test): Add more tests.
59547         (fma_test_towardzero): Likewise.
59548         (fma_test_downward): Likewise.
59549         (fma_test_upward): Likewise.
59551 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59553         [BZ #14805]
59554         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59555         fenv_t *.
59557         [BZ #14801]
59558         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59559         namespace for names of struct fields.
59560         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59561         fenv_t fields.
59562         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59563         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59565 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59567         [BZ #3665]
59568         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59570 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59572         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59573         PTR_DEMANGLE.
59575         [BZ #5246]
59576         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59577         PTR_DEMANGLE.
59579 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59581         [BZ #14797]
59582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59583         definitely overflow as x * y not x * y + z.
59584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59586         * math/libm-test.inc (fma_test): Add more tests.
59587         (fma_test_towardzero): Likewise.
59588         (fma_test_downward): Likewise.
59589         (fma_test_upward): Likewise.
59591 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59593         [BZ #157]
59595         * include/stub-tag.h: Remove file.
59596         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59597         '#include' of it.
59598         * manual/maint.texi (Porting): Don't reference it.
59599         * Makerules ($(objpfx)stubs): Likewise.
59600         * dirent/closedir.c: Don't include <stub-tag.h>.
59601         * dirent/dirfd.c: Likewise.
59602         * dirent/fdopendir.c: Likewise.
59603         * dirent/getdents.c: Likewise.
59604         * dirent/getdents64.c: Likewise.
59605         * dirent/opendir.c: Likewise.
59606         * dirent/readdir.c: Likewise.
59607         * dirent/readdir64.c: Likewise.
59608         * dirent/readdir64_r.c: Likewise.
59609         * dirent/readdir_r.c: Likewise.
59610         * dirent/rewinddir.c: Likewise.
59611         * dirent/seekdir.c: Likewise.
59612         * dirent/telldir.c: Likewise.
59613         * gmon/profil.c: Likewise.
59614         * grp/setgroups.c: Likewise.
59615         * inet/if_index.c: Likewise.
59616         * io/access.c: Likewise.
59617         * io/chdir.c: Likewise.
59618         * io/chmod.c: Likewise.
59619         * io/chown.c: Likewise.
59620         * io/close.c: Likewise.
59621         * io/dup.c: Likewise.
59622         * io/dup2.c: Likewise.
59623         * io/dup3.c: Likewise.
59624         * io/euidaccess.c: Likewise.
59625         * io/faccessat.c: Likewise.
59626         * io/fchdir.c: Likewise.
59627         * io/fchmod.c: Likewise.
59628         * io/fchmodat.c: Likewise.
59629         * io/fchown.c: Likewise.
59630         * io/fchownat.c: Likewise.
59631         * io/fcntl.c: Likewise.
59632         * io/flock.c: Likewise.
59633         * io/fstatfs.c: Likewise.
59634         * io/fstatfs64.c: Likewise.
59635         * io/fstatvfs.c: Likewise.
59636         * io/fstatvfs64.c: Likewise.
59637         * io/futimens.c: Likewise.
59638         * io/fxstat.c: Likewise.
59639         * io/fxstat64.c: Likewise.
59640         * io/fxstatat.c: Likewise.
59641         * io/fxstatat64.c: Likewise.
59642         * io/getcwd.c: Likewise.
59643         * io/isatty.c: Likewise.
59644         * io/lchmod.c: Likewise.
59645         * io/lchown.c: Likewise.
59646         * io/link.c: Likewise.
59647         * io/linkat.c: Likewise.
59648         * io/lseek.c: Likewise.
59649         * io/lseek64.c: Likewise.
59650         * io/lxstat64.c: Likewise.
59651         * io/mkdir.c: Likewise.
59652         * io/mkdirat.c: Likewise.
59653         * io/mkfifo.c: Likewise.
59654         * io/mkfifoat.c: Likewise.
59655         * io/open.c: Likewise.
59656         * io/open64.c: Likewise.
59657         * io/openat.c: Likewise.
59658         * io/openat64.c: Likewise.
59659         * io/pipe.c: Likewise.
59660         * io/pipe2.c: Likewise.
59661         * io/poll.c: Likewise.
59662         * io/posix_fadvise.c: Likewise.
59663         * io/posix_fadvise64.c: Likewise.
59664         * io/posix_fallocate.c: Likewise.
59665         * io/posix_fallocate64.c: Likewise.
59666         * io/read.c: Likewise.
59667         * io/readlink.c: Likewise.
59668         * io/readlinkat.c: Likewise.
59669         * io/rmdir.c: Likewise.
59670         * io/sendfile.c: Likewise.
59671         * io/sendfile64.c: Likewise.
59672         * io/statfs.c: Likewise.
59673         * io/statfs64.c: Likewise.
59674         * io/statvfs.c: Likewise.
59675         * io/statvfs64.c: Likewise.
59676         * io/symlink.c: Likewise.
59677         * io/symlinkat.c: Likewise.
59678         * io/ttyname.c: Likewise.
59679         * io/ttyname_r.c: Likewise.
59680         * io/umask.c: Likewise.
59681         * io/unlink.c: Likewise.
59682         * io/unlinkat.c: Likewise.
59683         * io/utime.c: Likewise.
59684         * io/utimensat.c: Likewise.
59685         * io/write.c: Likewise.
59686         * io/xmknod.c: Likewise.
59687         * io/xmknodat.c: Likewise.
59688         * io/xstat.c: Likewise.
59689         * io/xstat64.c: Likewise.
59690         * login/getpt.c: Likewise.
59691         * login/grantpt.c: Likewise.
59692         * login/unlockpt.c: Likewise.
59693         * math/e_acoshl.c: Likewise.
59694         * math/e_acosl.c: Likewise.
59695         * math/e_asinl.c: Likewise.
59696         * math/e_atan2l.c: Likewise.
59697         * math/e_atanhl.c: Likewise.
59698         * math/e_coshl.c: Likewise.
59699         * math/e_expl.c: Likewise.
59700         * math/e_fmodl.c: Likewise.
59701         * math/e_gammal_r.c: Likewise.
59702         * math/e_hypotl.c: Likewise.
59703         * math/e_j0l.c: Likewise.
59704         * math/e_j1l.c: Likewise.
59705         * math/e_jnl.c: Likewise.
59706         * math/e_lgammal_r.c: Likewise.
59707         * math/e_log10l.c: Likewise.
59708         * math/e_log2l.c: Likewise.
59709         * math/e_logl.c: Likewise.
59710         * math/e_powl.c: Likewise.
59711         * math/e_rem_pio2l.c: Likewise.
59712         * math/e_sinhl.c: Likewise.
59713         * math/e_sqrtl.c: Likewise.
59714         * math/fclrexcpt.c: Likewise.
59715         * math/fedisblxcpt.c: Likewise.
59716         * math/feenablxcpt.c: Likewise.
59717         * math/fegetenv.c: Likewise.
59718         * math/fegetexcept.c: Likewise.
59719         * math/fegetround.c: Likewise.
59720         * math/feholdexcpt.c: Likewise.
59721         * math/fesetenv.c: Likewise.
59722         * math/fesetround.c: Likewise.
59723         * math/feupdateenv.c: Likewise.
59724         * math/fgetexcptflg.c: Likewise.
59725         * math/fraiseexcpt.c: Likewise.
59726         * math/fsetexcptflg.c: Likewise.
59727         * math/ftestexcept.c: Likewise.
59728         * math/k_cosl.c: Likewise.
59729         * math/k_rem_pio2l.c: Likewise.
59730         * math/k_sinl.c: Likewise.
59731         * math/k_tanl.c: Likewise.
59732         * math/s_asinhl.c: Likewise.
59733         * math/s_atanl.c: Likewise.
59734         * math/s_cbrtl.c: Likewise.
59735         * math/s_erfl.c: Likewise.
59736         * math/s_expm1l.c: Likewise.
59737         * math/s_log1pl.c: Likewise.
59738         * math/s_tanhl.c: Likewise.
59739         * misc/acct.c: Likewise.
59740         * misc/brk.c: Likewise.
59741         * misc/chflags.c: Likewise.
59742         * misc/chroot.c: Likewise.
59743         * misc/fchflags.c: Likewise.
59744         * misc/fgetxattr.c: Likewise.
59745         * misc/flistxattr.c: Likewise.
59746         * misc/fremovexattr.c: Likewise.
59747         * misc/fsetxattr.c: Likewise.
59748         * misc/fsync.c: Likewise.
59749         * misc/ftruncate.c: Likewise.
59750         * misc/futimes.c: Likewise.
59751         * misc/futimesat.c: Likewise.
59752         * misc/getdomain.c: Likewise.
59753         * misc/getdtsz.c: Likewise.
59754         * misc/gethostid.c: Likewise.
59755         * misc/gethostname.c: Likewise.
59756         * misc/getloadavg.c: Likewise.
59757         * misc/getpagesize.c: Likewise.
59758         * misc/getsysstats.c: Likewise.
59759         * misc/getxattr.c: Likewise.
59760         * misc/gtty.c: Likewise.
59761         * misc/ioctl.c: Likewise.
59762         * misc/lgetxattr.c: Likewise.
59763         * misc/listxattr.c: Likewise.
59764         * misc/llistxattr.c: Likewise.
59765         * misc/lremovexattr.c: Likewise.
59766         * misc/lsetxattr.c: Likewise.
59767         * misc/lutimes.c: Likewise.
59768         * misc/madvise.c: Likewise.
59769         * misc/mincore.c: Likewise.
59770         * misc/mlock.c: Likewise.
59771         * misc/mlockall.c: Likewise.
59772         * misc/mmap.c: Likewise.
59773         * misc/mprotect.c: Likewise.
59774         * misc/msync.c: Likewise.
59775         * misc/munlock.c: Likewise.
59776         * misc/munlockall.c: Likewise.
59777         * misc/munmap.c: Likewise.
59778         * misc/preadv.c: Likewise.
59779         * misc/preadv64.c: Likewise.
59780         * misc/ptrace.c: Likewise.
59781         * misc/pwritev.c: Likewise.
59782         * misc/pwritev64.c: Likewise.
59783         * misc/readv.c: Likewise.
59784         * misc/reboot.c: Likewise.
59785         * misc/remap_file_pages.c: Likewise.
59786         * misc/removexattr.c: Likewise.
59787         * misc/revoke.c: Likewise.
59788         * misc/select.c: Likewise.
59789         * misc/setdomain.c: Likewise.
59790         * misc/setegid.c: Likewise.
59791         * misc/seteuid.c: Likewise.
59792         * misc/sethostid.c: Likewise.
59793         * misc/sethostname.c: Likewise.
59794         * misc/setregid.c: Likewise.
59795         * misc/setreuid.c: Likewise.
59796         * misc/setxattr.c: Likewise.
59797         * misc/sstk.c: Likewise.
59798         * misc/stty.c: Likewise.
59799         * misc/swapoff.c: Likewise.
59800         * misc/swapon.c: Likewise.
59801         * misc/sync.c: Likewise.
59802         * misc/syncfs.c: Likewise.
59803         * misc/syscall.c: Likewise.
59804         * misc/truncate.c: Likewise.
59805         * misc/ualarm.c: Likewise.
59806         * misc/usleep.c: Likewise.
59807         * misc/ustat.c: Likewise.
59808         * misc/utimes.c: Likewise.
59809         * misc/vhangup.c: Likewise.
59810         * misc/writev.c: Likewise.
59811         * posix/_exit.c: Likewise.
59812         * posix/alarm.c: Likewise.
59813         * posix/execve.c: Likewise.
59814         * posix/fexecve.c: Likewise.
59815         * posix/fork.c: Likewise.
59816         * posix/fpathconf.c: Likewise.
59817         * posix/getaddrinfo.c: Likewise.
59818         * posix/getegid.c: Likewise.
59819         * posix/geteuid.c: Likewise.
59820         * posix/getgid.c: Likewise.
59821         * posix/getgroups.c: Likewise.
59822         * posix/getlogin.c: Likewise.
59823         * posix/getlogin_r.c: Likewise.
59824         * posix/getpgid.c: Likewise.
59825         * posix/getpid.c: Likewise.
59826         * posix/getppid.c: Likewise.
59827         * posix/getresgid.c: Likewise.
59828         * posix/getresuid.c: Likewise.
59829         * posix/getsid.c: Likewise.
59830         * posix/getuid.c: Likewise.
59831         * posix/glob64.c: Likewise.
59832         * posix/nanosleep.c: Likewise.
59833         * posix/pathconf.c: Likewise.
59834         * posix/pause.c: Likewise.
59835         * posix/posix_madvise.c: Likewise.
59836         * posix/pread.c: Likewise.
59837         * posix/pread64.c: Likewise.
59838         * posix/pwrite.c: Likewise.
59839         * posix/pwrite64.c: Likewise.
59840         * posix/sched_getaffinity.c: Likewise.
59841         * posix/sched_getp.c: Likewise.
59842         * posix/sched_gets.c: Likewise.
59843         * posix/sched_primax.c: Likewise.
59844         * posix/sched_primin.c: Likewise.
59845         * posix/sched_rr_gi.c: Likewise.
59846         * posix/sched_setaffinity.c: Likewise.
59847         * posix/sched_setp.c: Likewise.
59848         * posix/sched_sets.c: Likewise.
59849         * posix/sched_yield.c: Likewise.
59850         * posix/setgid.c: Likewise.
59851         * posix/setlogin.c: Likewise.
59852         * posix/setpgid.c: Likewise.
59853         * posix/setresgid.c: Likewise.
59854         * posix/setresuid.c: Likewise.
59855         * posix/setsid.c: Likewise.
59856         * posix/setuid.c: Likewise.
59857         * posix/sleep.c: Likewise.
59858         * posix/spawni.c: Likewise.
59859         * posix/sysconf.c: Likewise.
59860         * posix/times.c: Likewise.
59861         * posix/wait.c: Likewise.
59862         * posix/wait3.c: Likewise.
59863         * posix/wait4.c: Likewise.
59864         * posix/waitpid.c: Likewise.
59865         * resolv/gai_sigqueue.c: Likewise.
59866         * resource/getpriority.c: Likewise.
59867         * resource/getrlimit.c: Likewise.
59868         * resource/getrusage.c: Likewise.
59869         * resource/nice.c: Likewise.
59870         * resource/setpriority.c: Likewise.
59871         * resource/setrlimit.c: Likewise.
59872         * resource/ulimit.c: Likewise.
59873         * rt/aio_cancel.c: Likewise.
59874         * rt/aio_fsync.c: Likewise.
59875         * rt/aio_read.c: Likewise.
59876         * rt/aio_sigqueue.c: Likewise.
59877         * rt/aio_suspend.c: Likewise.
59878         * rt/aio_write.c: Likewise.
59879         * rt/clock_getres.c: Likewise.
59880         * rt/clock_gettime.c: Likewise.
59881         * rt/clock_nanosleep.c: Likewise.
59882         * rt/clock_settime.c: Likewise.
59883         * rt/lio_listio.c: Likewise.
59884         * rt/mq_close.c: Likewise.
59885         * rt/mq_getattr.c: Likewise.
59886         * rt/mq_notify.c: Likewise.
59887         * rt/mq_open.c: Likewise.
59888         * rt/mq_receive.c: Likewise.
59889         * rt/mq_send.c: Likewise.
59890         * rt/mq_setattr.c: Likewise.
59891         * rt/mq_timedreceive.c: Likewise.
59892         * rt/mq_timedsend.c: Likewise.
59893         * rt/mq_unlink.c: Likewise.
59894         * rt/shm_open.c: Likewise.
59895         * rt/shm_unlink.c: Likewise.
59896         * rt/timer_create.c: Likewise.
59897         * rt/timer_delete.c: Likewise.
59898         * rt/timer_getoverr.c: Likewise.
59899         * rt/timer_gettime.c: Likewise.
59900         * rt/timer_settime.c: Likewise.
59901         * setjmp/__longjmp.c: Likewise.
59902         * setjmp/setjmp.c: Likewise.
59903         * signal/kill.c: Likewise.
59904         * signal/killpg.c: Likewise.
59905         * signal/raise.c: Likewise.
59906         * signal/sigaction.c: Likewise.
59907         * signal/sigaltstack.c: Likewise.
59908         * signal/sigblock.c: Likewise.
59909         * signal/sigignore.c: Likewise.
59910         * signal/sigintr.c: Likewise.
59911         * signal/signal.c: Likewise.
59912         * signal/sigpause.c: Likewise.
59913         * signal/sigpending.c: Likewise.
59914         * signal/sigqueue.c: Likewise.
59915         * signal/sigreturn.c: Likewise.
59916         * signal/sigset.c: Likewise.
59917         * signal/sigsetmask.c: Likewise.
59918         * signal/sigstack.c: Likewise.
59919         * signal/sigsuspend.c: Likewise.
59920         * signal/sigtimedwait.c: Likewise.
59921         * signal/sigvec.c: Likewise.
59922         * signal/sigwait.c: Likewise.
59923         * signal/sigwaitinfo.c: Likewise.
59924         * signal/sysv_signal.c: Likewise.
59925         * socket/accept.c: Likewise.
59926         * socket/accept4.c: Likewise.
59927         * socket/bind.c: Likewise.
59928         * socket/connect.c: Likewise.
59929         * socket/getpeername.c: Likewise.
59930         * socket/getsockname.c: Likewise.
59931         * socket/getsockopt.c: Likewise.
59932         * socket/isfdtype.c: Likewise.
59933         * socket/listen.c: Likewise.
59934         * socket/recv.c: Likewise.
59935         * socket/recvfrom.c: Likewise.
59936         * socket/recvmsg.c: Likewise.
59937         * socket/send.c: Likewise.
59938         * socket/sendmsg.c: Likewise.
59939         * socket/sendto.c: Likewise.
59940         * socket/setsockopt.c: Likewise.
59941         * socket/shutdown.c: Likewise.
59942         * socket/sockatmark.c: Likewise.
59943         * socket/socket.c: Likewise.
59944         * socket/socketpair.c: Likewise.
59945         * stdio-common/ctermid.c: Likewise.
59946         * stdio-common/cuserid.c: Likewise.
59947         * stdio-common/remove.c: Likewise.
59948         * stdio-common/rename.c: Likewise.
59949         * stdio-common/renameat.c: Likewise.
59950         * stdio-common/tempname.c: Likewise.
59951         * stdlib/getcontext.c: Likewise.
59952         * stdlib/makecontext.c: Likewise.
59953         * stdlib/setcontext.c: Likewise.
59954         * stdlib/swapcontext.c: Likewise.
59955         * stdlib/system.c: Likewise.
59956         * streams/fattach.c: Likewise.
59957         * streams/fdetach.c: Likewise.
59958         * streams/getmsg.c: Likewise.
59959         * streams/getpmsg.c: Likewise.
59960         * streams/putmsg.c: Likewise.
59961         * streams/putpmsg.c: Likewise.
59962         * sysdeps/unix/bsd/getpt.c: Likewise.
59963         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59964         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59965         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59967         Likewise.
59968         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59969         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59970         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59971         * sysvipc/msgctl.c: Likewise.
59972         * sysvipc/msgget.c: Likewise.
59973         * sysvipc/msgrcv.c: Likewise.
59974         * sysvipc/msgsnd.c: Likewise.
59975         * sysvipc/semctl.c: Likewise.
59976         * sysvipc/semget.c: Likewise.
59977         * sysvipc/semop.c: Likewise.
59978         * sysvipc/semtimedop.c: Likewise.
59979         * sysvipc/shmat.c: Likewise.
59980         * sysvipc/shmctl.c: Likewise.
59981         * sysvipc/shmdt.c: Likewise.
59982         * sysvipc/shmget.c: Likewise.
59983         * termios/tcdrain.c: Likewise.
59984         * termios/tcflow.c: Likewise.
59985         * termios/tcflush.c: Likewise.
59986         * termios/tcgetattr.c: Likewise.
59987         * termios/tcgetpgrp.c: Likewise.
59988         * termios/tcsendbrk.c: Likewise.
59989         * termios/tcsetattr.c: Likewise.
59990         * termios/tcsetpgrp.c: Likewise.
59991         * time/adjtime.c: Likewise.
59992         * time/clock.c: Likewise.
59993         * time/getitimer.c: Likewise.
59994         * time/gettimeofday.c: Likewise.
59995         * time/setitimer.c: Likewise.
59996         * time/settimeofday.c: Likewise.
59997         * time/stime.c: Likewise.
59998         * time/time.c: Likewise.
60000 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60002         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60003         /usr/old/bin.
60005         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60006         instead of spaces.
60007         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60009 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60011         [BZ #14796]
60012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60013         FE_TONEAREST before applying Dekker multiplication and Knuth
60014         addition.  Clear inexact exceptions and check for exact zero
60015         results afterwards.
60016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60017         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60019         * math/libm-test.inc (fma_test): Add more tests.
60020         (fma_test_towardzero): Likewise.
60021         (fma_test_downward): Likewise.
60022         (fma_test_upward): Likewise.
60023         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60024         function.
60025         (libc_fesetround): New macro.
60026         (libc_fesetroundf): Likewise.
60027         (libc_fesetroundl): Likewise.
60028         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60029         function.
60030         (libc_fesetround_387): Likewise.
60031         (libc_fesetroundf): New macro.
60032         (libc_fesetround): Likewise.
60033         (libc_fesetroundl): Likewise.
60034         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60035         function.
60036         (libc_fesetroundf): New macro.
60037         (libc_fesetround): Likewise.
60038         (libc_fesetroundl): Likewise.
60039         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60040         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60041         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60042         libm_hidden_ver.
60043         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60044         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60045         libm_hidden_def.
60046         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60047         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60048         libm_hidden_ver.
60049         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60050         libm_hidden_def.
60052         [BZ #3439]
60053         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60054         integer constant usable in #if and use that to give value to enum
60055         constant.
60056         (FE_DIVBYZERO): Likewise.
60057         (FE_UNDERFLOW): Likewise.
60058         (FE_OVERFLOW): Likewise.
60059         (FE_INVALID): Likewise.
60060         (FE_INVALID_SNAN): Likewise.
60061         (FE_INVALID_ISI): Likewise.
60062         (FE_INVALID_IDI): Likewise.
60063         (FE_INVALID_ZDZ): Likewise.
60064         (FE_INVALID_IMZ): Likewise.
60065         (FE_INVALID_COMPARE): Likewise.
60066         (FE_INVALID_SOFTWARE): Likewise.
60067         (FE_INVALID_SQRT): Likewise.
60068         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60069         (FE_TONEAREST): Likewise.
60070         (FE_TOWARDZERO): Likewise.
60071         (FE_UPWARD): Likewise.
60072         (FE_DOWNWARD): Likewise.
60073         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60074         (FE_DIVBYZERO): Likewise.
60075         (FE_OVERFLOW): Likewise.
60076         (FE_UNDERFLOW): Likewise.
60077         (FE_INEXACT): Likewise.
60078         (FE_TONEAREST): Likewise.
60079         (FE_DOWNWARD): Likewise.
60080         (FE_UPWARD): Likewise.
60081         (FE_TOWARDZERO): Likewise.
60082         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60083         (FE_UNDERFLOW): Likewise.
60084         (FE_OVERFLOW): Likewise.
60085         (FE_DIVBYZERO): Likewise.
60086         (FE_INVALID): Likewise.
60087         (FE_TONEAREST): Likewise.
60088         (FE_TOWARDZERO): Likewise.
60089         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60090         (FE_OVERFLOW): Likewise.
60091         (FE_UNDERFLOW): Likewise.
60092         (FE_DIVBYZERO): Likewise.
60093         (FE_INEXACT): Likewise.
60094         (FE_TONEAREST): Likewise.
60095         (FE_TOWARDZERO): Likewise.
60096         (FE_UPWARD): Likewise.
60097         (FE_DOWNWARD): Likewise.
60098         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60099         (FE_DIVBYZERO): Likewise.
60100         (FE_OVERFLOW): Likewise.
60101         (FE_UNDERFLOW): Likewise.
60102         (FE_INEXACT): Likewise.
60103         (FE_TONEAREST): Likewise.
60104         (FE_DOWNWARD): Likewise.
60105         (FE_UPWARD): Likewise.
60106         (FE_TOWARDZERO): Likewise.
60108 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60110         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60112 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60114         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60115         commands.  Quote $PWD.
60116         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60117         -x" by "export".
60118         (remove_newlines): Remove.
60120 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60122         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60123         * stdlib/stdlib.h (atof): Moved to ...
60124         * include/bits/stdlib-float.h: Here.  New file.
60125         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60126         * stdlib/bits/stdlib-float.h: New file.
60127         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60128         -mno-sse -mno-mmx.
60129         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60130         <xmmintrin.h>.
60132 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60134         * conform/conformtest.pl (@headers): Add fenv.h.
60135         * conform/data/fenv.h-data: New file.
60136         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60137         include of <math/fenv.h>.
60139         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60140         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60141         && !UNIX98].  Enables tests for XOPEN2K8.
60142         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60143         POSIX2008]: Likewise.
60145         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60146         (struct rusage): Do not expect type or its members.
60148         [BZ #3439]
60149         * math/math.h (FP_NAN): Define macro to integer constant usable in
60150         #if and use that to give value to enum constant.
60151         (FP_INFINITE): Likewise.
60152         (FP_ZERO): Likewise.
60153         (FP_SUBNORMAL): Likewise.
60154         (FP_NORMAL): Likewise.
60156 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60158         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60159         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60160         arguments.
60162 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60164         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60165         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60166         autoconf-time if not.
60167         * configure.in: Remove AC_PREREQ.
60169 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60171         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60172         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60173         of the internal implementation.
60175 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60177         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60178         except include of <misc/sys/syslog.h>.
60180 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60183         function returns with a NULL context exit with zero.
60185 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60187         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60189 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60191         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60192         (run_program_cmd): This.
60193         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60194         (tst_langinfo): New variable.  Use it.
60196 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60198         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60199         floating point opcodes.
60201 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60203         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60204         variable.
60206         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60208         * sysdeps/mach/hurd/powerpc: Remove directory.
60209         * sysdeps/mach/powerpc: Likewise.
60211 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60213         * scripts/check-local-headers.sh: Ignore c++ headers.
60215 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60217         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60218         __libc_cleanup_region_start argument.
60220 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60222         [BZ #14784]
60223         [BZ #14785]
60224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60225         x * y using scaling, not as x * y + z.
60226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60228         * math/libm-test.inc (fma_test): Add more tests.
60229         (fma_test_towardzero): Likewise.
60230         (fma_test_downward): Likewise.
60231         (fma_test_upward): Likewise.
60233 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60235         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60237 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60239         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60240         New variable.
60242 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60244         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60246 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60249         Fix sort order.
60250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60251         Likewise.
60253 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60256         Fix the order of the list for glibc 2.17.
60257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60258         Likewise.
60260 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60264 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60266         [BZ #14610]
60267         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60268         for low part of x being zero before using __atanl (y).
60269         * math/libm-test.inc (atan2_test): Add another test.
60271         * manual/install.texi (Configuring and compiling): Document
60272         general use of test-wrapper and test-wrapper-env.
60273         * INSTALL: Regenerated.
60275         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60276         (__fma): Do not extract and scale down low bits on after-rounding
60277         systems when result rounded to normal precision would have normal
60278         exponent.
60279         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60280         (__fmal): Do not extract and scale down low bits on after-rounding
60281         systems when result rounded to normal precision would have normal
60282         exponent.
60283         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60284         (__fmal): Do not extract and scale down low bits on after-rounding
60285         systems when result rounded to normal precision would have normal
60286         exponent.
60287         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60288         macro.
60289         (fma_test): Add more tests.
60290         (fma_test_towardzero): Likewise.
60291         (fma_test_downward): Likewise.
60292         (fma_test_upward): Likewise.
60294 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60296         * sysdeps/i386/tininess.h: Renamed to ...
60297         * sysdeps/x86/tininess.h: This.
60298         * sysdeps/x86_64/tininess.h: Removed.
60300 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60302         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60303         input.  Use $(build-program-cmd).
60304         ($(objpfx)tst-array1-static.out): Likewise.
60305         ($(objpfx)tst-array2.out): Likewise.
60306         ($(objpfx)tst-array3.out): Likewise.
60307         ($(objpfx)tst-array4.out): Likewise.
60308         ($(objpfx)tst-array5.out): Likewise.
60309         ($(objpfx)tst-array5-static.out): Likewise.
60311 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60313         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60314         if defined.
60316         * nss/nsswitch.h (nss_interface_function): Provide new
60317         macro for use with NSS functions.
60318         * grp/initgroups.c: Use new macro.
60319         * nss/getXXbyYY.c: Likewise.
60320         * nss/getXXbyYY_r.c: Likewise.
60321         * nss/getXXent.c: Likewise.
60322         * nss/getXXent_r.c: Likewise.
60323         * sysdeps/posix/getaddrinfo.c: Likewise.
60325 2012-10-30  Andreas Jaeger  <aj@suse.de>
60327         * po/ru.po: Update Russion translation from translation project.
60329 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60331         [BZ #14152]
60332         [BZ #14783]
60333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60334         result and shift together with sticky bit instead of replicating
60335         round-to-nearest rounding.
60336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60338         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60339         missing underflow exceptions.
60340         (fma_test_towardzero): Add more tests.
60341         (fma_test_downward): Likewise.
60342         (fma_test_upward): Likewise.
60344         [BZ #14047]
60345         * sysdeps/generic/tininess.h: New file.
60346         * sysdeps/i386/tininess.h: Likewise.
60347         * sysdeps/sh/tininess.h: Likewise.
60348         * sysdeps/x86_64/tininess.h: Likewise.
60349         * stdlib/tst-strtod-underflow.c: Likewise.
60350         * stdlib/tst-tininess.c: Likewise.
60351         * stdlib/strtod_l.c: Include <tininess.h>.
60352         (round_and_return): Do not set errno for exact underflow cases.
60353         Force an underflow exception when setting errno for underflow.
60354         Determine underflow based on rounding to normal precision if
60355         TININESS_AFTER_ROUNDING.
60356         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60357         ERANGE for exact underflow cases.
60358         * stdlib/Makefile (tests): Add tst-tininess and
60359         tst-strtod-underflow.
60360         ($(objpfx)tst-tininess): Use $(link-libm).
60361         ($(objpfx)tst-strtod-underflow): Likewise.
60363 2012-10-30  Andreas Jaeger  <aj@suse.de>
60365         [BZ#14767]
60366         * elf/Makefile (tests): Remove conditional for have-initfini-array
60367         since this is now always required and the variable does not exist
60368         anymore.
60369         (tests-static): Likewise.
60370         (modules-names): Likewise.
60372         * po/eo.po: Add Esperanto translation from translation project.
60374         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60375         merged with constructor/destructor.
60376         (init_array): Likewise.
60377         * elf/tst-array2dep.c (fini_array): Likewise.
60378         (init_array): Likewise.
60380 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60382         * manual/message.texi: Delete @cartouche tags.
60384 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60386         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60387         EOPNOTSUPP.
60388         * sysdeps/mach/hurd/fsync.c: Likewise.
60390         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60391         [_POSIX_REALTIME_SIGNALS]: Change condition to
60392         [_POSIX_REALTIME_SIGNALS > 0].
60394 2012-10-27  Andreas Jaeger  <aj@suse.de>
60396         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60397         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60398         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60399         [__WORDSIZE != 64]: Likewise.
60401 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60403         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60404         *  iconvdata/tst-tables.sh: Likewise.
60406 2012-10-25  David S. Miller  <davem@davemloft.net>
60408         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60409         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60410         of strtoull.
60412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60413         ifunc-impl-list.c
60414         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60415         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60416         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60417         file.
60419 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60422         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60423         __getdirentries.
60425 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60426             Jim Blandy  <jimb@codesourcery.com>
60428         * scripts/cross-test-ssh.sh: New file.
60429         * manual/install.texi (Configuring and compiling): Document use of
60430         cross-test-ssh.sh.
60431         * INSTALL: Regenerated.
60433 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60435         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60436         EOPNOTSUPP.
60438 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60440         * Makeconfig (run-program-prefix): Fix comment.
60442 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60443             Jim Blandy  <jimb@codesourcery.com>
60445         * Makeconfig (test-wrapper): New variable,
60446         (test-wrapper-env): Likewise.
60447         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60448         (run-built-tests): Define to yes.
60449         (run-program-prefix): Use $(test-wrapper).
60450         (built-program-cmd): Likewise.
60451         * Rules (make-test-out): Use $(test-wrapper-env) and
60452         $(host-built-program-cmd).
60453         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60454         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60455         tst-pathopt.sh.
60456         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60457         $(test-wrapper-env) to tst-rtld-load-self.sh.
60458         ($(objpfx)order2.out): Use $(test-wrapper).
60459         ($(objpfx)tst-initorder.out): Likewise.
60460         ($(objpfx)tst-initorder2.out): Likewise.
60461         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60462         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60463         (test_wrapper_env): New variable.  Use it to run ld.so.
60464         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60465         Use it to run ld.so.
60466         (test_wrapper_env): Likewise.
60467         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60468         $(test-wrapper) to run-iconv-test.sh.
60469         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60470         (ICONV): Use $test_wrapper.
60471         * posix/Makefile ($(objpfx)globtest.out): Pass
60472         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60473         globtest.sh, not $(run-program-prefix).
60474         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60475         (test_wrapper): Likewise.
60476         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60477         set together with run_via_rtld_prefix.
60478         (run_program_prefix): Define in terms of test_wrapper and
60479         run_via_rtld_prefix.
60481 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60483         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60484         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60485         Targets removed.
60487         [BZ #14743]
60488         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60489         Declare __clock_getres, __clock_gettime, __clock_settime,
60490         __clock_nanosleep, and __clock_getcpuclockid.
60491         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60492         Remove librt_hidden_def (clock_gettime).
60493         * sysdeps/unix/clock_gettime.c: Likewise.
60494         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60495         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60496         * rt/clock_getres.c: Define __clock_getres as an alias.
60497         * sysdeps/posix/clock_getres.c: Likewise.
60498         * rt/clock_settime.c: Define __clock_settime as an alias.
60499         * sysdeps/unix/clock_settime.c: Likewise.
60500         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60501         * sysdeps/unix/clock_nanosleep.c: Likewise.
60502         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60503         * rt/clock-compat.c: New file.
60504         * rt/Makefile (librt-routines): Add clock-compat and move
60505         $(clock-routines) to ...
60506         (routines): ... here, new variable.
60507         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60508         Don't add get_clockfreq here.
60509         * rt/Versions (libc: GLIBC_2.17): New version set.
60510         Add clock_* symbols here.
60511         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60512         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60513         (GLIBC_2.17): Add clock_* symbols.
60514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60518         Likewise.
60519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60520         Likewise.
60521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60525         * NEWS: Mention the move.
60527         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60528         Use __open, __read, __close rather than their public counterparts.
60529         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60530         (__get_clockfreq_via_cpuinfo): Likewise.
60531         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60532         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60534         * config.h.in (HAVE_IFUNC): New #undef.
60535         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60536         was successful.
60537         * configure: Regenerated.
60539 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60541         * configure.in: Move READELF check to start of file.
60542         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60543         libc_cv_asm_gnu_indirect_function in the process.
60544         * configure: Regenerated.
60546 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60548         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60549         send the output to /dev/null.
60550         (libc_cv_cc_with_libunwind): Likewise.
60551         (libc_cv_as_noexecstack): Likewise.
60552         * configure: Regenerate.
60554 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60556         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60558         * posix/globtest.sh (TMPDIR): Do not set.
60559         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60560         (testout): Likewise.
60562 2012-10-24  Andreas Jaeger  <aj@suse.de>
60564         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60565         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60566         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60567         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60568         posix_fadvise64, posix_fallocate64.
60570         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60571         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60572         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60573         Likewise.
60574         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60575         Likewise.
60576         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60579         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60580         <bits/fcntl-linux.h>.
60581         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60583         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60584         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60585         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60586         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60587         [__WORDSIZE != 64]: Likewise.
60589 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60591         * Makeconfig (run-built-tests): New variable.
60592         * Rules [$(cross-compiling) = yes]: Change condition to
60593         [$(run-built-tests) = no].
60594         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60595         to [$(run-built-tests) = yes].
60596         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60597         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60598         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60599         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60600         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60601         * io/Makefile [$(cross-compiling) = no]: Likewise.
60602         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60603         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60604         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60605         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60606         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60607         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60608         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60609         * string/Makefile [$(cross-compiling) = no]: Likewise.
60611         * posix/Makefile ($(objpfx)globtest.out): Pass
60612         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60613         $(rtld-installed-name).
60614         * posix/globtest.sh (elf_objpfx): Remove variable.
60615         (rtld_installed_name): Likewise.
60616         (library_path): Likewise.
60617         (run_program_prefix): New variable.  Use for running globtest
60618         binary.
60620 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60621             Joseph Myers  <joseph@codesourcery.com>
60623         * Makeconfig (host-built-program-cmd): New variable.
60624         * elf/Makefile (tst-stackguard1-ARGS): Use
60625         $(host-built-program-cmd).
60626         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60627         (tst-spawn-ARGS): Likewise.
60628         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60630 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60631             Jim Blandy  <jimb@codesourcery.com>
60633         * Makeconfig (run-via-rtld-prefix): New variable.
60634         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60635         (built-program-cmd): Likewise.
60637 2012-10-22  Andreas Jaeger  <aj@suse.de>
60639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60640         __O_RSYNC if it exists, otherwise to O_SYNC.
60642 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60643             Joseph Myers  <joseph@codesourcery.com>
60645         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60646         /dev/null.
60647         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60648         from /dev/null
60649         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60650         /dev/null.
60652 2012-10-22  Andreas Jaeger  <aj@suse.de>
60654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60655         Define always.
60656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60659         bits/fcntl-linux.h.
60661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60662         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60664         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60665         to __O_LARGEFILE.
60666         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60667         to __O_LARGEFILE.
60669 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60670             Joseph Myers  <joseph@codesourcery.com>
60672         * config.make.in (NM): New variable.
60674 2012-10-21  Andreas Jaeger  <aj@suse.de>
60676         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60677         definitions and declarations that are provided by
60678         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60680 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60682         [BZ #14683]
60683         * elf/Makefile (tests-static): Add tst-leaks1-static.
60684         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60685         ($(objpfx)tst-leaks1-static): New rule.
60686         ($(objpfx)tst-leaks1-static-mem): Likewise.
60687         (tst-leaks1-static-ENV): New macro.
60688         * elf/dl-open.c (dl_open_worker): Check the main application
60689         only if SHARED is defined.
60690         * elf/tst-leaks1-static.c: New file.
60692 2012-10-20  Andreas Jaeger  <aj@suse.de>
60694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60695         generic values for Linux.
60696         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60697         and declarations that are provided by <bits/fcntl-linux.h> and
60698         include <bits/fcntl-linux.h>.
60699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60700         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60702 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60704         * io/fcntl.h: Move include of <bits/types.h> to the top and
60705         include it unconditionally.
60707 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60709         * wcsmbs/Makefile (tests-ifunc): New variable.
60710         (tests): Add $(tests-ifunc).
60711         * wcsmbs/test-wcschr-ifunc.c: New file.
60712         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60713         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60714         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60715         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60716         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60718         * string/Makefile (tests-ifunc): New variable.
60719         (tests): Add $(tests-ifunc).
60720         * string/test-memccpy.c (TEST_NAME): New macro.
60721         * string/test-memchr.c (TEST_NAME): Likewise.
60722         * string/test-memcmp.c (TEST_NAME): Likewise.
60723         * string/test-memcpy.c (TEST_NAME): Likewise.
60724         * string/test-memmem.c (TEST_NAME): Likewise.
60725         * string/test-memmove.c (TEST_NAME): Likewise.
60726         * string/test-memset.c (TEST_NAME): Likewise.
60727         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60728         * string/test-stpcpy.c (TEST_NAME): Likewise.
60729         * string/test-stpncpy.c (TEST_NAME): Likewise.
60730         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60731         * string/test-strcasestr.c (TEST_NAME): Likewise.
60732         * string/test-strcat.c (TEST_NAME): Likewise.
60733         * string/test-strchr.c (TEST_NAME): Likewise.
60734         * string/test-strcmp.c(TEST_NAME): Likewise.
60735         * string/test-strcpy.c (TEST_NAME): Likewise.
60736         * string/test-strcspn.c (TEST_NAME): Likewise.
60737         * string/test-strlen.c (TEST_NAME): Likewise.
60738         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60739         * string/test-strncmp.c (TEST_NAME): Likewise.
60740         * string/test-strncpy.c (TEST_NAME): Likewise.
60741         * string/test-strnlen.c (TEST_NAME): Likewise.
60742         * string/test-strpbrk.c (TEST_NAME): Likewise.
60743         * string/test-strrchr.c (TEST_NAME): Likewise.
60744         * string/test-strspn.c (TEST_NAME): Likewise.
60745         * string/test-strstr.c (TEST_NAME): Likewise.
60746         * string/test-bcopy-ifunc.c: New file.
60747         * string/test-bzero-ifunc.c: Likewise.
60748         * string/test-memccpy-ifunc.c: Likewise.
60749         * string/test-memchr-ifunc.c: Likewise.
60750         * string/test-memcmp-ifunc.c: Likewise.
60751         * string/test-memcpy-ifunc.c: Likewise.
60752         * string/test-memmem-ifunc.c: Likewise.
60753         * string/test-memmove-ifunc.c: Likewise.
60754         * string/test-mempcpy-ifunc.c: Likewise.
60755         * string/test-memset-ifunc.c: Likewise.
60756         * string/test-rawmemchr-ifunc.c: Likewise.
60757         * string/test-stpcpy-ifunc.c: Likewise.
60758         * string/test-stpncpy-ifunc.c: Likewise.
60759         * string/test-strcasecmp-ifunc.c: Likewise.
60760         * string/test-strcasestr-ifunc.c: Likewise.
60761         * string/test-strcat-ifunc.c: Likewise.
60762         * string/test-strchr-ifunc.c: Likewise.
60763         * string/test-strchrnul-ifunc.c: Likewise.
60764         * string/test-strcmp-ifunc.c: Likewise.
60765         * string/test-strcpy-ifunc.c: Likewise.
60766         * string/test-strcspn-ifunc.c: Likewise.
60767         * string/test-strlen-ifunc.c: Likewise.
60768         * string/test-strncasecmp-ifunc.c: Likewise.
60769         * string/test-strncat-ifunc.c: Likewise.
60770         * string/test-strncmp-ifunc.c: Likewise.
60771         * string/test-strncpy-ifunc.c: Likewise.
60772         * string/test-strnlen-ifunc.c: Likewise.
60773         * string/test-strpbrk-ifunc.c: Likewise.
60774         * string/test-strrchr-ifunc.c: Likewise.
60775         * string/test-strspn-ifunc.c: Likewise.
60776         * string/test-strstr-ifunc.c: Likewise.
60778         * debug/Makefile (tests-ifunc): New variable.
60779         (tests): Add $(tests-ifunc).
60780         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60781         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60782         * debug/test-stpcpy_chk-ifunc.c: New file.
60783         * debug/test-strcpy_chk-ifunc.c: Likewise.
60785 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60787         [BZ #13601]
60788         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60789         header is not read in.
60791 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60793         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60794         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60795         directly.  Pass built executable to script as
60796         $(built-program-cmd).
60797         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60798         $testprogram without using LD_LIBRARY_PATH and $ldso.
60800         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60801         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60802         $(rtld-installed-name).
60803         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60804         (rtld_installed_name): Likewise.
60805         (library_path): Likewise.
60806         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60807         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60808         $(run-program-prefix) to tst-tables.sh.
60809         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60810         it to run tst-table-from and tst-table-to.
60811         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60812         Pass it to tst-table.sh.
60813         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60814         $(run-program-prefix) to tst-gettext.sh.
60815         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60816         tst-translit.sh.
60817         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60818         tst-gettext2.sh.
60819         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60820         to run tst-gettext.
60821         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60822         to run tst-gettext2.
60823         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60824         to run tst-translit.
60825         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60826         $(run-program-prefix) to tst-mtrace.sh.
60827         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60828         to run tst-mtrace.
60829         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60830         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60831         $(rtld-installed-name).
60832         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60833         (rtld_installed_name): Likewise.
60834         (run_program_prefix): New variable.  Use it to run wordexp-test.
60836         * Makeconfig (ARCH): Remove all definitions.
60837         (machine): Likewise.
60838         [ARCH]: Remove conditional code.
60839         [!objdir]: Give error.
60840         [!objdir] (objpfx): Remove.
60841         [!objdir] (common-objpfx): Likewise.
60842         [!objdir] (common-objdir): Likewise.
60843         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60844         AC_CONFIG_FILES call.
60845         * configure: Regenerated.
60847         [BZ #13888]
60848         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60849         or TMPDIR.
60850         (testout): Likewise.
60852         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60853         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60854         $(rtld-installed-name).
60855         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60856         (rtld_installed_name): Likwise.
60857         (runit): Remove function.
60858         (run_getconf): New variable,  Use it for running getconf binary.
60860 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60862         [BZ #14716]
60863         * string/test-memmem.c (check_result): New function.
60864         (do_one_test): Use it.
60865         (check1): New function.
60866         (test_main): Use it.
60868 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60870         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60872 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60874         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60875         (_G_LSEEK64): Likewise.
60876         (_G_MMAP64): Likewise.
60877         (_G_FSTAT64): Likewise.
60878         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60879         (_G_LSEEK64): Likewise.
60880         (_G_MMAP64): Likewise.
60881         (_G_FSTAT64): Likewise.
60882         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60883         unconditional.  Call __mmap64 directly.
60884         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60885         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60886         __lseek64 directly.
60887         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60888         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60889         __mmap64 directly.
60890         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60891         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60892         __lseek64 directly.
60893         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60894         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60895         __lseek64 directly.
60896         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60897         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60898         __lseek64 directly.
60899         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60900         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60901         __fxstat64 directly.
60902         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60903         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60904         unconditional.
60905         (freopen64) [!_G_OPEN64]: Remove conditional code.
60906         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60907         unconditional.
60908         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60909         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60910         unconditional.
60911         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60912         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60913         unconditional.
60914         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60915         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60916         unconditional.
60917         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60918         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60919         unconditional.
60920         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60921         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60922         unconditional.
60923         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60924         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60925         unconditional.
60926         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60928 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60930         [BZ #12140]
60931         * manual/memory.texi (Malloc Tunable Parameters): Add note
60932         about free list pointers overwriting some perturb bytes.
60933         Wording suggested by Roland McGrath.
60935 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60937         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60938         (lgamma_test): Likewise.
60939         (tgamma_test): Likewise.
60941 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60943         [BZ #14700]
60944         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60945         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60947 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60949         * NEWS: Mention BZ #14716.
60950         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60951         when removing AVAILABLE1_USES_J macro.
60953 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60955         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60956         (__bswap_64): __uint64_t for unsigned 64-bit int.
60958 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60960         * include/string.h (memmem): Declare libc hidden alias.
60961         * string/memmem.c (memmem): Define libc hidden alias.
60962         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60963         __read, __close instead of open, read, close.
60965 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60968         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60969         global and hidden.
60970         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60971         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60972         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60973         Likewise.
60974         (__rawmemchr_sse2): Likewise.
60975         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60976         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60977         (__strchr_sse2): Likewise.
60978         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60979         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60980         (__strcasecmp_sse2): Likewise.
60981         (__strncasecmp_sse2): Likewise.
60982         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60983         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60984         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60985         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60986         (__strrchr_sse2): Likewise.
60987         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60988         ifunc-impl-list.c.
60989         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60990         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60991         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60992         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60993         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60994         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60995         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60996         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60997         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60998         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60999         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61000         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61001         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61002         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61003         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61004         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61005         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61006         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61007         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61008         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61009         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61010         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61011         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61012         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61013         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61014         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61015         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61016         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61017         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61018         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61020         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61021         global and hidden.
61022         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61023         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61024         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61025         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61026         Likewise.
61027         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61028         Likewise.
61029         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61030         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61031         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61032         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61033         ifunc-impl-list.c.
61034         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61035         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61036         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61037         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61038         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61039         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61040         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61041         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61042         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61043         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61044         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61045         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61046         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61047         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61048         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61049         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61050         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61051         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61052         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61053         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61054         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61055         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61056         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61057         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61058         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61059         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61060         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61061         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61062         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61064         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61065         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61066         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61067         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61068         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61069         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61070         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61071         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61072         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61073         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61074         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61076         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61077         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61078         * include/ifunc-impl-list.h: New file.
61079         * misc/ifunc-impl-list.c: Likewise.
61080         * misc/Makefile (routines): Add ifunc-impl-list.
61081         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61082         * string/test-string.h: Include <ifunc-impl-list.h>.
61083         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61084         TEST_NAME]: New variables.
61085         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61086         are defined.
61087         (test_init): Call __libc_ifunc_impl_list to initialize
61088         func_list if TEST_IFUNC and TEST_NAME are defined.
61090         * string/Makefile (strop-tests): Add bcopy and bzero.
61091         * string/test-bcopy.c: New file.
61092         * string/test-bzero.c: Likewise.
61093         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61094         defined.
61095         * string/test-memset.c: Support bzero test if TEST_BZERO is
61096         defined.
61097         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61098         __libc_memmove.
61099         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61100         __libc_memset.
61101         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61102         of memset.
61104 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61106         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61107         * configure: Regenerated.
61109         * Makeconfig (+link-static-before-libc): Don't include
61110         $(link-static-libc).
61112         * libio/libio.h (_IO_pos_t): Remove.
61114 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61116         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61117         McGrath.
61119 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61121         * crypt/crypt-entry.c: Include fips-private.h.
61122         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61123         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61124         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61125         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61127 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61129         * crypt/crypt-private.h: Include stdbool.h.
61130         (_ufc_setup_salt_r): Return bool.
61131         * crypt/crypt-entry.c: Include errno.h.
61132         (__crypt_r): Return NULL with EINVAL for bad salt.
61133         * crypt/crypt_util.c (bad_for_salt): New.
61134         (_ufc_setup_salt_r): Check that salt is long enough and within
61135         the specified alphabet.
61136         * crypt/badsalttest.c: New file.
61137         * crypt/Makefile (tests): Add it.
61138         ($(objpfx)badsalttest): New.
61140 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61142         * NEWS: Add entry for BZ #14602.
61144 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61146         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61147         type-generic.
61148         * math/libm-test.inc: Update comment listing what functions and
61149         macros are tested.
61150         (isgreater_test): New function.
61151         (isgreaterequal_test): Likewise.
61152         (isless_test): Likewise.
61153         (islessequal_test): Likewise.
61154         (islessgreater_test): Likewise.
61155         (isunordered_test): Likewise.
61156         (main): Call the new functions.
61158 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61160         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61161         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61162         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61163         * sysdeps/i386/configure: Regenerated.
61164         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61165         * sysdeps/mach/configure: Regenerated.
61166         * sysdeps/mach/hurd/configure: Regenerated.
61167         * sysdeps/powerpc/configure: Regenerated.
61168         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61169         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61170         * sysdeps/s390/s390-32/configure: Regenerated.
61171         * sysdeps/s390/s390-64/configure: Regenerated.
61172         * sysdeps/sh/configure: Regenerated.
61173         * sysdeps/sparc/configure: Regenerated.
61174         * sysdeps/unix/sysv/linux/configure: Regenerated.
61175         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61176         * sysdeps/x86_64/configure: Regenerated.
61178         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61179         defined.  Don't check if MAP is NULL.
61181 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61183         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61184         (_G_stat64): Likewise.
61185         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61186         (_G_stat64): Likewise.
61187         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61188         instead of struct _G_stat64.
61189         * libio/fileops.c (mmap_remap_check): Likewise.
61190         (decide_maybe_mmap): Likewise.
61191         (_IO_new_file_seekoff): Likewise.
61192         (_IO_file_stat): Likewise.
61193         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61194         _G_off64_t.
61195         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61196         instead of struct _G_stat64.
61197         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61199 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61201         [BZ #14602]
61202         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61203         Replace with ...
61204         (CHECK_EOL): New macro.
61205         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61206         CHECK_EOL.
61207         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61208         Replace with CHECK_EOL.
61209         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61210         Replace with CHECK_EOL.
61212 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61214         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61215         type-generic.
61216         * math/libm-test.inc: Update comment listing what functions and
61217         macros are tested.
61218         (finite_test): New function.
61219         (isinf_test): Likewise.
61220         (isnan_test): Likewise.
61221         (fpclassify_test): Test subnormal input.
61222         (isfinite_test): Likewise.
61223         (isnormal_test): Likewise.
61224         (main): Call the new functions.
61226 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61228         [BZ #14660]
61229         * Makerules (%.dynsym): Force C locale when running
61230         $(OBJDUMP) --dynamic-syms.
61232 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61234         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61235         <stdint.h>.
61237 2012-10-06  David S. Miller  <davem@davemloft.net>
61239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61240         upper 32-bits of the length value in %o2 since we use branch-on-register
61241         tests which consider the entire 64-bit register.
61243 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61245         * string/test-strstr.c (check2): Add a test for page boundary.
61247 2012-10-05  David S. Miller  <davem@davemloft.net>
61249         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61250         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61251         file.
61252         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61253         sysdep_routines.
61254         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61255         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61256         and bzero when HWCAP_SPARC_CRYPTO is present.
61258 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61260         [BZ #14602]
61261         * string/test-strstr.c (check2): New function.
61262         (test_main): Call check2.
61264         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61265         and bug-strchr1.
61266         * string/bug-strcasestr1.c (do_test): Moved to ...
61267         * string/test-strcasestr.c (check1): Here.  New function.
61268         (do_one_test): Break out result checking code into ...
61269         (check_result): This.  New function.
61270         (do_one_test): Call check_result.
61271         (test_main): Call check1.
61272         * string/bug-strchr1.c (do_test): Moved to ...
61273         * string/test-strchr.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-strstr1.c (main): Moved to ...
61279         * string/test-strstr.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-strcasestr1.c: Removed.
61285         * string/bug-strchr1.c: Likewise.
61286         * string/bug-strstr1.c: Likewise.
61288         * elf/Makefile (dl-routines): Add hwcaps.
61289         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61290         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61291         (_dl_important_hwcaps): Moved to ...
61292         * elf/dl-hwcaps.c: Here.  New file.
61293         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61295         [BZ #14557]
61296         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61297         if IS_IN_rtld isn't defined.
61299         * elf/dl-support.c (_dl_sysinfo_map): New.
61300         Include "get-dynamic-info.h" and "setup-vdso.h".
61301         (_dl_non_dynamic_init): Call setup_vdso.
61302         * elf/dynamic-link.h: Don't include <assert.h>.
61303         (elf_get_dynamic_info): Moved to ...
61304         * elf/get-dynamic-info.h: Here.  New file.
61305         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61306         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61307         * elf/setup-vdso.h: Here.  New file.
61308         * elf/rtld.c: Include "setup-vdso.h".
61309         (dl_main): Call setup_vdso.
61311 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61313         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61314         creal in comment listing functions tested.  List finite, isinf,
61315         isnan, isless, islessequal, isgreater, isgreaterequal,
61316         islessgreater, isunordered, lgamma_r and pow10 as functions and
61317         macros not tested.  Mention which functions not tested are aliases
61318         for other functions.  Fix typo.  Note that signs of NaNs are not
61319         tested.
61321         * scripts/config.guess: Update from config.git.
61322         * scripts/config.sub: Likewise.
61324 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61326         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61327         * misc/madvise.c (madvise): Renamed to __madvise.
61328         Make madvise a weak alias.
61329         * include/sys/mman.h: Declare __madvise.
61330         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61331         * sysdeps/unix/syscalls.list
61332         (madvise): Make __madvise the strong name, and madvise a weak alias.
61333         * sysdeps/unix/sysv/linux/syscalls.list
61334         (madvise, mmap): Remove redundant entries.
61335         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61336         * malloc/malloc.c (mtrim): Likewise.
61337         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61339 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61341         * sysdeps/mach/hurd/dl-cache.c: File removed.
61342         * config.h.in (USE_LDCONFIG): New #undef.
61343         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61344         * configure: Regenerated.
61345         * elf/Makefile (dl-routines): Add dl-cache only under
61346         [$(use-ldconfig) = yes].
61347         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61348         cache on [USE_LDCONFIG].
61349         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61350         [USE_LDCONFIG].
61351         * elf/rtld.c (dl_main): Likewise.
61353 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61355         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61356         _SC_LEVEL4_CACHE_LINESIZE.
61358 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61360         * sysdeps/unix/bsd/confstr.h: File removed.
61362 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61364         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61365         sys/sdt-config.h.
61367 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61369         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61370         Make 'mapoff' field ElfW(Off) rather than off_t.
61372 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61374         * nscd/Makefile: Remove nscd-cflags and all its users.
61375         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61376         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61378         [BZ #10631]
61379         * malloc.c (malloc_printerr): Clarify error message.
61381 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61383         [BZ #14648]
61384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61385         Set bit_FMA_Usable if FMA is supported.
61386         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61387         macro.
61388         (bit_FMA4_Usable): Updated.
61389         (index_FMA_Usable): New macro.
61390         (CPUID_FMA): Likewise.
61391         (HAS_FMA): Defined with bit_FMA_Usable.
61393 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61395         * bits/types.h (__swblk_t): Type removed.
61396         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61397         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61398         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61399         (__SWBLK_T_TYPE): Likewise.
61400         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61401         (__SWBLK_T_TYPE): Likewise.
61402         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61403         (__SWBLK_T_TYPE): Likewise.
61404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61405         (__SWBLK_T_TYPE): Likewise.
61407 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61408             Honza Horak <hhorak@redhat.com>
61410         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61411         (xdr_mapname): Use YPMAXMAP as maxsize.
61412         (xdr_peername): Use YPMAXPEER as maxsize.
61413         (xdr_keydat): Use YPAXRECORD as maxsize.
61414         (xdr_valdat): Use YPMAXRECORD as maxsize.
61416 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61418         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61420         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61421         * csu/init-first.c: ... here.
61422         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61423         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61424         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61425         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61426         * sysdeps/i386/init-first.c: File removed.
61427         * sysdeps/sh/init-first.c: File removed.
61429 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61431         [BZ #14645]
61432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61433         if x * y might underflow to zero and z is zero.
61434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61435         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61436         * math/libm-test.inc (min_subnorm_value): New variable.
61437         (fma_test): Add more tests.
61438         (fma_test_towardzero): Likewise.
61439         (fma_test_downward): Likewise.
61440         (fma_test_upward): Likewise.
61441         (initialize): Set min_subnorm_value.
61443 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61445         [BZ #14638]
61446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61447         0 + 0.
61448         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61449         mode for addition resulting in exact zero.
61450         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61452         exact 0 + 0.
61453         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61454         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61455         * math/libm-test.inc (fma_test): Add more tests.
61456         (fma_test_towardzero): New function.
61457         (fma_test_downward): Likewise.
61458         (fma_test_upward): Likewise.
61459         (main): Call the new functions.
61461 2012-09-28  David S. Miller  <davem@davemloft.net>
61463         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61465 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61467         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61468         instead of SIGALRM.
61470         * sysdeps/gnu/_G_config.h: Moved to ...
61471         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61472         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61473         * sysdeps/generic/_G_config.h: ... here.
61475         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61477         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61479         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61480         Conditionalize target on [libnss_test1.so-version].
61482         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61484         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61485         (elfobjdir): Move out of conditionals.
61487         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61488         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61489         (__nss_lookup_function): Conditionalize label remove_from_tree on
61490         [!DO_STATIC_NSS || SHARED], matching its only use.
61492 2012-09-28  David S. Miller  <davem@davemloft.net>
61494         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61495         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61496         file.
61497         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61498         sysdep_routines.
61499         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61500         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61501         when HWCAP_SPARC_CRYPTO is present.
61503 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61505         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61507 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61509         [BZ #6530]
61510         * stdio-common/vfprintf.c (process_string_arg): Revert
61511         2000-07-22 change.
61513 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61515         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61516         for testcase.
61517         * stdio-common/tst-sprintf.c: Include <locale.h>
61518         (main): Test sprintf's handling of incomplete multibyte
61519         characters.
61521 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61523         * elf/dl-runtime.c (VERSYMIDX): Removed.
61524         * elf/dl-version.c (VERSYMIDX): Likewise.
61525         * elf/do-rel.h (VERSYMIDX): Likewise.
61526         (VALIDX): Likewise.
61527         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61528         * elf/rtld.c (VALIDX): Likewise.
61529         (ADDRIDX): Likewise.
61530         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61531         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61532         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61533         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61534         (VALIDX): Likewise.
61535         (ADDRIDX): Likewise.
61537 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61539         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61541 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61543         [BZ #11438]
61544         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61545         to global scope.
61546         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61547         addresses are in the same scope as 192.0.2/24.
61548         * posix/gai.conf: Document new scope table defaults.
61550 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61552         [BZ #5298]
61553         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61554         for ftell.  Compute offsets from write pointers instead.
61555         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61557 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61559         [BZ #14543]
61560         * libio/Makefile (tests): New test case tst-fseek.
61561         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61562         combination works in wide mode.
61563         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61564         state when the external buffer state changes.
61566 2012-09-27  David S. Miller  <davem@davemloft.net>
61568         [BZ #14376]
61569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61570         pass reloc->r_addend in as the 'high' argument to
61571         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61575 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61577         * rt/tst-aio2.c: Include <pthread.h>.
61578         * rt/tst-aio3.c: Likewise.
61580 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61582         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61584 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61586         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61587         contents on [SHARED].
61589 2012-09-26  Marek Polacek  <polacek@redhat.com>
61591         [BZ #14530]
61592         [BZ #13741]
61593         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61594         for C++ and GCC <4.3 as well as for non GCC compilers.
61596 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61600 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61602         * Makefile.in (all, install): Declare with .PHONY.
61603         Reported by Michael Hope <michael.hope@linaro.org>.
61605 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61607         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61608         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61609         system header.
61610         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61611         Likewise.
61612         (sydep_routines): Add the new and the internal functions.
61613         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61614         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61616         (GLIBC_2.17): Add the new function.
61617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61618         (GLIBC_2.17): Likewise.
61619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61620         (GLIBC_2.17): Likewise.
61621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61622         (GLIBC_2.17): Likewise.
61623         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61625 2012-09-25  Alan Modra  <amodra@gmail.com>
61627         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61628         Add release barrier before setting once_control to say
61629         initialisation is done.  Add hints on lwarx.  Use macro in
61630         place of isync.
61631         (clear_once_control): Add release barrier.
61633 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61635         [BZ #13629]
61636         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61637         specially.
61638         * math/s_clog10.c (__clog10): Likewise.
61639         * math/s_clog10f.c (__clog10f): Likewise.
61640         * math/s_clog10l.c (__clog10l): Likewise.
61641         * math/s_clogf.c (__clogf): Likewise.
61642         * math/s_clogl.c (__clogl): Likewise.
61643         * math/Makefile (libm-calls): Add x2y2m1.
61644         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61645         (__x2y2m1): Likewise.
61646         (__x2y2m1l): Likewise.
61647         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61648         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61649         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61650         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61651         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61652         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61653         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61654         * sysdeps/i386/fpu/libm-test-ulps: Update.
61655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61657         [BZ #14621]
61658         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61659         int as type of variable DEPTH.
61660         (glob): Use size_t instead of int as type of variables NEWCOUNT
61661         and OLD_PATHC.
61663 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61665         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61666         Add s_sincosf-sse2.
61667         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61668         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61669         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61670         macros for using routine as __sincosf_ia32.
61671         Use macro for function declaration and weak_alias.
61672         * sysdeps/i386/fpu/libm-test-ulps: Update.
61674         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61677         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61678         subnormal argument.
61679         * math/s_cexpf.c (__cexpf): Likewise.
61680         * math/s_csinf.c (__csinf): Likewise.
61681         * math/s_csinhf.c (__csinhf): Likewise.
61682         * math/s_ctanf.c (__ctanf): Likewise.
61683         * math/s_ctanhf.c (__ctanhf): Likewise.
61684         * math/s_ccosh.c (__ccoshf): Likewise.
61685         * math/s_cexp.c (__cexpl): Likewise.
61686         * math/s_csin.c (__csin): Likewise.
61687         * math/s_csinh.c (__csinh): Likewise.
61688         * math/s_ctan.c (__ctan): Likewise.
61689         * math/s_ctanh.c (ctanh): Likewise.
61690         * math/s_ccoshl.c (__ccoshl): Likewise.
61691         * math/s_cexpl.c (__cexpl): Likewise.
61692         * math/s_csinl.c (__csinl): Likewise.
61693         * math/s_csinhl.c (__csinhl): Likewise.
61694         * math/s_ctanl.c (__ctanl): Likewise.
61695         * math/s_ctanhl.c (__ctanhl): Likewise.
61697 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61699         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61700         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61701         (_IO_off_t): Define to __off_t, not _G_off_t.
61702         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61703         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61704         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61705         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61706         type of __dummy and __dummy2 fields.
61707         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61708         (_G_ssize_t): Likewise.
61709         (_G_off_t): Likewise.
61710         (_G_pid_t): Likewise.
61711         (_G_uid_t): Likewise.
61712         (_G_wchar_t): Likewise.
61713         (_G_wint_t): Likewise.
61714         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61715         (_G_ssize_t): Likewise.
61716         (_G_off_t): Likewise.
61717         (_G_pid_t): Likewise.
61718         (_G_uid_t): Likewise.
61719         (_G_wchar_t): Likewise.
61720         (_G_wint_t): Likewise.
61721         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61722         (_G_ssize_t): Likewise.
61723         (_G_off_t): Likewise.
61724         (_G_pid_t): Likewise.
61725         (_G_uid_t): Likewise.
61726         (_G_wchar_t): Likewise.
61727         (_G_wint_t): Likewise.
61729 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61731         * malloc/arena.c: Include malloc-sysdep.h.
61732         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61733         is sufficient to shrink the heap or an unmap is needed.
61734         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61735         new function check_may_shrink_heap.
61736         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61737         new function check_may_shrink_heap.
61739 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61741         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61742         comments.
61744 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61746         * catgets/test-gencat.sh: Add "set -e".
61747         * elf/tst-pathopt.sh: Likewise.
61748         * grp/tst_fgetgrent.sh: Likewise.
61749         * iconvdata/run-iconv-test.sh: Likewise.
61750         * intl/tst-gettext.sh: Likewise.
61751         * intl/tst-gettext2.sh: Likewise.
61752         * intl/tst-gettext4.sh: Likewise.
61753         * intl/tst-gettext6.sh: Likewise.
61754         * intl/tst-translit.sh: Likewise.
61755         * io/ftwtest-sh: Likewise.
61756         * libio/test-freopen.sh: Likewise.
61757         * malloc/tst-mtrace.sh: Likewise.
61758         * posix/globtest.sh: Likewise.
61759         * posix/tst-getconf.sh: Likewise.
61760         * posix/wordexp-tst.sh: Likewise.
61761         * stdio-common/tst-printf.sh: Likewise.
61762         * stdio-common/tst-unbputc.sh: Likewise.
61763         * stdlib/tst-fmtmsg.sh: Likewise.
61764         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61765         * catgets/Makefile: Do not specify -e option when running
61766         testsuite shell scripts.
61767         * elf/Makefile: Likewise.
61768         * grp/Makefile: Likewise.
61769         * iconvdata/Makefile: Likewise.
61770         * intl/Makefile: Likewise.
61771         * io/Makefile: Likewise.
61772         * libio/Makefile: Likewise.
61773         * malloc/Makefile: Likewise.
61774         * posix/Makefile: Likewise.
61775         * stdio-common/Makefile: Likewise.
61776         * stdlib/Makefile: Likewise.
61777         * sysdeps/x86_64/Makefile: Likewise.
61779         * io/ftwtest-sh: Add copyright header.
61780         * posix/globtest.sh: Likewise.
61781         * posix/tst-getconf.sh: Likewise.
61782         * posix/wordexp-tst.sh: Likewise.
61783         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61785 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61787         [BZ #13679]
61788         * Makeconfig (+link): Defined as $(+link-static) if
61789         $(build-shared) isn't yes.
61790         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61791         isn't yes.
61792         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61794         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61796         [BZ #14562]
61797         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61798         new chunk size with MALLOC_ALIGN_MASK.
61800 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61802         [BZ #5044]
61803         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61804         <rounding-mode.h>.
61805         (__printf_fphex): Determine rounding using get_rounding_mode and
61806         round_away.
61807         * stdio-common/tst-printf-round.c (struct hex_test): New
61808         structure.
61809         (hex_tests): New variable.
61810         (test_hex_in_one_mode): New function.
61811         (do_test): Also run tests for hex float output.
61813 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61815         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61816         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61817         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61818         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61819         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61820         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61821         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61822         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61824 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61826         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61827         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61828         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61829         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61831 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61833         [BZ #14579]
61834         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61835         mode only.
61836         * elf/tst-rtld-load-self.sh: New test.
61837         * elf/Makefile: Run it.
61839 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61841         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61842         (tst-writev-ENV): Remove.
61843         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61845 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61847         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61849 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61851         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61852         unconditional.
61853         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61854         Likewise.
61855         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61856         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61857         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61858         Likewise.
61860 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61862         [BZ #14587]
61863         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61864         * config.make.in (have-cpp-asm-debuginfo): Removed.
61865         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61866         * configure: Regenerated.
61868 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61870         [BZ #5044]
61871         * stdio-common/printf_fp.c: Include <stdbool.h> and
61872         <rounding-mode.h>.
61873         (___printf_fp): Determine rounding using get_rounding_mode and
61874         round_away.
61875         * stdio-common/tst-printf-round.c: New file.
61876         * stdio-common/Makefile (tests): Add tst-printf-round.
61877         (link-libm): New variable.
61878         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61880 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61882         [BZ #14576]
61883         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61884         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61885         Likewise.
61886         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61887         Likewise.
61889 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61891         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61892         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61893         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61894         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61896 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61898         [BZ #14518]
61899         * include/rounding-mode.h: New file.
61900         * sysdeps/generic/get-rounding-mode.h: Likewise.
61901         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61902         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61903         (MAX_VALUE): New macro.
61904         (MIN_VALUE): Likewise.
61905         (overflow_value): New function.
61906         (underflow_value): Likewise.
61907         (round_and_return): Use overflow_value and underflow_value to
61908         determine return values in overflow and underflow cases.  Use
61909         round_away to determine rounding depending on rounding mode.
61910         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61911         determine return values in overflow and underflow cases.
61912         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61913         (struct test_results): New structure.
61914         (struct test): Use struct test_results to store expected results
61915         for all rounding modes.
61916         (TEST): Include expected results for all rounding modes.
61917         (test_in_one_mode): New function.
61918         (do_test): Use test_in_one_mode to compute and check results.
61919         Check results for all rounding modes.
61920         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61921         $(link-libm).
61923 2012-12-09  Allan McRae  <allan@archlinux.org>
61925         * sysdeps/i386/fpu/libm-test-ulps: Update
61927 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61929         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61930         (_G_int32_t): Likewise.
61931         (_G_uint16_t): Likewise.
61932         (_G_uint32_t): Likewise.
61933         (_G_HAVE_BOOL): Likewise.
61934         (_G_HAVE_ATEXIT): Likewise.
61935         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61936         (_G_HAVE_IO_FILE_OPEN): Likewise.
61937         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61938         (_G_int32_t): Likewise.
61939         (_G_uint16_t): Likewise.
61940         (_G_uint32_t): Likewise.
61941         (_G_HAVE_BOOL): Likewise.
61942         (_G_HAVE_ATEXIT): Likewise.
61943         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61944         (_G_HAVE_IO_FILE_OPEN): Likewise.
61945         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61946         (_G_int32_t): Likewise.
61947         (_G_uint16_t): Likewise.
61948         (_G_uint32_t): Likewise.
61949         (_G_HAVE_BOOL): Likewise.
61950         (_G_HAVE_ATEXIT): Likewise.
61951         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61952         (_G_HAVE_IO_FILE_OPEN): Likewise.
61954 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61956         * csu/libc-tls.c: Update copyright years.
61958 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61960         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61961         [!_G_USING_THUNKS]: Remove conditional code.
61962         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61963         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61965         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61966         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61967         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61968         (_G_VTABLE_LABEL_PREFIX): Likewise.
61969         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61970         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61971         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61972         (_G_VTABLE_LABEL_PREFIX): Likewise.
61973         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61974         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61976         (_G_VTABLE_LABEL_PREFIX): Likewise.
61977         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61979 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61981         * libio/Makefile: Include ../Makeconfig before tests.
61982         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61983         only if $(build-shared) is yes.
61985         * iconv/gconv_db.c: Update copyright years.
61987 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61989         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61990         unwind info if defined PIC. Fix special cases description.
61991         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61993         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61994         DP_HI_MASK entry.
61995         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61997 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61999         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62001         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62002         is NULL.
62004         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62005         (LDLIBS-tst-chk4): This.
62006         (LDFLAGS-tst-chk5): Renamed to ...
62007         (LDLIBS-tst-chk5): This.
62008         (LDFLAGS-tst-chk6): Renamed to ...
62009         (LDLIBS-tst-chk6): This.
62010         (LDFLAGS-tst-lfschk4): Renamed to ...
62011         (LDLIBS-tst-lfschk4): This.
62012         (LDFLAGS-tst-lfschk5): Renamed to ...
62013         (LDLIBS-tst-lfschk5): This.
62014         (LDFLAGS-tst-lfschk6): Renamed to ...
62015         (LDLIBS-tst-lfschk6): This.
62017         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62018         on $(common-objpfx)soversions.mk.
62020 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62022         [BZ #10014]
62023         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62024         example host name.
62026 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62028         * malloc/arena.c (arena_get_retry): New function that gets
62029         another arena for the caller to try its request on.
62030         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62031         current arena cannot fulfill the request.
62032         (__libc_memalign): Likewise.
62033         (__libc_memalign): Likewise.
62034         (__libc_pvalloc): Likewise.
62035         (__libc_calloc): Likewise.
62037 2012-09-05  John Tobey  <john.tobey@gmail.com>
62039         [BZ #13542]
62040         * manual/arith.texi (Operations on Complex): Fix description
62041         of carg branch cut.
62043 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62045         [BZ #10014]
62046         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62047         host name.
62049         [BZ #10038]
62050         * manual/memory.texi (Memory): Make order of menu items match
62051         order of sections.
62053 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62055         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62056         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62057         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62059 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62061         * csu/libc-tls.c (static_dtv): Renamed to ...
62062         (_dl_static_dtv): This.  Make it global.
62063         (_dl_initial_dtv): Removed.
62064         (__libc_setup_tls): Updated.
62065         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62066         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62067         DL_INITIAL_DTV.
62069 2012-09-06  Petr Machata  <pmachata@redhat.com>
62071         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62072         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62073         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62074         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62076 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62078         [BZ #14545]
62079         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62080         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62081         freeing dtv[-1].
62083 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62085         [BZ #14544]
62086         * Makeconfig (link-static-before-libc): Replace $(+prector)
62087         with $(+prectorT).
62088         (link-static-after-libc): Replace $(+postctor) with
62089         $(+postctorT).
62090         (link-bounded): Replace $(+prector)/$(+postctor) with
62091         $(+prectorT)/$(+postctorT).
62092         (+prectorT): New macro.
62093         (+postctorT): Likewise.
62095 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62097         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62098         (round_str): Handle values above the maximum for IBM long double
62099         as inexact.
62100         * stdlib/tst-strtod-round.c (tests): Regenerated.
62102 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62104         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62105         assembler flag.
62106         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62107         zarch_nohighgprs around the zarch optimized routines.
62108         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62109         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62110         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62111         for zarch.
62113 2012-09-05  David S. Miller  <davem@davemloft.net>
62115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62117         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62118         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62119         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62120         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62121         entries.
62123 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62125         * malloc/arena.c: Fold copyright years.
62126         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62128 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62130         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62132 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62134         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62138         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62139         change internal state upon failure.
62141 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62143         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62144         * malloc/memusage.c (mmap): Likewise.
62145         (mmap64, mremap): Likewise.  Adjust name in comment.
62147 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62149         * libio/fileops.c: Fix typos in comments.
62150         * libio/oldfileops.c: Likewise.
62151         * libio/wfileops.c: Likewise.
62153 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62155         [BZ #1349]
62156         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62157         (tst-malloc-usable-ENV): Set environment for test case.
62158         * malloc/hooks.c (malloc_check_get_size): New function to get
62159         requested size.
62160         * malloc/malloc.c (musable): Use malloc_check_get_size.
62161         * malloc/tst-malloc-usable.c: New test case.
62163 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62165         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62167 2012-09-05  Allan McRae  <allan@archlinux.org>
62169         [BZ #13966]
62170         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62171         determine header location.
62172         * configure: Regenerated.
62174 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62176         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62177         float format.
62178         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62179         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62180         format.
62181         (test): Regenerate.
62183 2012-09-04  David S. Miller  <davem@davemloft.net>
62185         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62186         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62187         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62189 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62191         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62192         failures.
62194         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62196 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62198         [BZ #9914]
62199         * libio/iogetdelim.c: Include <limits.h>.
62200         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62201         + len + 1 would overflow.
62203 2012-09-03  Andreas Jaeger  <aj@suse.de>
62205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62206         * sysdeps/i386/fpu/libm-test-ulps: Update.
62208 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62210         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62211         Add s_sinf-sse2, s_conf-sse2.
62213         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62214         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62215         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62216         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62218         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62219         for using routine as __sinf_ia32.
62220         Use macro for function declaration and weak_alias.
62221         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62222         for using routine as __cosf_ia32.
62223         Use macro for function declaration and weak_alias.
62225         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62226         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62228         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62229         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62232         * math/libm-test.inc (cos_test): Add more test cases.
62233         (sin_test): Likewise.
62234         (sincos_test): Likewise.
62236 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62239         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62240         hidden.
62241         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62243 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62245         [BZ #14538]
62246         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62247         first element of the GOT.
62248         (elf_machine_load_address): Return the difference between
62249         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62251 2012-09-01  Allan McRae  <allan@archlinux.org>
62253         [BZ #13412]
62254         * configure.in (AWK): Require gawk version 3.0 or later.
62255         * configure: Regenerated.
62257 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62259         * sysdeps/unix/sysv/linux/kernel-features.h
62260         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62261         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62262         [__NR_clock_getres]: Make code unconditional.
62263         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62264         (clock_getcpuclockid): Remove code left unreachable by removal of
62265         conditionals.
62266         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62267         code unconditional.
62268         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62269         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62270         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62271         Make code unconditional.
62272         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62273         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62274         * sysdeps/unix/sysv/linux/clock_settime.c
62275         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62276         conditional code.
62277         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62278         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62280 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62282         [BZ #14476]
62283         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62284         scripts/test-installation.pl.
62286         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62287         and $ld_so_version if it is set.
62289 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62291         [BZ #14516]
62292         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62293         failure if reading from procfs failed.
62294         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62296 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62298         * sysdeps/unix/sysv/linux/kernel-features.h
62299         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62300         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62301         Remove conditional code.
62302         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62303         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62304         Remove conditional code.
62305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62306         * sysdeps/unix/sysv/linux/i386/fxstat.c
62307         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62309         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62310         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62312         * sysdeps/unix/sysv/linux/i386/lxstat.c
62313         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62315         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62316         Remove conditional code.
62317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62318         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62319         Remove conditional code.
62320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62321         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62322         <kernel-features.h>.
62323         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62324         Remove.
62325         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62326         Remove conditional code.
62327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62328         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62329         Remove conditional.
62331 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62333         [BZ #5400]
62334         * NEWS: Add fixed bug number.
62336 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62338         [BZ #14519]
62339         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62340         underflowing exponent in case of negative sign.
62341         * stdlib/tst-strtod-round-data: Add more tests.
62342         * stdlib/tst-strtod-round.c (tests): Regenerated.
62344         [BZ #3479]
62345         * stdlib/strtod_l.c (NDIG): Remove.
62346         (HEXNDIG): Likewise.
62347         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62348         smallest representable value.
62349         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62350         lie within an exact representation of 1/2 ulp of the result.
62351         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62352         unconditionally.
62353         (TENS_P9_IDX): Define unconditionally.
62354         (TENS_P9_SIZE): Likewise.
62355         (TENS_P10_IDX): Likewise.
62356         (TENS_P10_SIZE): Likewise.
62357         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62358         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62359         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62360         entries for 10^2^13 and 10^2^14.
62361         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62362         (TENS_P13_IDX): Define.
62363         (TENS_P13_SIZE): Likewise.
62364         (TENS_P14_IDX): Likewise.
62365         (TENS_P14_SIZE): Likewise.
62366         (_fpioconst_pow10): Change array size to
62367         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62368         unconditional.
62369         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62370         1024]: Add entries for 10^2^13 and 10^2^14.
62371         [LAST_POW10 > _LAST_POW10]: Remove #error.
62372         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62373         (_fpioconst_pow10): Change array size to
62374         FPIOCONST_POW10_ARRAY_SIZE.
62375         * stdlib/gen-fpioconst.c: New file.
62376         * stdlib/gen-tst-strtod-round.c: Likewise.
62377         * stdlib/tst-strtod-round-data: Likewise.
62378         * stdlib/tst-strtod-round.c: Likewise.
62379         * stdlib/Makefile (tests): Add tst-strtod-round.
62381         [BZ #14459]
62382         * stdlib/strtod_l.c: Include <stdint.h>.
62383         (NDEBUG): Do not define.
62384         (round_and_return): Change EXPONENT parameter to type intmax_t.
62385         Rearrange calculations to avoid internal overflow possibilities.
62386         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62387         Rearrange calculations to avoid internal overflow possibilities.
62388         Assert that number fits inside MPNSIZE limbs.
62389         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62390         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62391         calculations and add assertions to avoid internal overflow
62392         possibilities.  Add casts to avoid signed/unsigned operations.
62393         * stdlib/tst-strtod-overflow.c: New file.
62394         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62396 2012-08-25  Marek Polacek  <polacek@redhat.com>
62398         * time/time.h: Fix some typos in comments.
62400 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62402         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62403         * posix/tst-rfc3484-2.c: Likewise.
62404         * posix/tst-rfc3484-3.c: Likewise.
62406 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62408         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62409         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62411 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62413         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62414         #include of fxstatat64.c.
62416 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62418         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62419         * shadow/getspent_r.c: Likewise.
62420         * shadow/getspnam.c: Likewise.
62421         * shadow/getspnam_r.c: Likewise.
62422         * gshadow/getsgent.c: Likewise.
62423         * gshadow/getsgent_r.c: Likewise.
62424         * gshadow/getsgnam.c: Likewise.
62425         * gshadow/getsgnam_r.c: Likewise.
62426         * inet/getnetbyad.c: Likewise.
62427         * inet/getnetbyad_r.c: Likewise.
62428         * inet/getnetbynm.c: Likewise.
62429         * inet/getnetbynm_r.c: Likewise.
62430         * inet/getnetent.c: Likewise.
62431         * inet/getnetent_r.c: Likewise.
62432         * inet/getproto.c: Likewise.
62433         * inet/getproto_r.c: Likewise.
62434         * inet/getprtent.c: Likewise.
62435         * inet/getprtent_r.c: Likewise.
62436         * inet/getprtname.c: Likewise.
62437         * inet/getprtname_r.c: Likewise.
62438         * inet/getrpcbyname.c: Likewise.
62439         * inet/getrpcbyname_r.c: Likewise.
62440         * inet/getrpcbynumber.c: Likewise.
62441         * inet/getrpcbynumber_r.c: Likewise.
62442         * inet/getrpcent.c: Likewise.
62443         * inet/getrpcent_r.c: Likewise.
62444         * inet/getaliasent.c: Likewise.
62445         * inet/getaliasent_r.c: Likewise.
62446         * inet/getaliasname.c: Likewise.
62447         * inet/getaliasname_r.c: Likewise.
62448         * nscd/getgrgid_r.c: Likewise.
62449         * nscd/getgrnam_r.c: Likewise.
62450         * nscd/gethstbyad_r.c: Likewise.
62451         * nscd/gethstbynm3_r.c: Likewise.
62452         * nscd/getpwnam_r.c: Likewise.
62453         * nscd/getpwuid_r.c: Likewise.
62454         * nscd/getsrvbynm_r.c: Likewise.
62455         * nscd/getsrvbypt_r.c: Likewise.
62456         * nscd/gai.c: Likewise.
62458         * configure.in (build_nscd): New substituted variable, set
62459         by --disable-build-nscd and defaults to $use_nscd.
62460         * configure: Regenerated.
62461         * config.make.in (build-nscd): New substituted variable.
62462         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62463         Change conditional to require [$(build-nscd) = yes] as well.
62464         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62466         [BZ# 13696]
62467         * configure.in (use_nscd): New substituted variable, set by
62468         --disable-nscd.  If enabled, define USE_NSCD.
62469         * configure: Regenerated.
62470         * config.h.in: Add USE_NSCD.
62471         * config.make.in (use-nscd): New substituted variable.
62472         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62473         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62474         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62475         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62476         (CFLAGS-getgrnam_r.c): Likewise.
62477         (CFLAGS-initgroups.c): Likewise.
62478         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62479         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62480         Variables removed.
62481         * inet/getnetgrent_r.c
62482         (nscd_setnetgrent): New function, broken out of ...
62483         (setnetgrent): ... here.  Call it.
62484         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62485         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62486         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62487         * nscd/Makefile (routines, aux): Move definitions after include of
62488         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62489         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62490         Conditionalize on [USE_NSCD].
62491         (is_nscd, nscd_init_cb): Likewise.
62492         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62493         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62494         * nss/nss_db/db-init.c: Likewise.
62495         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62496         [USE_NSCD].
62497         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62498         (make_request): Use it.
62499         (cache_valid_p): New function.
62500         (__check_pf): Use it.
62501         * NEWS: Add item for --disable-nscd.
62503 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62505         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62506         to support sed >= 4.2.1-20-ga9bf076.
62507         * configure: Regenerated.
62509 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62511         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62512         Conditionalize whole body on [IREL].
62514 2012-08-22  Jeff Law <law@redhat.com>
62516         [BZ #14505]
62517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62518         if the family is PF_UNSPEC.
62520 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62522         * Makerules (lib-version): Rename from V.
62523         (install-lib-nosubdir): Change V to lib-version.
62525 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62527         [BZ #14252]
62528         * powerpc32/power6/wcschr.c: New file.
62529         * powerpc32/power6/wcscpy.c: New file.
62530         * powerpc32/power6/wcsrchr.c: New file.
62531         * powerpc64/power6/wcschr.c: New file.
62532         * powerpc64/power6/wcscpy.c: New file.
62533         * powerpc64/power6/wcsrchr.c: New file.
62535 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62537         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62538         (two_way_short_needle): Use it.
62539         * string/strstr.c (AVAILABLE1_USES_J): Define.
62540         * string/strcasestr.c: Likewise.
62542         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62543         array references.
62544         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62546         [BZ #11607]
62547         * NEWS: Add an entry.
62548         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62549         define their defaults.
62550         (two_way_short_needle): Detect end-of-string on-the-fly.
62551         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62552         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62553         * string/bug-strcasestr1.c: New test.
62554         * string/Makefile: Run it.
62556 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62558         [BZ #11607]
62559         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62560         the first character.
62562 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62564         * csu/elf-init.c (__libc_csu_irel): Function removed.
62565         * csu/libc-start.c (apply_irel): New function.
62566         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62568 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62570         * sysdeps/unix/sysv/linux/kernel-features.h
62571         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62572         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62573         <kernel-features.h>.
62574         [__NR_fadvise64_64]: Make code unconditional.
62575         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62576         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62577         !__NR_fadvise64_64)]: Likewise.
62578         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62579         !__NR_fadvise64_64))]: Likewise.
62580         [__NR_fadvise64]: Make code unconditional.
62581         [!__NR_fadvise64]: Remove conditional code.
62582         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62583         <kernel-features.h>.
62584         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62585         unconditional.
62586         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62587         conditional code.
62588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62589         not include <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/s390/s390-32/posix_fadvise64.c: Do not
62595         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.
62601 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62604         slight instruction rearrangements per scrollpipe analysis.
62605         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62607 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62609         * manual/syslog.texi (syslog; vsyslog, closelog):
62610         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62611         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62613         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62614         DSOCAPS to match condition on defining it.
62616 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62618         * sysdeps/unix/sysv/linux/kernel-features.h
62619         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62621         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62622         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62624         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62625         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62627         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62628         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62630         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62631         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62633         * sysdeps/unix/sysv/linux/kernel-features.h
62634         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62635         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62636         unconditional.
62637         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62638         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62639         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62640         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62641         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62642         Make code unconditional.
62643         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62644         (__mmap64) [!__NR_mmap2]: Likewise.
62645         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62646         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62647         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62648         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62649         [__NR_mmap2]: Make code unconditional.
62650         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62651         (__mmap64) [!__NR_mmap2]: Likewise.
62653 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62655         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62657 2012-08-18  Andreas Jaeger  <aj@suse.de>
62659         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62661 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62663         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62664         * include/unistd.h (__have_sock_cloexec): Likewise.
62665         (__have_pipe2): Likewise.
62666         (__have_dup3): Likewise.
62668 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62670         [BZ #9685]
62671         * include/unistd.h (__have_pipe2): Change define into an extern int.
62672         (__have_dup3): Likewise.
62673         * socket/have_sock_cloexec.c: Include fcntl.h.
62674         (__have_pipe2): New variable.
62675         (__have_dup3): Likewise.
62677 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62679         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62681 2012-08-17  Marek Polacek  <polacek@redhat.com>
62683         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62684         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62686 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62688         * configure.in: Add AC_SUBST for sysheaders.
62689         * configure: Regenerated.
62690         * config.make.in (sysheaders): New substituted variable.
62692         * sysdeps/unix/mkfifo.c: Moved ...
62693         * sysdeps/posix/mkfifo.c: ... here.
62694         * sysdeps/unix/mkfifoat.c: Moved ...
62695         * sysdeps/posix/mkfifoat.c: ... here.
62697         * sysdeps/unix/utime.c: Moved ...
62698         * sysdeps/posix/utime.c: ... here.
62700         * sysdeps/unix/time.c: Moved ...
62701         * sysdeps/posix/time.c: ... here.
62702         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62703         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62705         * sysdeps/unix/nice.c: Moved ...
62706         * sysdeps/posix/nice.c: ... here.
62708         * sysdeps/unix/alarm.c: Moved ...
62709         * sysdeps/posix/alarm.c: ... here.
62711         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62713 2012-08-17  Jeff Law <law@redhat.com>
62715         * intl/Makefile (codeset_mo): New variable.
62716         ($(codeset_mo)): New target.
62717         (tst-codeset.out): Depend on that.  Remove explicit rule.
62718         (tst-gettext3.out, tst-gettext5.out): Likewise.
62719         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62720         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62721         * intl/tst-codeset.sh: Remove.
62722         * intl/tst-gettext3.sh: Likewise.
62723         * intl/tst-gettext5.sh: Likewise.
62725 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62727         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62728         * sysdeps/unix/syscalls.list: ... here.
62730         * sysdeps/posix/getaddrinfo.c
62731         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62732         (gaiconf_init, gaiconf_reload): Use them.
62733         [!_STATBUF_ST_NSEC]
62734         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62735         Define using time_t rather than struct timespec.
62737         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62738         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62739         Macros removed.
62740         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62741         [!NO_THREADS].
62742         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62743         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62744         Likewise.
62746         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62747         __libc_cleanup_push argument.
62749         * bits/param.h: New file.
62750         * misc/sys/param.h: New file.
62751         * include/sys/param.h: New file.
62752         * misc/Makefile (headers): Add bits/param.h.
62753         * sysdeps/generic/sys/param.h: File removed.
62754         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62755         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62756         * sysdeps/mach/hurd/bits/param.h: New file.
62757         * sysdeps/mach/hurd/sys/param.h: File removed.
62759         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62760         last change.
62762         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62763         [_IO_MTSAFE_IO].
62764         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62765         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62766         New macros.
62768         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62769         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62770         rather than -D_IO_MTSAFE_IO conditionally.
62771         * stdio-common/Makefile (CPPFLAGS): Likewise.
62772         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62773         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62774         Use $(libio-mtsafe).
62775         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62776         of -D_IO_MTSAFE_IO.
62777         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62778         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62779         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62780         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62781         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62782         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62783         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62784         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62785         (CFLAGS-fread_u_chk.c): Likewise.
62786         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62787         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62788         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62789         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62790         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62791         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62792         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62793         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62794         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62796         * libio/Makefile: Test [$(libc-reentrant) = yes]
62797         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62799         * Makeconfig
62800         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62801         * sysdeps/pthread/configure: File removed.
62802         * sysdeps/pthread/Makeconfig: New file.
62803         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62804         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62806 2012-08-16  Gary Benson  <gbenson@redhat.com>
62808         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62809         unmapping the first object in a namespace.
62811 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62813         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62814         (__internal_setnetgrent): ... this.  Add internal_function to
62815         definition.  Add libc_hidden_def.
62816         (setnetgrent): Update caller.
62817         (internal_endnetgrent): Renamed to ...
62818         (__internal_endnetgrent): ... this.  Add internal_function to
62819         definition.  Add libc_hidden_def.
62820         (endnetgrent): Update caller.
62821         (internal_getnetgrent_r): Renamed to ...
62822         (__internal_getnetgrent_r): ... this.  Add internal_function to
62823         definition.  Add libc_hidden_def.
62824         (__getnetgrent_r): Update caller.
62825         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62827 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62829         * stdlib/longlong.h: Update from GCC.
62831 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62833         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62834         on _QL, which is set by umul_ppmm but never used.
62835         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62836         variables, which are set by GMP macros but never used.
62837         * stdio-common/_itowa.c (_itowa): Likewise.
62838         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62839         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62841 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62843         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62844         struct La_sh_regs is not constant.
62845         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62846         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62847         and struct La_sparc64_regs are not constant.
62849 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62851         * sysdeps/unix/sysv/linux/kernel-features.h
62852         (__ASSUME_POSIX_TIMERS): Remove.
62853         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62854         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62855         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62856         Make code unconditional.
62857         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62858         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62859         Make code unconditional.
62860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62861         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62862         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62864         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62865         Make code unconditional.
62866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62867         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62868         (__libc_missing_posix_timers): Remove.
62870 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62872         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62873         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62875         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62877         * elf/dl-sym.c: Include <stdlib.h>.
62879         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62880         constants, which avoids warnings in 32-bit builds.
62882         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62883         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62885         * misc/lseek.c: File moved to ...
62886         * io/lseek.c: ... here.
62888         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62890         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62891         shifting LEN more than 31 bits at once.
62893 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62895         [BZ #14195]
62896         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62897         segmentation fault for a case of two empty input strings.
62898         * string/test-strncasecmp.c (check1): Renamed to...
62899         (bz12205): ...this.
62900         (bz14195): Add new testcase for two empty input strings and N > 0.
62901         (test_main): Call new testcase, adapt for renamed function.
62903 2012-08-15  Andreas Jaeger  <aj@suse.de>
62905         [BZ #14090]
62906         * crypt/md5test2.c: New test, based on test supplied by Serge
62907         Belyshev <belyshev@depni.sinp.msu.ru>.
62908         * crypt/Makefile (xtests): Add md5test-giant..
62909         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62911 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62913         [BZ #14090]
62914         * crypt/md5.c (md5_process_block): Don't assume the buffer
62915         length is less than 2**32.
62916         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62917         length is less than 2**64.
62919 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62921         * string/str-two-way.h: Include <sys/param.h>.
62922         (MAX): Macro removed.
62924         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62925         Move #define and #undef of memmove to just before and after
62926         including <string.h>.
62928         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62929         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62930         and after including <string.h>.  Move declarations of
62931         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62932         to before #include "string/memmove.c".
62934         * include/dirent.h: Declare __getdirentries.
62936         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62937         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62939 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62941         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62942         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62943         * sysdeps/i386/configure: Regenerated.
62944         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62945         STABS_CURRENT_FILE, and STABS_FUN.
62946         (END): Remove call to STABS_FUN_END.
62947         (STABS_CURRENT_FILE1): Delete.
62948         (STABS_CURRENT_FILE): Likewise.
62949         (STABS_FUN): Likewise.
62950         (STABS_FUN_END): Likewise.
62951         (STABS_FUN2): Likewise.
62952         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62953         * sysdeps/x86_64/configure: Regenerated.
62955 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62957         * elf/dl-open.c: Include <atomic.h>.
62958         * elf/dl-lookup.c: Likewise.
62960 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62962         * sysdeps/unix/sysv/linux/kernel-features.h
62963         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62964         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62965         unconditionally.
62966         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62967         unconditionally.
62968         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62969         condition on __ASSUME_CLONE_THREAD_FLAGS.
62971 2012-08-14  Andreas Jaeger  <aj@suse.de>
62973         * sysdeps/i386/fpu/libm-test-ulps: Update.
62975 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62977         * include/atomic.h (atomic_exchange_and_add): Split into ...
62978         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62979         New atomic macros.
62981 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62985 2012-08-13  Jeff Law <law@redhat.com>
62987         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62988         null byte in the output string.
62990 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62992         * sysdeps/unix/sysv/linux/kernel-features.h
62993         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62994         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62995         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62996         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62997         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62998         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62999         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63001 2012-08-09  Jeff Law <law@redhat.com>
63003         [BZ #13939]
63004         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63005         When avoid_arena is set, don't retry in the that arena.  Pick the
63006         next one, whatever it might be.
63007         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63008         (arena_lock): Pass in new parameter to arena_get2.
63009         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63010         arena_get2.
63011         (__libc_malloc): Unify retrying after main arena failure with
63012         __libc_memalign version.
63013         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63015 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63017         [BZ #14166]
63018         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63019         to __redirect_strstr.
63020         (__strstr_sse42): Use typeof __redirect_strstr.
63021         (__strstr_ia32): Likewise.
63022         (__libc_strstr): New prototype.
63023         (strstr): Renamed to ...
63024         (__libc_strstr): This.
63025         (strstr): New strong alias of __libc_strstr.
63026         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63027         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63028         __redirect_time.
63029         Include <time.h>.
63030         (__libc_time): New prototype.
63031         (time_ifunc): Replace time with __libc_time.
63032         (time): New strong alias and hidden definition of __libc_time.
63033         (__GI_time): Remove strong alias.
63034         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63035         Include <stddef.h>.
63036         (memmove): Redefined to __redirect_memmove.
63037         (__memmove_sse2): Use typeof __redirect_memmove.
63038         (__memmove_ssse3): Likewise.
63039         (__memmove_ssse3_back): Likewise.
63040         (__libc_memmove): New prototype.
63041         (memmove): Renamed to ...
63042         (__libc_memmove): This.
63043         (memmove): New strong alias of __libc_memmove.
63045 2012-08-08  Mark Salter  <msalter@redhat.com>
63047         * elf/elf.h
63048         (R_MN10300_TLS_GD): Define.
63049         (R_MN10300_TLS_LD): Likewise.
63050         (R_MN10300_TLS_LDO): Likewise.
63051         (R_MN10300_TLS_GOTIE): Likewise.
63052         (R_MN10300_TLS_IE): Likewise.
63053         (R_MN10300_TLS_LE): Likewise.
63054         (R_MN10300_TLS_DTPMOD): Likewise.
63055         (R_MN10300_TLS_DTPOFF): Likewise.
63056         (R_MN10300_TLS_TPOFF): Likewise.
63057         (R_MN10300_SYM_DIFF): Likewise.
63058         (R_MN10300_ALIGN): Likewise.
63059         (R_MN10300_NUM): Update.
63061 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63064         Remove.
63066 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63068         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63070         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63071         sysdeps/unix -> sysdeps/posix move.
63072         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63074 2012-08-07      Allan McRae     <allan@archlinux.org>
63076         [BZ #14303]
63077         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63078         (SUNOS_CPP): Likewise.
63079         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63080         not found.
63081         (open_input): Call CPP using execvp.
63083 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63085         * sysdeps/unix/sysv/linux/kernel-features.h
63086         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63087         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63088         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63089         (__ASSUME_WAITID_SYSCALL): Likewise.
63090         * sysdeps/unix/sysv/linux/dl-execstack.c
63091         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63092         code unconditional.
63093         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63094         conditional code.
63095         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63096         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63097         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63098         code.
63099         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63100         unconditional.
63101         [__ASSUME_WAITID_SYSCALL]: Likewise.
63102         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63104 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63106         * sysdeps/unix/closedir.c: Renamed to ...
63107         * sysdeps/posix/closedir.c: ... here.
63108         * sysdeps/unix/dirfd.c: Renamed to ...
63109         * sysdeps/posix/dirfd.c: ... here.
63110         * sysdeps/unix/dirstream.h: Renamed to ...
63111         * sysdeps/posix/dirstream.h: ... here.
63112         * sysdeps/unix/fdopendir.c: Renamed to ...
63113         * sysdeps/posix/fdopendir.c: ... here.
63114         * sysdeps/unix/opendir.c: Renamed to ...
63115         * sysdeps/posix/opendir.c: ... here.
63116         * sysdeps/unix/readdir.c: Renamed to ...
63117         * sysdeps/posix/readdir.c: ... here.
63118         * sysdeps/unix/readdir_r.c: Renamed to ...
63119         * sysdeps/posix/readdir_r.c: ... here.
63120         * sysdeps/unix/rewinddir.c: Renamed to ...
63121         * sysdeps/posix/rewinddir.c: ... here.
63122         * sysdeps/unix/seekdir.c: Renamed to ...
63123         * sysdeps/posix/seekdir.c: ... here.
63124         * sysdeps/unix/telldir.c: Renamed to ...
63125         * sysdeps/posix/telldir.c: ... here.
63126         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63127         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63128         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63129         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63131         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63132         * bits/fcntl.h: ... here.
63134         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63135         not 0.
63136         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63137         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63138         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63139         (struct flock): Move l_start, l_len to the beginning.
63140         Use __pid_t for l_pid.
63141         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63142         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63143         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63144         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63145         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63146         [__USE_LARGEFILE64] (struct flock64): New type.
63147         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63149         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63150         * bits/dirent.h: ... here.
63152         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63153         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63155 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63157         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63158         Change from 2.6.0 to 2.6.16.
63159         * sysdeps/unix/sysv/linux/configure: Regenerated.
63160         * sysdeps/unix/sysv/linux/kernel-features.h
63161         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63162         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63163         version.
63164         (__ASSUME_UTIMES): Likewise.
63165         (__ASSUME_CLONE_STOPPED): Remove.
63166         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63167         architectures, not kernel version.
63168         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63169         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63170         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63171         (__ASSUME_WAITID_SYSCALL): Likewise.
63172         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63173         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63174         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63175         refer to older versions.
63177 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63179         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63180         Define alphasort64 as an alias.
63181         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63182         Define versionsort64 as an alias.
63183         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63184         Define scandir64 as an alias.
63185         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63186         Define scandirat64 as an alias.
63187         * dirent/alphasort64.c (alphasort64):
63188         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63189         * dirent/versionsort64.c: Likewise.
63190         * dirent/scandir64.c: Likewise.
63191         * dirent/scandirat64.c: Likewise.
63192         * sysdeps/wordsize-64/alphasort.c: File removed.
63193         * sysdeps/wordsize-64/alphasort64.c: File removed.
63194         * sysdeps/wordsize-64/scandir.c: File removed.
63195         * sysdeps/wordsize-64/scandir64.c: File removed.
63196         * sysdeps/wordsize-64/scandirat.c: File removed.
63197         * sysdeps/wordsize-64/scandirat64.c: File removed.
63198         * sysdeps/wordsize-64/versionsort.c: File removed.
63199         * sysdeps/wordsize-64/versionsort64.c: File removed.
63200         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63201         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63202         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63203         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63204         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63205         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63209         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63211         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63212         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63213         [defined __arch64__ || defined __sparcv9]
63214         (__INO_T_MATCHES_INO64_T): New macro.
63215         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63216         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63217         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63218         * sysdeps/unix/sysv/linux/bits/dirent.h
63219         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63220         (_DIRENT_MATCHES_DIRENT64): New macro.
63222         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63223         Define lockf64 as an alias.
63224         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63225         Define fseeko64 as an alias.
63226         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63227         Define ftello64 as an alias.
63228         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63229         Define _IO_fgetpos64 and fgetpos64 as aliases.
63230         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63231         Define _IO_fsetpos64 and fsetpos64 as aliases.
63232         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63233         Conditionalize body on this.
63234         * libio/fseeko64.c: Likewise.
63235         * libio/ftello64.c: Likewise.
63236         * libio/iofgetpos64.c: Likewise.
63237         * libio/iofsetpos64.c: Likewise.
63238         * sysdeps/wordsize-64/lockf.c: File removed.
63239         * sysdeps/wordsize-64/lockf64.c: File removed.
63240         * sysdeps/wordsize-64/fseeko.c: File removed.
63241         * sysdeps/wordsize-64/fseeko64.c: File removed.
63242         * sysdeps/wordsize-64/ftello.c: File removed.
63243         * sysdeps/wordsize-64/ftello64.c: File removed.
63244         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63245         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63246         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63247         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63248         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63250         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63251         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63252         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63253         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63254         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63255         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63256         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63257         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63259         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63260         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63261         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63262         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63263         [defined __arch64__ || defined __sparcv9]
63264         (__OFF_T_MATCHES_OFF64_T): New macro.
63265         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63266         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63268         (__OFF_T_MATCHES_OFF64_T): New macro.
63270 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63272         * stdlib/secure-getenv.c (__secure_getenv): Replace
63273         GLIBC_2_16 with GLIBC_2_17.
63275 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63277         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63278         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63280 2012-08-03  David S. Miller  <davem@davemloft.net>
63282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63284 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63286         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63287         Remove.
63288         (__ASSUME_CORRECT_SI_PID): Likewise.
63289         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63290         (__ASSUME_TMPFS_NAME): Likewise.
63291         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63292         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63293         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63294         (HAVE_AUX_SECURE): Make definition unconditional.
63295         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63296         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63298 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63300         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63301         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63302         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63303         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63304         __eloop_threshold instead of SYMLOOP_MAX.
63306         * sysdeps/generic/eloop-threshold.h: New file.
63307         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63308         of MAXSYMLINKS.
63309         * elf/chroot_canon.c (chroot_canon): Likewise.
63311 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63313         [BZ #13717]
63314         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63315         Change to 2.6.0 everywhere.
63316         * sysdeps/unix/sysv/linux/configure: Regenerated.
63317         * sysdeps/unix/sysv/linux/kernel-features.h
63318         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63319         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63320         kernel versions.
63321         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63322         (__ASSUME_FUTEX_REQUEUE): Remove.
63323         (__ASSUME_STATFS64): Define unconditionally.
63324         (__ASSUME_AT_SECURE): Likewise.
63325         (__ASSUME_CORRECT_SI_PID): Likewise.
63326         (__ASSUME_TGKILL): Define without depending on kernel version for
63327         i386.
63328         (__ASSUME_UTIMES): Likewise.
63329         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63330         kernel version.
63331         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63332         (__ASSUME_TMPFS_NAME): Likewise.
63333         * README: Update reference to Linux kernel versions.
63335 2012-08-02  Marek Polacek  <polacek@redhat.com>
63337         [BZ# 14150]
63338         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63339         libc_cv_asm_type_prefix with %.
63340         * configure: Regenerated.
63341         * include/libc-symbols.h: Remove comment about
63342         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63343         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63344         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63345         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63346         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63347         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63348         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63349         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63350         * elf/tst-unique2mod1.c: Likewise.
63351         * elf/tst-unique1mod2.c: Likewise.
63352         * elf/tst-unique1mod1.c: Likewise.
63353         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63354         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63355         Replace ASM_TYPE_DIRECTIVE with .type.
63356         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63357         * sysdeps/i386/sysdep.h: Likewise.
63358         * sysdeps/x86_64/sysdep.h: Likewise.
63359         * sysdeps/sh/sysdep.h: Likewise.
63360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63361         Do not define ASM_TYPE_DIRECTIVE.
63362         * sysdeps/powerpc/sysdep.h: Likewise.
63363         * sysdeps/powerpc/powerpc32/sysdep.h:
63364         Replace ASM_TYPE_DIRECTIVE with .type.
63365         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63366         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63367         * sysdeps/i386/fpu/e_powf.S: Likewise.
63368         * sysdeps/i386/fpu/e_expl.S: Likewise.
63369         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63370         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63371         * sysdeps/i386/fpu/e_pow.S: Likewise.
63372         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63373         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63374         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63375         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63376         * sysdeps/i386/fpu/e_log2.S: Likewise.
63377         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63378         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63379         * sysdeps/i386/fpu/e_powl.S: Likewise.
63380         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63381         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63382         * sysdeps/i386/fpu/e_logl.S: Likewise.
63383         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63384         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63385         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63386         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63387         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63388         * sysdeps/i386/fpu/e_log.S: Likewise.
63389         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63390         * sysdeps/i386/fpu/e_logf.S: Likewise.
63391         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63392         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63393         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63394         * sysdeps/i386/fpu/e_log10.S: Likewise.
63395         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63396         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63397         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63398         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63399         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63400         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63401         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63402         * sysdeps/i386/i686/strtok.S: Likewise.
63403         * sysdeps/i386/i386-mcount.S: Likewise.
63404         * sysdeps/i386/strtok.S: Likewise.
63405         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63406         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63407         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63408         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63409         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63410         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63411         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63412         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63413         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63414         * sysdeps/x86_64/_mcount.S: Likewise.
63415         * sysdeps/x86_64/strtok.S: Likewise.
63416         * sysdeps/sh/_mcount.S: Likewise.
63418 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63420         * libio/iofopen.c: Include <fcntl.h>.
63421         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63422         (_IO_fopen64, fopen64): Define as aliases.
63423         * libio/iofopen64.c: Include <fcntl.h>.
63424         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63425         Conditionalize body on this.
63426         * sysdeps/wordsize-64/iofopen.c: File removed.
63427         * sysdeps/wordsize-64/iofopen64.c: File removed.
63429 2012-08-01  Marek Polacek  <polacek@redhat.com>
63431         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63432         Use dlfcn directly instead of a variable.
63433         (binfmt-subdir): Do not define.
63434         (dlfcn): Likewise.
63436 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63439         Remove all definitions.
63440         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63441         <kernel-features.h>.
63442         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63443         (miss_F_GETOWN_EX): Remove all definitions.
63444         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63445         macro definition.
63446         [!__ASSUME_FCNTL64]: Remove conditional code.
63447         [__ASSUME_FCNTL64]: Make code unconditional.
63448         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63449         <kernel-features.h>.
63450         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63451         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63452         (lockf64) [__NR_fcntl64]: Make code unconditional.
63453         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63455         * sysdeps/unix/sysv/linux/kernel-features.h
63456         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63457         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63458         Make code unconditional.
63459         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63460         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63462         [__NR_vfork]: Make code unconditional.
63463         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63464         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63466         [__NR_vfork]: Make code unconditional.
63467         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63468         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63470 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63472         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63473         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63475         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63476         Define mkstemp64 as an alias.
63477         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63478         Define mkstemps64 as an alias.
63479         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63480         Define mkostemp64 as an alias.
63481         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63482         Define mkostemps64 as an alias.
63483         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63484         Conditionalize body on this.
63485         * misc/mkostemp64.c: Likewise.
63486         * misc/mkostemps64.c: Likewise.
63487         * misc/mkstemps64.c: Likewise.
63488         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63489         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63490         * sysdeps/wordsize-64/mkostemp.c: File removed.
63491         * sysdeps/wordsize-64/mkstemp.c: File removed.
63492         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63493         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63494         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63495         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63497         [BZ #14138]
63498         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63499         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63500         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63501         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63503         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63504         compat_symbol macros from <shlib-compat.h> rather than the underlying
63505         default_symbol_version and symbol_version macros, so that DEFAULT
63506         lines in shlib-versions are respected.
63507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63509 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63511         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63512         Declare with warn_unused_result.
63513         (setgid, setregid, setegid, setresgid): Likewise.
63514         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63515         Likewise.
63516         * WUR-REPORT: Remove set*id functions.
63518 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63520         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63522 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63524         [BZ #10191]
63525         * include/sys/socket.h (__libc_accept, __libc_accept4):
63526         Add attribute_hidden.
63527         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63529         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63530         use of PTR_MANGLE.
63531         * inet/getnetgrent_r.c (setup): Likewise.
63533         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63535 2012-07-31  David S. Miller  <davem@davemloft.net>
63537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63539 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63541         [BZ #13629]
63542         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63543         value between 1.0 and 2.0 and smaller part has absolute value less
63544         than 1.0.
63545         * math/s_clog10.c (__clog10): Likewise.
63546         * math/s_clog10f.c (__clog10f): Likewise.
63547         * math/s_clog10l.c (__clog10l): Likewise.
63548         * math/s_clogf.c (__clogf): Likewise.
63549         * math/s_clogl.c (__clogl): Likewise.
63550         * math/libm-test.inc (clog_test): Add more tests.
63551         (clog10_test): Likewise.
63552         * sysdeps/i386/fpu/libm-test-ulps: Update.
63553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63555 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63557         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63558         Exit with zero in case no suitable GID is found, and write a
63559         message to standard error.
63561 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63563         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63564         rather than to 1.
63565         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63566         (MAXPATHLEN): Removed.
63567         (NOGROUP, NODEV): New macros.
63568         (setbit, clrbit, isset, isclr): New macros.
63569         (howmany, roundup, powerof2): New macros.
63570         (DEV_BSIZE): New macro.
63572         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63573         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63575         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63576         definition on [!__NO_LONG_DOUBLE_MATH].
63578         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63579         PTR_MANGLE and PTR_DEMANGLE.
63581         * socket/accept4.c (accept4): Rename to __libc_accept4.
63582         Define accept4 as a weak alias.
63584         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63585         on [_DIRENT_HAVE_D_TYPE].
63586         * io/ftw.c (ftw_dir): Likewise.
63588         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63590         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63592         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63593         Use the BSD numbers rather than the arbitrary ones we had.
63594         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63595         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63596         (SIGXCPU, SIGXFSZ): New macros.
63597         (_NSIG): Now 32.
63599         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63600         initializer on [_LIBC_REENTRANT].
63602         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63603         definitions inside [_POSIX_MAPPED_FILES].
63605         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63607         * dirent/opendir.c: Include <fcntl.h>.
63609         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63610         (__libc_getspecific): Likewise.
63611         (__libc_key_create): Likewise.
63613         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63614         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63615         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63616         (tmpfile64): Define as alias.
63617         * sysdeps/wordsize-64/tmpfile.c: File removed.
63618         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63619         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63620         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63622         * stdio-common/vfscanf.c: Include <stdbool.h>.
63623         * nss/makedb.c: Likewise.
63624         * stdio-common/_i18n_number.h: Likewise.
63625         * argp/argp-help.c: Likewise.
63626         * posix/wordexp.c: Likewise.
63627         * sysdeps/posix/spawni.c: Likewise.
63628         * nss/nss_files/files-initgroups.c: Likewise.
63629         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63630         * nss/nss_files/files-initgroups.c: Likewise.
63631         * nss/nss_db/db-netgrp.c: Likewise.
63632         * nss/nss_db/db-initgroups.c: Likewise.
63633         * io/fchmodat.c: Include <sys/stat.h>.
63635         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63636         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63638         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63639         [HAVE_MMAP].
63641         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63642         Add multiple inclusion protection.
63644 2012-07-27  David S. Miller  <davem@davemloft.net>
63646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63648 2012-07-27  Gary Benson  <gbenson@redhat.com>
63650         [BZ #14298]
63651         * elf/rtld.c: Include <stap-probe.h>.
63652         (dl_main): Added static probes "init_start" and "init_complete".
63653         * elf/dl-load.c: Include <stap-probe.h>.
63654         (lose): Take new parameter "nsid".
63655         Added static probe "map_failed".
63656         (_dl_map_object_from_fd): Pass namespace id to lose.
63657         Added static probe "map_start".
63658         (open_verify): Pass namespace id to lose.
63659         * elf/dl-open.c: Include <stap-probe.h>.
63660         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63661         and "reloc_complete".
63662         * elf/dl-close.c: Include <stap-probe.h>.
63663         (_dl_close_worker): Added static probes "unmap_start" and
63664         "unmap_complete".
63665         * elf/rtld-debugger-interface.txt: New file documenting the above.
63667 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63669         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63670         rather than a string variable.
63671         * sunrpc/rpc_main.c (h_output): Likewise.
63672         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63674 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63676         * inet/check_native.c: New file.
63678 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63680         [BZ #13629]
63681         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63682         if larger part has absolute value 1.0.
63683         * math/s_clog10.c (__clog10): Likewise.
63684         * math/s_clog10f.c (__clog10f): Likewise.
63685         * math/s_clog10l.c (__clog10l): Likewise.
63686         * math/s_clogf.c (__clogf): Likewise.
63687         * math/s_clogl.c (__clogl): Likewise.
63688         * math/libm-test.inc (clog_test): Add more tests.
63689         (clog10_test): Likewise.
63690         * sysdeps/i386/fpu/libm-test-ulps: Update.
63691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63693         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63694         (pltexit): Likewise.
63695         (La_regs): Likewise.
63696         (La_retval): Likewise.
63697         (int_retval): Likewise.
63698         Update #error for removed macros to refer only to definitions in
63699         tst-audit.h.
63700         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63701         macro.
63702         (pltexit): Likewise.
63703         (La_regs): Likewise.
63704         (La_retval): Likewise.
63705         (int_retval): Likewise.
63706         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
63731         macro.
63732         (pltexit): Likewise.
63733         (La_regs): Likewise.
63734         (La_retval): Likewise.
63735         (int_retval): Likewise.
63736         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63737         macro definitions in tst-audit.h.
63738         * sysdeps/i386/tst-audit.h: New file.
63739         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63740         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63741         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63742         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63743         * sysdeps/sh/tst-audit.h: Likewise.
63744         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63745         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63746         * sysdeps/x86_64/tst-audit.h: Likewise.
63748 2012-07-26  Andreas Jaeger  <aj@suse.de>
63750         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63751         ptrace.
63753         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63754         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63755         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63756         PTRACE_O_MASK.
63757         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63758         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63759         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63761         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63762         value.
63764         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63765         _sigsys.
63766         (si_call_addr, si_syscall, si_arch): Define new macro.
63767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63768         _sigsys.
63769         (si_call_addr, si_syscall, si_arch): Define new marcro.
63770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63771         _sigsys.
63772         (si_call_addr, si_syscall, si_arch): Define new macro.
63773         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63774         _sigsys.
63775         (si_call_addr, si_syscall, si_arch): Define new macro.
63777 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63779         [BZ #13717]
63780         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63781         Change to 2.4.21 where previously 2.4.1.
63782         * sysdeps/unix/sysv/linux/configure: Regenerated.
63783         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63784         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63785         Linux kernel version.
63786         (__ASSUME_STD_AUXV): Remove.
63787         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63788         kernel version.
63789         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63790         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63791         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63792         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63793         (__ASSUME_NETLINK_SUPPORT): Likewise.
63794         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63795         (__no_netlink_support): Remove conditional definition.
63796         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63797         Remove.
63798         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63799         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63800         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63801         (if_nameindex_ioctl): Remove.
63802         (if_nameindex_netlink): Do not handle __no_netlink_support.
63803         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63804         code.
63805         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63806         Remove conditional code.
63807         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63808         code.
63809         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63810         unconditional.
63811         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63812         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63813         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63814         Remove.
63815         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63816         [!__ASSUME_STD_AUXV]: Remove conditional code.
63817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63818         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63819         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63821         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63822         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63823         code.
63824         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63826         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63827         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63828         conditional code.
63829         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63831         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63832         code.
63833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63834         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63835         conditional code.
63836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63837         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63838         code unconditional.
63839         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63840         conditional code.
63841         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63842         unconditional.
63843         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63844         conditional code.
63845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63846         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63847         unconditional.
63848         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63849         conditional code.
63850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63851         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63852         code unconditional.
63853         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63854         conditional code.
63855         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63856         unconditional.
63857         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63858         conditional code.
63859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63860         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63861         code unconditional.
63862         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63863         conditional code.
63864         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63865         unconditional.
63866         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63867         conditional code.
63869 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63871         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63872         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63873         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63874         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63875         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63876         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63878         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63879         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63880         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63881         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63882         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63883         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63884         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63886         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63887         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63888         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63889         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63891         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63892         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63895 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63897         * Versions.def: Add GLIBC_2.17.
63898         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63899         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63900         Introduce __libc_secure_getenv.
63901         * stdlib/Versions (2.17): Add secure_getenv
63902         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63903         * stdlib/secure-getenv.c: Rename __secure_getenv to
63904         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63905         symbol __secure_getenv for GLIBC_2.0.
63906         * stdlib/tst-secure-getenv.c: New.
63907         * stdlib/Makefile (tests): Add testcase.
63908         * manual/startup.texi (Environment Access): Document
63909         secure_getenv.
63910         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63911         __libc_secure_getenv.
63912         * inet/ruserpass.c (ruserpass): Likewise.
63913         * malloc/mtrace.c (mtrace): Likewise.
63914         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63915         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63916         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63917         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63918         HAVE_SECURE_GETENV.
63919         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63920         __secure_getenv to __libc_secure_getenv.
63921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63923         Likewise.
63924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63925         Likewise.
63926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63934 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63936         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63937         (struct La_i86_retval): Likewise.
63938         (struct La_x86_64_regs): Likewise.
63939         (struct La_x86_64_retval): Likewise.
63940         (struct La_x32_regs): Likewise.
63941         (struct La_x32_retval): Likewise.
63942         (struct La_ppc32_regs): Likewise.
63943         (struct La_ppc32_retval): Likewise.
63944         (struct La_ppc64_regs): Likewise.
63945         (struct La_ppc64_retval): Likewise.
63946         (struct La_sh_regs): Likewise.
63947         (struct La_sh_retval): Likewise.
63948         (struct La_s390_32_regs): Likewise.
63949         (struct La_s390_32_retval): Likewise.
63950         (struct La_s390_64_regs): Likewise.
63951         (struct La_s390_64_retval): Likewise.
63952         (struct La_sparc32_regs): Likewise.
63953         (struct La_sparc32_retval): Likewise.
63954         (struct La_sparc64_regs): Likewise.
63955         (struct La_sparc64_retval): Likewise.
63956         (struct audit_ifaces): Remove architecture-specific pltenter and
63957         pltexit members.
63958         * sysdeps/i386/ldsodefs.h: New file.
63959         * sysdeps/powerpc/ldsodefs.h: Likewise.
63960         * sysdeps/s390/ldsodefs.h: Likewise.
63961         * sysdeps/sh/ldsodefs.h: Likewise.
63962         * sysdeps/sparc/ldsodefs.h: Likewise.
63963         * sysdeps/x86_64/ldsodefs.h: Likewise.
63965 2012-07-25  Marek Polacek  <polacek@redhat.com>
63967         [BZ #6808]
63968         * math/libm-test.inc (yn_test): Add another test.
63969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63970         to ERANGE when the result is +-Inf.
63971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63972         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63973         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63974         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63976 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63978         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63979         equal to 0.
63980         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63981         clock_t.
63982         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63984 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63986         * configure.in <sysdeps resolving>: Correct printing
63987         Implies_before.
63988         * configure: Regenerate.
63990 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63992         * math/w_ilogb.c: Include <limits.h>.
63993         * math/w_ilogbl.c: Likewise.
63995 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63997         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63998         va_copy.  Document allowing for unavailable va_copy only as
63999         pre-C99 compatibility.
64000         * manual/string.texi (Copying and Concatenation): Use va_copy
64001         instead of __va_copy in concat example.
64003 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64005         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64006         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64007         it if not null.
64009         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64010         with O_NOLINK passed to __file_name_lookup.
64012         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64013         with O_NOLINK passed to __file_name_lookup.
64015         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64016         negative N or less than NGIDS.
64018         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64019         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64020         enough.  Use memcpy instead of strncpy.
64022 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64024         * elf/Makefile (check-data): Remove.
64025         (localplt.data): New vpath directive.
64026         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64027         instead of $(check-data).
64028         * scripts/data/localplt-generic.data: Move to ...
64029         * sysdeps/generic/localplt.data: ... here.
64030         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64031         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64032         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64034         ... here.
64035         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64037         ... here.
64038         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64040         ... here.
64041         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64043         ... here.
64044         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64046         ... here.
64047         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64049         ... here.
64051 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64053         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64054         PPC32 and PPC64 files.
64055         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64056         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64058 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64060         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64061         __makecontext_ret to ...
64062         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64063         ... here and call exit if uc_link is NULL.  New file.
64064         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64065         __makecontext_ret.S.
64066         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64067         __makecontext_ret to ...
64068         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64069         ... here and call exit if uc_link is NULL.  New file.
64070         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64071         __makecontext_ret.S.
64073 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64075         * elf/elf.h (R_390_IRELATIVE): New definition.
64076         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64077         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64078         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64079         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64080         (elf_machine_lazy_rel): Likewise.
64081         * sysdeps/s390/dl-irel.h: New file.
64082         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64083         * sysdeps/s390/s390-64/memset.S: New asm code.
64084         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64085         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64086         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64087         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64088         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64089         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64091         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64092         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64093         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64094         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64095         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64096         * sysdeps/s390/s390-32/memset.S: New asm code.
64097         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64099 2012-07-17  Marek Polacek  <polacek@redhat.com>
64101         [BZ #14349]
64102         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64103         * sysdeps/s390/s390-64/configure.in: Likewise.
64104         * sysdeps/sparc/configure.in: Likewise.
64105         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64106         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64107         * sysdeps/i386/configure.in: Likewise.
64108         * sysdeps/x86_64/configure.in: Likewise.
64109         * sysdeps/sh/configure.in: Likewise.
64110         * sysdeps/s390/s390-32/configure: Regenerated.
64111         * sysdeps/s390/s390-64/configure: Likewise.
64112         * sysdeps/x86_64/configure: Likewise.
64113         * sysdeps/sh/configure: Likewise.
64114         * sysdeps/powerpc/powerpc64/configure: Likewise.
64115         * sysdeps/powerpc/powerpc32/configure: Likewise.
64116         * sysdeps/sparc/configure: Likwise.
64117         * sysdeps/i386/configure: Likewise.
64119         * elf/dl-open.c: Comment fixes.
64121 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64123         * Makefile [CXX] (check-data): Remove.
64124         [CXX] (c++-types.data): New vpath directive.
64125         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64126         vpath.  Do not allow for C++ type data being missing.
64127         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64128         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64129         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64130         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64131         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64132         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64133         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64135         ... here.
64136         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64138         ... here.
64139         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64141         ... here.
64142         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64144         ... here.
64145         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64147         ... here.
64148         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64150         ... here.
64151         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64153         ... here.
64154         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64157         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64158         definitions to architecture-specific files.
64159         (TLS_IE): Likewise.
64160         (TLS_LD): Likewise.
64161         (TLS_GD): Likewise.
64162         * sysdeps/i386/tls-macros.h: New file.
64163         * sysdeps/powerpc/tls-macros.h: Likewise.
64164         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64165         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64166         * sysdeps/sh/tls-macros.h: Likewise.
64167         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64168         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64169         * sysdeps/x86_64/tls-macros.h: Likewise.
64171 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64173         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64174         zero value for regular exit case.
64176         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64177         (__start_context): Preserve zero value for regular exit case.
64179 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64180             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64182         * manual/setjmp.texi (setcontext): Clarify normal process
64183         termination when uc_link is the null pointer.
64184         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64185         exit call.
64187 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64189         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64190         preprocessor.  Test for each exception mask separately.
64192 2012-07-16  Andreas Jaeger  <aj@suse.de>
64194         * po/ru.po: Update from translation team.
64196 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64198         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64199         equal to 0.
64200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64201         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64202         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64203         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64206 2012-07-13  Andreas Jaeger  <aj@suse.de>
64208         * po/fr.po: Update from translation team.
64210 2012-07-12  Marek Polacek  <polacek@redhat.com>
64212         [BZ #14173]
64213         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64214         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64215         loop condition.
64217 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64219         [BZ #13717]
64220         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64221         Change to 2.4.1 where previously 2.4.0.
64222         * sysdeps/unix/sysv/linux/configure: Regenerated.
64223         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64224         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64225         version.
64226         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64227         (__ASSUME_AT_CLKTCK): Remove.
64228         (__ASSUME_AT_PAGESIZE): Likewise.
64229         (__ASSUME_AT_XID): Likewise.
64230         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64231         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64232         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64233         unconditionally.
64234         (HAVE_AUX_PAGESIZE): Likewise.
64235         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64236         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64237         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64239 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64241         [BZ #14307]
64242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64243         the temporary buffer used to invoke __gethostbyname2_r,
64244         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64245         host_data / struct gaih_addrtuple.
64246         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64247         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64248         header file nss/nsswitch.h.
64249         * nss/nsswitch.h (global scope): Add definition of implementation
64250         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64251         resolv/nss_dns/dns-host.c).
64253 2012-07-11  Andreas Jaeger  <aj@suse.de>
64255         * po/fr.po: Update from translation team.
64257         * po/sv.po: Update from translation team
64258         * po/fr.po: Another update from translation team.
64260 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64263         for subnormals or multiply small sinh result by itself.
64264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64267 2012-07-11  David S. Miller  <davem@davemloft.net>
64269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64271 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64273         [BZ #14347]
64274         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64275         (INTERNAL_MARK): Shift it here.
64277 2012-07-10  Marek Polacek  <polacek@redhat.com>
64279         [BZ #14151]
64280         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64281         libc_cv_asm_global_directive with .globl.
64282         * configure: Regenerated.
64283         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64284         with .globl.
64285         * sysdeps/i386/configure: Regenerated.
64286         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64287         with .globl.
64288         * sysdeps/x86_64/configure: Regenerated.
64289         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64290         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64291         * elf/tst-unique2mod2.c: Likewise.
64292         * elf/tst-unique2mod1.c: Likewise.
64293         * elf/tst-unique1mod2.c: Likewise.
64294         * elf/tst-unique1mod1.c: Likewise.
64295         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64296         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64297         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64298         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64299         * sysdeps/mach/sysdep.h: Likewise.
64300         * sysdeps/i386/sysdep.h: Likewise.
64301         * sysdeps/i386/i386-mcount.S: Likewise.
64302         * sysdeps/x86_64/_mcount.S: Likewise.
64303         * sysdeps/x86_64/sysdep.h: Likewise.
64304         * sysdeps/sh/_mcount.S: Likewise.
64305         * sysdeps/sh/sysdep.h: Likewise.
64306         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64307         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64308         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64309         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64310         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64311         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64312         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64313         * locale/localeinfo.h: Likewise.
64314         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64315         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64317 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64319         [BZ #14336]
64320         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64321         system".
64322         * manual/message.texi (The Uniforum approach): Likewise.
64323         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64324         (glibc iconv Implementation): Likewise.
64326 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64328         [BZ #14337]
64329         * math/s_clog.c (__clog): Avoid scaling a value down where that
64330         could result in underflow.
64331         * math/s_clog10.c (__clog10): Likewise.
64332         * math/s_clog10f.c (__clog10f): Likewise.
64333         * math/s_clog10l.c (__clog10l): Likewise.
64334         * math/s_clogf.c (__clogf): Likewise.
64335         * math/s_clogl.c (__clogl): Likewise.
64336         * math/libm-test.inc (clog_test): Add more tests.
64337         (clog10_test): Likewise.
64338         * sysdeps/i386/fpu/libm-test-ulps: Update.
64339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64341 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64343         [BZ #14283]
64344         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64345         by 7 not 8 to examine high bit of fractional part.
64347         [BZ #14042]
64348         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64349         for call to __mcount_internal.
64350         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64351         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64352         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64354 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64356         [BZ #14154]
64357         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64358         approximation for values within 0x1p-13f of an odd multiple of
64359         pi/4.
64360         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64361         exception.  Add more tests.
64362         * sysdeps/i386/fpu/libm-test-ulps: Update.
64364         [BZ #6778]
64365         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64366         inputs and return -1 for them.  Do not check for +Inf in case not
64367         reachable for +Inf.
64368         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64369         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64370         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64371         and return -1 for them.  Do not check for +Inf in case not
64372         reachable for +Inf.
64373         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64374         define.
64375         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64376         and return -1 for them.  Do not check for +Inf in case not
64377         reachable for +Inf.
64378         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64379         spurious underflow.
64380         * sysdeps/i386/fpu/libm-test-ulps: Update.
64381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64383 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64385         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64387 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64389         [BZ #14157]
64390         [BZ #14331]
64391         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64392         could result in spurious underflow.  Scale down values above
64393         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64394         * math/s_csqrtf.c (__csqrtf): Likewise.
64395         * math/s_csqrtl.c (__csqrtl): Likewise.
64396         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64397         spurious underflow.
64398         * sysdeps/i386/fpu/libm-test-ulps: Update.
64399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64401 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64403         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64404         xopen-msg.sed.
64405         * catgets/xopen-msg.awk: New file.
64406         * catgets/xopen-msg.sed: Removed.
64408         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64409         po2text.sed.
64410         * intl/po2test.awk: New file.
64411         * intl/po2test.sed: Removed.
64413 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64415         [BZ #14328]
64416         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64417         or multiply small sinh result by itself.
64418         * math/s_ctanf.c (__ctanf): Likewise.
64419         * math/s_ctanh.c (__ctanh): Likewise.
64420         * math/s_ctanhf.c (__ctanhf): Likewise.
64421         * math/s_ctanhl.c (__ctanhl): Likewise.
64422         * math/s_ctanl.c (__ctanl): Likewise.
64423         * math/libm-test.inc (ctan_test_tonearest): New function.
64424         (ctan_test_towardzero): Likewise.
64425         (ctan_test_downward): Likewise.
64426         (ctan_test_upward): Likewise.
64427         (ctanh_test_tonearest): Likewise.
64428         (ctanh_test_towardzero): Likewise.
64429         (ctanh_test_downward): Likewise.
64430         (ctanh_test_upward): Likewise.
64431         (main): Call these new functions.
64432         * sysdeps/i386/fpu/libm-test-ulps: Update.
64433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64435 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64437         * .gitignore: Delete /ports entry.
64439 2012-07-03  Andreas Jaeger  <aj@suse.de>
64441         * po/bg.po: Update from translation team.
64442         * po/cs.po: Likewise.
64443         * po/de.po: Likewise.
64444         * po/hr.po: Likewise.
64445         * po/nl.pl: Likewise.
64446         * po/pl.po: Likewise.
64447         * po/vi.po: Likewise.
64449 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64451         * Makeconfig [!+link] (+link-before-libc): New variable.
64452         [!+link] (+link-after-libc): Likewise.
64453         [!+link] (+link-tests): Likewise.
64454         [!+link] (+link): Define in terms of $(+link-before-libc) and
64455         $(+link-after-libc).
64456         [!+link-static] (+link-static-before-libc): New variable.
64457         [!+link-static] (+link-static-after-libc): Likewise.
64458         [!+link-static] (+link-static-tests): Likewise.
64459         [!+link-static] (+link-static): Define in terms of
64460         $(+link-static-before-libc) and $(+link-static-after-libc).
64461         [build-shared] (link-libc-before-gnulib): New variable.
64462         [build-shared] (link-libc-tests): Likewise.
64463         [build-shared] (link-libc): Define in terms of
64464         $(link-libc-before-gnulib).
64465         [!build-shared] (link-libc-tests): New variable.
64466         (link-libc-static-tests): New variable.
64467         [!gnulib] (gnulib-arch): New variable.
64468         [!gnulib] (gnulib-tests): Likewise.
64469         [!gnulib] (static-gnulib-arch): Likewise.
64470         [!gnulib] (static-gnulib-tests): Likewise.
64471         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64472         Define with "=" instead of ":=".
64473         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64474         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64475         * Rules (binaries-all-notests): New variable.
64476         (binaries-all-tests): Likewise.
64477         (binaries-static-notests): Likewise.
64478         (binaries-static-tests): Likewise.
64479         (binaries-all): Define using $(binaries-all-notests) and
64480         $(binaries-all-tests).
64481         (binaries-static): Define using $(binaries-static-notests) and
64482         $(binaries-static-tests).
64483         (binaries-shared-tests): New variable.
64484         (binaries-shared-notests): Likewise.
64485         (binaries-shared): Remove variable.
64486         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64487         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64488         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64489         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64490         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64491         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64492         * elf/Makefile (sln-modules): New variable.
64493         (extra-objs): Add $(sln-modules:=.o).
64494         (ldconfig-modules): Add static-stubs.
64495         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64496         * elf/static-stubs.c: New file.
64498         [BZ #14283]
64499         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64500         by 7 not 8 to examine high bit of fractional part.  Use volatile
64501         variables when splitting into final array of floats if
64502         __FLT_EVAL_METHOD__ != 0.
64503         * math/libm-test.inc (cos_test): Add another test.
64504         (sin_test): Likewise.
64505         * sysdeps/i386/fpu/libm-test-ulps: Update.
64507         [BZ #14273]
64508         * math/libm-test.inc (cosh_test): Add more tests.
64510         * version.h (RELEASE): Set to "development".
64511         (VERSION): Set to "2.16.90".
64513 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64515         * NEWS: Update copyright. Remove last-updated date.
64516         Mention math library bug fixes and timezone data changes.
64517         * README: Mention GNU/Hurd, x32, and HPPA support status.
64519 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64521         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64523 2012-06-27  Andreas Jaeger  <aj@suse.de>
64525         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64527 2012-06-25  Andreas Jaeger  <aj@suse.de>
64529         * sysdeps/s390/fpu/libm-test-ulps: Update.
64531 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64532             Thomas Schwinge  <thomas@codesourcery.com>
64534         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64535         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64537         fanotify_mark.
64539 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64541         * sysdeps/mach/start.c: Remove file.
64542         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64543         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64544         * sysdeps/sh/init-first.c: Likewise.
64546         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64547         registers for frame unwinding purposes, add CFI directives.
64548         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64549         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64550         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64551         Likewise.
64553         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64554         __fortify_fail returning.
64555         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64557         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64558         sysdeps/sh/____longjmp_chk.S.
64559         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64560         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64561         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64562         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64564         * sysdeps/sh/abort-instr.h: New file.
64565         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64566         process in case exit returns.
64568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64569         initialize the GOT register before use.
64571         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64572         calculation of ARGC > 4.
64574         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64575         meaningful names to some local labels.
64577 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64578             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64580         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64581         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64582         (__arch_compare_and_exchange_val_16_acq): Likewise.
64583         (__arch_compare_and_exchange_val_32_acq): Likewise.
64584         (atomic_exchange_and_add): Fix gUSA sequence.
64585         (atomic_add): Likewise.
64586         (atomic_add_negative): Likewise.
64587         (atomic_add_zero): Likewise.
64588         (atomic_bit_test_set): Likewise.
64590 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64592         [BZ #13579]
64593         * include/link.h (struct link_map): Add l_free_initfini.
64594         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64595         l_initfini.
64596         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64597         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64598         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64599         set.
64601 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64603         * configure.in: Use AC_LANG_SOURCE.
64604         * configure: Regenerate.
64606 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64608         * configure.in (libc_cv_localstatedir): New substituted variable.
64609         * configure: Regenerated.
64610         * config.make.in (localstatedir): New variable, substituted from
64611         libc_cv_localstatedir.
64612         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64613         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64614         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64615         * sysdeps/gnu/configure: Regenerated.
64617 2012-06-21  Jeff Law  <law@redhat.com>
64619         [BZ #14277]
64620         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64621         free.  Simplify list management for _LIBC case.
64623 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64625         [BZ #14273]
64626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64627         Clear sign bit of 64-bit integer value before comparing against
64628         overflow value.
64630         * sysdeps/mach/configure: Regenerated.
64632 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64634         [BZ #14278]
64635         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64637 2012-06-21  Jeff Law  <law@redhat.com>
64639         [BZ #13882]
64640         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64641         uint16_t for elements in the "seen" array to avoid char overflows.
64642         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64643         * elf/dl-open.c (dl_open_worker): Likewise.
64645 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64647         * scripts/list-sources.sh: Scan PORTS for translations.
64648         * po/libc.pot: Regenerated.
64650 2012-06-21  Andreas Jaeger  <aj@suse.de>
64652         [BZ #12194]
64653         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64654         warning.
64655         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64656         * bits/byteswap-16.h (__bswap_16): Likewise.
64657         * bits/byteswap.h (__bswap_constant_16): Likewise.
64659 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64661         [BZ #14117]
64662         * sysdeps/i386/fpu_control.h: Removed.
64663         * sysdeps/x86_64/fpu_control.h: Moved to ...
64664         * sysdeps/x86/fpu_control.h: Here.
64666         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64667         (_FPU_SETCW): Likewise.
64669 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64671         [BZ #14117]
64672         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64673         * sysdeps/x86/fpu/bits/mathinline.h: This.
64674         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64676         [BZ #14050]
64677         [BZ #14117]
64678         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64679         functions if __x86_64__ is defined.
64681 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64683         * string/endian.h: Add !__ASSEMBLER__ condition for including
64684         conversion interfaces.
64686 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64688         [BZ #14241]
64689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64690         of ABS(x) in calculating zero to negative powers other than odd
64691         integers.
64692         * math/libm-test.inc (pow_test): Add more tests.
64694 2012-06-15  Andreas Jaeger  <aj@suse.de>
64696         * manual/contrib.texi (Contributors): Update entry of Liubov
64697         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64698         Machado Filho.
64700 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64702         * string/string.h: Add __wur to GNU version of strerror_r.
64704 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64706         [BZ #14229]
64707         * string/Makefile (tests): Add tst-strtok_r.
64708         * string/tst-strtok_r.c: New file.
64709         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64710         RAX_LP/RDX_LP on SAVE_PTR.
64712 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64714         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64716 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64718         * libm_test.inc (csqrt_test): Allow more spurious underflow
64719         exceptions.
64720         (j0_test): Likewise.
64721         (j1_test): Likewise.
64722         (y0_test): Likewise.
64723         (y1_test): Likewise.
64725 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64727         * po/Makefile (libc.pot): Use UTF-8 charset.
64729 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64731         [BZ #14210]
64732         Suppress sign-conversion warning from FD_SET.
64733         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64734         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64735         not unsigned long int.
64736         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64738 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64740         [BZ #14050]
64741         [BZ #14117]
64742         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64743         __extern_always_inline instead of __extern_inline.
64744         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64745         (__signbit): Likewise.
64746         (__signbitl): Support C++ namespace.
64747         (lrintf): New inline function.
64748         (lrint): Likewise.
64749         (llrintf): Likewise.
64750         (llrint): Likewise.
64751         (fmaxf): Likewise.
64752         (fmax): Likewise.
64753         (fminf): Likewise.
64754         (fmin): Likewise.
64755         (rint): Likewise.
64756         (rintf): Likewise.
64757         (ceil): Likewise.
64758         (ceilf): Likewise.
64759         (floor): Likewise.
64760         (floorf): Likewise.
64761         (nearbyint): Likewise.
64762         (nearbyintf): Likewise.
64764 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64766         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64767         non-default versions.
64769 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64771         [BZ #14218]
64772         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64774 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64776         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64777         (FE_UPWARD, FE_DOWNWARD): Don't define.
64778         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64779         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64781         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64782         reading it.
64783         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64784         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64786 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64788         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64790         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64791         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64793 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64795         [BZ #14117]
64796         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64797         * sysdeps/i386/fpu/Implies: New file.
64798         * sysdeps/x86_64/fpu/Implies: Likewise.
64799         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64800         * sysdeps/x86/fpu/bits/fenv.h: This.
64802         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64803         __SSE_MATH__.
64805 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64807         [BZ #14134]
64808         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64809         character 0xffff that matches the last element of the
64810         conversion table.
64812 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64814         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64815         fmodl commit.
64817 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64819         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64820         values higher than 25.6283.
64822 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64825         subnormal exponent extraction and add some __builtin_expect.
64826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64827         Fix for subnormal mantissa calculation.
64829 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64831         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64832         cpu2 is -1 and errno is not ENOSYS.
64834 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64836         [BZ #14117]
64837         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64838         * sysdeps/x86/bits/string.h: This.
64839         * sysdeps/x86_64/bits/string.h: Removed.
64841         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64842         if not compiling for x86-64, but compiling for >= i486.
64844         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64845         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64847         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64848         New macro from Linux kernel 3.4.0.
64849         (FP_XSTATE_MAGIC2): Likewise.
64850         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64851         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64852         (struct _fpx_sw_bytes): New struct.
64853         (struct _xsave_hdr): Likewise.
64854         (struct _ymmh_state): Likewise.
64855         (struct _xstate): Likewise.
64857         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64858         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64859         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64860         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64861         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64862         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64864         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64865         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64866         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64867         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64868         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64869         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64871 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64873         [BZ #13743]
64874         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64875         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64876         (sysdep_headers): Include sys/platform/ppc.h.
64877         * sysdeps/powerpc/test-gettimebase.c: Test for
64878         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64879         * manual/Makefile (appendices): Include platform.texi.
64880         * manual/contrib.texi (Contributors): Update @node pointers.
64881         * manual/maint.texi (Maintenance): Likewise.
64882         (Platform): New node.
64883         * manual/platform.texi: New file.  Document the new features.
64885 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64886             Jakub Jelinek  <jakub@redhat.com>
64888         [BZ #14188]
64889         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64890         where __builtin_expect is unavailable.
64892 2012-06-03  David S. Miller  <davem@davemloft.net>
64894         * stdlib/longlong.h: Updated from GCC.
64896 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64898         [BZ #14042]
64899         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64900         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64901         __mcount_internal.
64902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64903         (GLIBC_2.16): Likewise.
64905 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64907         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64909 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64912         (default-abi): New variable.
64913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64914         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64915         variable.
64916         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64917         Likewise.
64918         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64919         Likewise.
64920         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64921         Likewise.
64923         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64924         definition.  Document in comment.
64926 2012-06-01  David S. Miller  <davem@davemloft.net>
64928         * stdlib/longlong.h: Updated from GCC.
64930 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64932         [BZ #14117]
64933         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64934         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64935         sys/debugreg.h sys/io.h here.
64936         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64937         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64938         sys/io.h.
64939         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64940         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64941         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64942         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64943         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64944         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64947         Define only if __x86_64__ is defined.
64949 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64951         [BZ #14048]
64952         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64953         Use int64_t for variable i.
64954         * math/libm-test.inc (fmod_test): Add more tests.
64956         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64957         z computation is not scheduled after fetestexcept.
64958         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64959         Use math_force_eval instead of asm to ensure calculation scheduled
64960         before exception test.
64961         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64962         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64964 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64967         computation is not scheduled after fetestexcept.
64969 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64971         [BZ #14117]
64972         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64973         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64975 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64977         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64978         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64980 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64982         [BZ #14117]
64983         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64984         <bits/wordsize.h>.
64985         (__WCHAR_MIN): Support __WORDSIZE == 64.
64986         (__WCHAR_MAX): Likewise.
64988         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64989         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64991         [BZ #14183]
64992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64993         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64995         [BZ #14117]
64996         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64997         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64999         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65000         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65002         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65003         Defined to 1 if __x86_64__ isn't defined.
65004         (_STAT_VER_LINUX_OLD): New.
65005         (st_atime): Remove duplicate.
65006         (st_mtime): Likewise.
65007         (st_ctime): Likewise.
65009 2012-05-31  David S. Miller  <davem@davemloft.net>
65011         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65012         entries.
65014 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65016         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65017         gen-libm-test.pl.
65019         [BZ #14132]
65020         * elf/dl-reloc.c: Include <_itoa.h>.
65021         (_dl_reloc_bad_type): Remove use of INTUSE.
65022         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65023         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65024         * stdio-common/psiginfo.c (psiginfo): Likewise.
65025         * stdio-common/psignal.c (psignal): Likewise.
65026         * string/strsignal.c (strsignal): Likewise.
65027         * include/signal.h (_sys_siglist): Declare hidden proto.
65028         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65029         INTVARDEF with libc_hidden_data_def.
65030         * stdio-common/itoa-udigits.c: Likewise.
65031         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65032         (_itoa_lower_digits_internal): Remove declaration.
65033         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65034         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65035         (_sys_sigabbrev_internal): Remove aliases.
65036         (_sys_siglist): Define hidden alias.
65038 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65041         bits/sysctl.h.
65043 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65045         [BZ #14117]
65046         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65047         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65049         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65050         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65051         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65052         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65054         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65056         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65057         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65058         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65060         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65061         with __addr.
65062         (insw): Likewise.
65063         (insl): Likewise.
65064         (outsb): Likewise.
65065         (outsw): Likewise.
65066         (outsl): Likewise.
65068         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65069         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65070         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65072         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65073         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65074         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65075         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65076         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65077         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65079         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65080         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65082         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65083         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65085         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65086         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65087         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65089         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65090         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65091         to ...
65092         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65094         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65095         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65096         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65098         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65099         for x86-64.
65100         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65102 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65104         * math/math.h (M_El): Use two more decimal places.
65105         (M_LOG2El): Likewise.
65106         (M_LOG10El): Likewise.
65107         (M_LN2l): Likewise.
65108         (M_LN10l): Likewise.
65109         (M_PIl): Likewise.
65110         (M_PI_2l): Likewise.
65111         (M_PI_4l): Likewise.
65112         (M_1_PIl): Likewise.
65113         (M_2_PIl): Likewise.
65114         (M_2_SQRTPIl): Likewise.
65115         (M_SQRT2l): Likewise.
65116         (M_SQRT1_2l): Likewise.
65118 2012-05-31  David S. Miller  <davem@davemloft.net>
65120         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65121         values between float registers.
65122         * sysdeps/sparc/sparc64/memset.S: Likewise.
65123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65125 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65127         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65128         -D_FORTIFY_SOURCE=1.
65129         (CPPFLAGS-tst-longjmp_chk.c): Define.
65130         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65131         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65132         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65133         CFLAGS-tst-wchar-h.c.
65135 2012-05-31  Marek Polacek  <polacek@redhat.com>
65137         [BZ #14132]
65138         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65139         __endmntent_internal): Remove declaration.
65140         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65141         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65142         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65144 2012-05-30  David S. Miller  <davem@davemloft.net>
65146         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65147         (___Q_simulate_exceptions): Use real FP ops rather than writing
65148         into the %fsr.
65149         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65150         Likewise.
65152 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65154         [BZ #14117]
65155         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65156         * sysdeps/x86/bits/xtitypes.h: This.
65158         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65159         * sysdeps/x86/bits/wordsize.h: This.
65161         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65162         * sysdeps/x86/bits/huge_vall.h: This.
65164         * sysdeps/i386/bits/select.h: Removed.
65165         * sysdeps/x86_64/bits/select.h: Renamed to ...
65166         * sysdeps/x86/bits/select.h: This.
65168         * sysdeps/i386/bits/setjmp.h: Removed.
65169         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65170         * sysdeps/x86/bits/setjmp.h: This.
65172         * sysdeps/i386/bits/mathdef.h: Removed.
65173         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65174         * sysdeps/x86/bits/mathdef.h: This.
65176 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65178         [BZ #14132]
65179         * include/sys/socket.h (__connect_internal)
65180         (__libc_sa_len_internal): Remove declaration.
65181         (__connect, __libc_sa_len): Declare hidden_proto.
65182         (SA_LEN): Remove use of INTUSE.
65183         * socket/connect.c: Add libc_hidden_def.
65184         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65185         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65186         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65187         alias.
65188         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65189         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65190         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65191         of adding _internal alias.
65193 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65195         [BZ #14117]
65196         * sysdeps/i386/bits/link.h: Removed.
65197         * sysdeps/i386/bits/linkmap.h: Likewise.
65198         * sysdeps/x86_64/bits/link.h: Renamed to ...
65199         * sysdeps/x86/bits/link.h: This.
65200         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65201         * sysdeps/x86/bits/linkmap.h: This.
65203         * sysdeps/i386/bits/endian.h: Removed.
65204         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65205         * sysdeps/x86/bits/endian.h: This.
65207         * sysdeps/i386/bits/byteswap.h: Removed.
65208         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65209         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65210         * sysdeps/x86/bits/byteswap.h: This.
65211         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65212         * sysdeps/x86/bits/byteswap-16.h: This.
65213         * sysdeps/i386/Implies: Add x86.
65214         * sysdeps/x86_64/Implies: Likewise.
65216 2012-05-30  David S. Miller  <davem@davemloft.net>
65218         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65219         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65220         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65221         (FP_TRAPPING_EXCEPTIONS): Define.
65222         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65223         (FP_TRAPPING_EXCEPTIONS): Define.
65224         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65225         subnormals only when inexact has been signalled or underflow
65226         exceptions are enabled.
65227         (_FP_PACK_CANONICAL): Likewise.
65229 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65231         [BZ #14183]
65232         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65233         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65235 2012-05-30  Richard Henderson  <rth@twiddle.net>
65237         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65238         with #ifndef NOT_IN_libc.
65240         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65241         marked to avoid plt entry.
65243 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65245         [BZ #14112]
65246         * Makeconfig (default-abi): New macro.
65247         (abi-includes): Likewise.
65248         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65249         $(abi-$(default-abi)-lib-soname) for soname if defined.
65250         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65251         abi-variants.
65252         * Makefile (installed-stubs): Likewise.
65253         * include/stubs-biarch.h: Removed.
65254         * scripts/lib-names.awk: Only handle one library at a time.
65255         * scripts/soversions.awk: Remove WORDSIZE support.
65256         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65257         entries.
65258         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65259         Removed.
65260         (syscall-list-default-condition): Likewise.
65261         (syscall-list-default-condition): Likewise.
65262         (syscall-list-includes): Likewise.
65263         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65264         syscall-list-* with abi-*.  Handle undefined abi-variants.
65265         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65266         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65267         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65268         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65269         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65270         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65271         Removed.
65272         (syscall-list-32-options): Likewise.
65273         (syscall-list-32-condition): Likewise.
65274         (syscall-list-64-options): Likewise.
65275         (syscall-list-64-condition): Likewise.
65276         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65277         macro.
65278         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65279         Renamed to ...
65280         (abi-*): This.
65281         (abi-64-ld-soname): New macro.
65282         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65283         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65284         Renamed to ...
65285         (abi-*): This.
65286         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65287         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65289 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65291         * sysdeps/unix/sysv/linux/kernel-features.h
65292         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65293         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65294         include <kernel-features.h>.
65295         [!__NR_ftruncate64]: Remove conditional code.
65296         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65297         [__NR_ftruncate64]: Make code unconditional.
65298         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65299         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
65318         * configure.in (libc_cv_fpie): Weaken to a compile test using
65319         LIBC_TRY_CC_OPTION.
65320         * configure: Regenerated.
65322 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65328         Refreshed.
65329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65335         Refreshed.
65337 2012-05-27  David S. Miller  <davem@davemloft.net>
65339         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65340         (___Q_zero): New.
65341         (__Q_simulate_exceptions): Return void.  Change to simulate
65342         exceptions by writing into the %fsr.
65343         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65344         (__Qp_handle_exceptions): Likewise.
65345         (numbers): Delete.
65346         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65347         __Qp_handle_exceptions.
65348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65349         __Qp_handle_exceptions.
65350         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65351         as unused and give dummy FP_RND_NEAREST initializer.
65352         (FP_INHIBIT_RESULTS): Define.
65353         (___Q_simulate_exceptions): Update declaration.
65354         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65355         formatting.
65356         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65357         as unused and give dummy FP_RND_NEAREST initializer.
65358         (__Qp_handle_exceptions): Update declaration.
65359         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65360         formatting.
65362 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65364         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65365         the temporary FPU control word.
65366         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65367         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65368         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65369         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65370         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65371         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65372         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65373         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65374         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65375         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65376         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65378 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65380         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65381         fields.
65383 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65385         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65386         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65387         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65388         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65389         Likewise.
65390         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65391         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65392         Likewise.
65394 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65396         * po/h.po: Update from translation team.
65398 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65400         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65402         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65403         handling of denormals.
65404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65405         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65406         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65407         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65408         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65411         Likewise.
65413 2012-05-26  Marek Polacek  <polacek@redhat.com>
65415         [BZ #14152]
65416         * math/libm-test.inc (fma_test): Don't always expect underflow
65417         exception.
65419 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65421         [BZ #12416]
65422         * elf/tst-execstack.c: Include stackinfo.h.
65423         (do_test): Adjust test case to ensure that pthread_getattr_np
65424         behaviour remains the same after marking stack executable.
65426 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65428         * sysdeps/unix/sysv/linux/kernel-features.h
65429         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65430         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65431         kernel-features.h.
65432         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65433         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65434         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65435         kernel-features.h.
65436         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65437         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65439 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65441         * configure.in: Define the default includes to being none.
65442         * configure: Regenerated.
65444 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65446         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65447         * sysdeps/x86_64/setjmp.S: Likewise.
65448         * sysdeps/i386/bsd-setjmp.S: Likewise.
65449         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65450         * sysdeps/i386/setjmp.S: Likewise.
65451         * sysdeps/i386/__longjmp.S: Likewise.
65452         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65453         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65455         * include/stap-probe.h: New file.
65456         * configure.in: Handle --enable-systemtap.
65457         * configure: Regenerated.
65458         * config.h.in (USE_STAP_PROBE): New #undef.
65459         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65460         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65461         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65463 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65465         [BZ #13717]
65466         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65467         to 2.4.0 where earlier.
65468         * sysdeps/unix/sysv/linux/configure: Regenerated.
65469         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65470         <kernel-features.h>.
65471         [__ASSUME_32BITUIDS]: Make code unconditional.
65472         [!__ASSUME_32BITUIDS]: Remove conditional code.
65473         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65474         <kernel-features.h>.
65475         [__ASSUME_32BITUIDS]: Make code unconditional.
65476         [!__ASSUME_32BITUIDS]: Remove conditional code.
65477         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65478         [__ASSUME_32BITUIDS]: Make code unconditional.
65479         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65480         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65481         <kernel-features.h>.
65482         [__ASSUME_32BITUIDS]: Make code unconditional.
65483         [!__ASSUME_32BITUIDS]: Remove conditional code.
65484         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65485         <kernel-features.h>.
65486         [__ASSUME_32BITUIDS]: Make code unconditional.
65487         [!__ASSUME_32BITUIDS]: Remove conditional code.
65488         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65489         <kernel-features.h>.
65490         [__ASSUME_32BITUIDS]: Make code unconditional.
65491         [!__ASSUME_32BITUIDS]: Remove conditional code.
65492         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65493         <kernel-features.h>.
65494         [__ASSUME_32BITUIDS]: Make code unconditional.
65495         [!__ASSUME_32BITUIDS]: Remove conditional code.
65496         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65497         <kernel-features.h>.
65498         [__ASSUME_32BITUIDS]: Make code unconditional.
65499         [!__ASSUME_32BITUIDS]: Remove conditional code.
65500         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65501         <kernel-features.h>.
65502         [__ASSUME_32BITUIDS]: Make code unconditional.
65503         [!__ASSUME_32BITUIDS]: Remove conditional code.
65504         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65505         <kernel-features.h>.
65506         [__ASSUME_32BITUIDS]: Make code unconditional.
65507         [!__ASSUME_32BITUIDS]: Remove conditional code.
65508         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65509         <kernel-features.h>.
65510         [__ASSUME_32BITUIDS]: Make code unconditional.
65511         [!__ASSUME_32BITUIDS]: Remove conditional code.
65512         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65513         <kernel-features.h>.
65514         [__ASSUME_32BITUIDS]: Make code unconditional.
65515         [!__ASSUME_32BITUIDS]: Remove conditional code.
65516         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65517         <kernel-features.h>.
65518         [__ASSUME_32BITUIDS]: Make code unconditional.
65519         [!__ASSUME_32BITUIDS]: Remove conditional code.
65520         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65521         <kernel-features.h>.
65522         [__NR_setresgid] (__setresgid): Do not declare.
65523         [__ASSUME_32BITUIDS]: Make code unconditional.
65524         [!__ASSUME_32BITUIDS]: Remove conditional code.
65525         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65526         <kernel-features.h>.
65527         [__NR_setresuid] (__setresuid): Do not declare.
65528         [__ASSUME_32BITUIDS]: Make code unconditional.
65529         [!__ASSUME_32BITUIDS]: Remove conditional code.
65530         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65531         <kernel-features.h>.
65532         [__ASSUME_32BITUIDS]: Make code unconditional.
65533         [!__ASSUME_32BITUIDS]: Remove conditional code.
65534         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65535         <kernel-features.h>.
65536         [__ASSUME_32BITUIDS]: Make code unconditional.
65537         [!__ASSUME_32BITUIDS]: Remove conditional code.
65538         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65539         <kernel-features.h>.
65540         [__ASSUME_32BITUIDS]: Make code unconditional.
65541         [!__ASSUME_32BITUIDS]: Remove conditional code.
65542         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65543         <kernel-features.h>.
65544         [__ASSUME_32BITUIDS]: Make code unconditional.
65545         [!__ASSUME_32BITUIDS]: Remove conditional code.
65546         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65547         <kernel-features.h>.
65548         [__ASSUME_32BITUIDS]: Make code unconditional.
65549         [!__ASSUME_32BITUIDS]: Remove conditional code.
65550         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65551         <kernel-features.h>.
65552         [__ASSUME_32BITUIDS]: Make code unconditional.
65553         [!__ASSUME_32BITUIDS]: Remove conditional code.
65554         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65555         <kernel-features.h>.
65556         [__ASSUME_32BITUIDS]: Make code unconditional.
65557         [!__ASSUME_32BITUIDS]: Remove conditional code.
65558         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65559         <kernel-features.h>.
65560         [__ASSUME_32BITUIDS]: Make code unconditional.
65561         [!__ASSUME_32BITUIDS]: Remove conditional code.
65562         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65563         <kernel-features.h>.
65564         [__ASSUME_32BITUIDS]: Make code unconditional.
65565         [!__ASSUME_32BITUIDS]: Remove conditional code.
65566         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65567         <kernel-features.h>.
65568         [__ASSUME_32BITUIDS]: Make code unconditional.
65569         [!__ASSUME_32BITUIDS]: Remove conditional code.
65570         * sysdeps/unix/sysv/linux/kernel-features.h
65571         (__ASSUME_SETRESUID_SYSCALL): Remove.
65572         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65573         (__ASSUME_32BITUIDS): Likewise.
65574         (__ASSUME_LDT_WORKS): Likewise.
65575         (__ASSUME_O_DIRECTORY): Likewise.
65576         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65577         architecture but not kernel version.
65578         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65579         (__ASSUME_MMAP2_SYSCALL): Likewise.
65580         (__ASSUME_STAT64_SYSCALL): Likewise.
65581         (__ASSUME_IPC64): Likewise.
65582         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65583         <kernel-features.h>.
65584         [__ASSUME_32BITUIDS]: Make code unconditional.
65585         [!__ASSUME_32BITUIDS]: Remove conditional code.
65586         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65587         <kernel-features.h>.
65588         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65589         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65590         132096]: Remove conditional code.
65591         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65592         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65593         <kernel-features.h>.
65594         [__ASSUME_32BITUIDS]: Make code unconditional.
65595         [!__ASSUME_32BITUIDS]: Remove conditional code.
65596         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65597         <kernel-features.h>.
65598         [__ASSUME_32BITUIDS]: Make code unconditional.
65599         [!__ASSUME_32BITUIDS]: Remove conditional code.
65600         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65601         <kernel-features.h>.
65602         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65603         unconditional.
65604         (__setresgid): Do not declare.
65605         [__ASSUME_32BITUIDS]: Make code unconditional.
65606         [!__ASSUME_32BITUIDS]: Remove conditional code.
65607         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65608         <kernel-features.h>.
65609         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65610         unconditional.
65611         (__setresuid): Do not declare.
65612         [__ASSUME_32BITUIDS]: Make code unconditional.
65613         [!__ASSUME_32BITUIDS]: Remove conditional code.
65614         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65615         <kernel-features.h>.
65616         [__ASSUME_32BITUIDS]: Make code unconditional.
65617         [!__ASSUME_32BITUIDS]: Remove conditional code.
65618         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65619         <kernel-features.h>.
65620         [__ASSUME_32BITUIDS]: Make code unconditional.
65621         [!__ASSUME_32BITUIDS]: Remove conditional code.
65623 2012-05-25  Richard Henderson  <rth@twiddle.net>
65625         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65626         dl_hwcap to ifunc resolver.
65627         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65628         elf_ifunc_invoke.
65629         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65630         dl_hwcap to ifunc resolver.
65631         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65633 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65635         [BZ #14153]
65636         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65637         for |x| <= 2**-26, not 2**-57.
65638         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65639         exception.
65641 2012-05-24  Jeff Law  <law@redhat.com>
65643         * stdio-common/Makefile (tests): Add bug25.
65644         * stdio-common/bug25.c: New test.
65646 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65648         [BZ #13576]
65649         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65650         multiple of MALLOC_ALIGNMENT in size.
65651         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65653 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65655         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65656         Require >= 256.
65657         (FILENAME_MAX): Use macro-int-constant.
65658         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65659         (_IOFBF): Use macro-int-constant.
65660         (_IOLBF): Likewise.
65661         (_IONBF): Likewise.
65662         (SEEK_CUR): Likewise.
65663         (SEEK_END): Likewise.
65664         (SEEK_SET): Likewise.
65665         (TMP_MAX): Likewise.
65666         (EOF): Use macro-int-constant.  Require < 0.
65667         (NULL): Use macro-constant.  Require == 0.
65668         (stdin): Require type to be FILE *.
65669         (stdout): Likewise.
65670         (stderr): Likewise.
65671         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65672         macro-int-constant.
65673         (EXIT_SUCCESS): Likewise.
65674         (NULL): Use macro-constant.  Require == 0.
65675         (RAND_MAX): Use macro-int-constant.
65676         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65677         [C99-based standards] (strtof): Require function.
65678         [C99-based standards] (strtold): Likewise.
65679         [C99-based standards] (strtoll): Likewise.
65680         [C99-based standards] (strtoull): Likewise.
65681         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65682         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65683         [ISO || ISO99 || ISO11] (math.h): Likewise.
65684         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65685         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65688 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65690         [BZ #14132]
65691         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65692         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65693         * intl/dgettext.c (DCGETTEXT): Likewise.
65694         * intl/gettext.c (DCGETTEXT): Likewise.
65695         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65696         * posix/regex_internal.h (gettext): Likewise.
65697         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65698         Remove declaration.
65699         * include/argz.h (__argz_count_internal)
65700         (__argz_stringify_internal): Remove declaration.
65701         (__argz_count, __argz_stringify): Declare hidden proto.
65702         * intl/dcgettext.c: Remove use of INTDEF.
65703         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65704         * string/argz-stringify.c: Likewise.
65705         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65706         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65707         Declare hidden proto.
65708         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65709         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65710         Declare hidden proto.
65711         * include/stdio.h (__asprintf_internal): Don't declare.
65712         (__asprintf): Don't define as macro.  Declare hidden proto.
65713         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65714         (__fsetlocking): Declare hidden proto.
65715         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65716         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65717         hidden proto.
65718         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65719         (_IO_setlinebuf): Remove use of INTUSE.
65720         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65721         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65722         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65723         Remove declaration.
65724         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65725         (_IO_do_flush): Remove use of INTUSE.
65726         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65727         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65728         (_IO_adjust_column, _IO_least_wmarker)
65729         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65730         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65731         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65732         (_IO_default_doallocate, _IO_wdefault_doallocate)
65733         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65734         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65735         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65736         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65737         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65738         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65739         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65740         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65741         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65742         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65743         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65744         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65745         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65746         proto.
65747         (_IO_flush_all_internal, _IO_adjust_column_internal)
65748         (_IO_default_uflow_internal, _IO_default_finish_internal)
65749         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65750         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65751         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65752         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65753         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65754         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65755         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65756         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65757         (_IO_file_close_internal, _IO_file_close_it_internal)
65758         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65759         (_IO_file_init_internal, _IO_file_attach_internal)
65760         (_IO_file_fopen_internal, _IO_file_read_internal)
65761         (_IO_file_sync_internal, _IO_file_seek_internal)
65762         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65763         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65764         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65765         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65766         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65767         (_IO_list_all_internal, _IO_link_in_internal)
65768         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65769         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65770         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65771         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65772         (_IO_do_write_internal, _IO_padn_internal)
65773         (_IO_getline_info_internal, _IO_getline_internal)
65774         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65775         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65776         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65777         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65778         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65779         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65780         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65781         with libc_hidden_ver, remove use of INTUSE.
65782         * libio/genops.c: Likewise.
65783         * libio/freopen.c: Likewise.
65784         * libio/freopen64.c: Likewise.
65785         * libio/iofclose.c: Likewise.
65786         * libio/iofdopen.c: Likewise.
65787         * libio/iofflush.c: Likewise.
65788         * libio/iofflush_u.c: Likewise.
65789         * libio/iofgets.c: Likewise.
65790         * libio/iofgets_u.c: Likewise.
65791         * libio/iofopen.c: Likewise.
65792         * libio/iofopncook.c: Likewise.
65793         * libio/iofread.c: Likewise.
65794         * libio/iofread_u.c: Likewise.
65795         * libio/ioftell.c: Likewise.
65796         * libio/iofwrite.c: Likewise.
65797         * libio/iogetline.c: Likewise.
65798         * libio/iogets.c: Likewise.
65799         * libio/iogetwline.c: Likewise.
65800         * libio/iopadn.c: Likewise.
65801         * libio/iopopen.c: Likewise.
65802         * libio/ioseekoff.c: Likewise.
65803         * libio/ioseekpos.c: Likewise.
65804         * libio/iosetbuffer.c: Likewise.
65805         * libio/iosetvbuf.c: Likewise.
65806         * libio/ioungetc.c: Likewise.
65807         * libio/ioungetwc.c: Likewise.
65808         * libio/iovdprintf.c: Likewise.
65809         * libio/iovsprintf.c: Likewise.
65810         * libio/iovsscanf.c: Likewise.
65811         * libio/memstream.c: Likewise.
65812         * libio/obprintf.c: Likewise.
65813         * libio/oldfileops.c: Likewise.
65814         * libio/oldiofclose.c: Likewise.
65815         * libio/oldiofdopen.c: Likewise.
65816         * libio/oldiofopen.c: Likewise.
65817         * libio/oldiopopen.c: Likewise.
65818         * libio/oldstdfiles.c: Likewise.
65819         * libio/putc.c: Likewise.
65820         * libio/setbuf.c: Likewise.
65821         * libio/setlinebuf.c: Likewise.
65822         * libio/stdfiles.c: Likewise.
65823         * libio/strops.c: Likewise.
65824         * libio/vasprintf.c: Likewise.
65825         * libio/vscanf.c: Likewise.
65826         * libio/vsnprintf.c: Likewise.
65827         * libio/vswprintf.c: Likewise.
65828         * libio/wfiledoalloc.c: Likewise.
65829         * libio/wfileops.c: Likewise.
65830         * libio/wgenops.c: Likewise.
65831         * libio/wmemstream.c: Likewise.
65832         * libio/wstrops.c: Likewise.
65833         * libio/__fpurge.c: Likewise.
65834         * libio/__fsetlocking.c: Likewise.
65835         * assert/assert.c: Likewise.
65836         * debug/fgets_chk.c: Likewise.
65837         * debug/fgets_u_chk.c: Likewise.
65838         * debug/fread_chk.c: Likewise.
65839         * debug/fread_u_chk.c: Likewise.
65840         * debug/gets_chk.c: Likewise.
65841         * debug/obprintf_chk.c: Likewise.
65842         * debug/vasprintf_chk.c: Likewise.
65843         * debug/vdprintf_chk.c: Likewise.
65844         * debug/vsnprintf_chk.c: Likewise.
65845         * debug/vsprintf_chk.c: Likewise.
65846         * malloc/mtrace.c: Likewise.
65847         * misc/error.c: Likewise.
65848         * misc/syslog.c: Likewise.
65849         * stdio-common/asprintf.c: Likewise.
65850         * stdio-common/fxprintf.c: Likewise.
65851         * stdio-common/getw.c: Likewise.
65852         * stdio-common/isoc99_fscanf.c: Likewise.
65853         * stdio-common/isoc99_scanf.c: Likewise.
65854         * stdio-common/isoc99_vfscanf.c: Likewise.
65855         * stdio-common/isoc99_vscanf.c: Likewise.
65856         * stdio-common/isoc99_vsscanf.c: Likewise.
65857         * stdio-common/printf-prs.c: Likewise.
65858         * stdio-common/printf_fp.c: Likewise.
65859         * stdio-common/printf_fphex.c: Likewise.
65860         * stdio-common/printf_size.c: Likewise.
65861         * stdio-common/putw.c: Likewise.
65862         * stdio-common/scanf.c: Likewise.
65863         * stdio-common/sprintf.c: Likewise.
65864         * stdio-common/tmpfile.c: Likewise.
65865         * stdio-common/vfprintf.c: Likewise.
65866         * stdio-common/vfscanf.c: Likewise.
65867         * stdlib/strfmon_l.c: Likewise.
65868         * sunrpc/openchild.c: Likewise.
65869         * sunrpc/xdr_stdio.c: Likewise.
65870         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65871         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65873 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65875         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65877         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65878         in the third column, to generate for the shared library an IFUNC
65879         that uses _dl_vdso_vsym.
65880         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65881         * Makeconfig (object-suffixes-noshared): New variable.
65883         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65884         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65885         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65886         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65888         [BZ #14132]
65889         * include/sys/time.h (__gettimeofday): Remove macro.
65890         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65891         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65892         Remove INTDEF.
65893         (__gettimeofday): Add libc_hidden_def.
65894         (gettimeofday): Add libc_hidden_weak.
65895         * sysdeps/mach/gettimeofday.c: Likewise.
65896         * sysdeps/posix/gettimeofday.c: Likewise.
65897         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65898         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65900         (__gettimeofday_internal): Remove strong_alias.
65901         (__gettimeofday): Add libc_hidden_def.
65902         (gettimeofday): Add libc_hidden_weak.
65903         * sysdeps/unix/syscalls.list (gettimeofday):
65904         Remove __gettimeofday_internal alias.
65906 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65907             H.J. Lu  <hongjiu.lu@intel.com>
65909         [BZ #12495]
65910         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65911         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65912         (largebin_index_32_big): New.
65913         (largebin_index): Use it for 16-byte alignment.
65914         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65915         correction with front_misalign.
65917 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65921         Likewise.
65922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65923         Likewise.
65924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65925         Likewise.
65926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65927         Likewise.
65928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65929         Likewise.
65930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65931         Likewise.
65932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65933         Likewise.
65934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65935         Likewise.
65936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65937         Likewise.
65938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65939         Likewise.
65940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65941         Likewise.
65942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65943         Likewise.
65945         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65946         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65948 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65950         [BZ #10846]
65951         [BZ #14036]
65952         * math/libm-test.inc (exp_test): Add test from bug 14036.
65953         (pow_test): Add test from bug 10846.
65955         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65956         and other flags.
65957         (special_function): Do not include flags in test name.
65958         (parse_args): Likewise.
65959         * sysdeps/i386/fpu/libm-test-ulps: Update.
65960         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65961         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65962         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65965         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65966         exceptions.
65967         * math/libm-test.inc ("Philosophy"): Update comment about
65968         exception testing.
65969         (UNDERFLOW_EXCEPTION): New macro.
65970         (UNDERFLOW_EXCEPTION_OK): Likewise.
65971         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65972         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65973         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65974         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65975         (INVALID_EXCEPTION_OK): Update value.
65976         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65977         (OVERFLOW_EXCEPTION_OK): Likewise.
65978         (IGNORE_ZERO_INF_SIGN): Likewise.
65979         (test_exceptions): Handle underflow exceptions.
65980         (acos_test): Update for underflow exception expectations.
65981         (cexp_test): Likewise.
65982         (clog_test): Likewise.
65983         (clog10_test): Likewise.
65984         (csqrt_test): Likewise.
65985         (ctan_test): Likewise.
65986         (ctanh_test): Likewise.
65987         (exp_test): Likewise.
65988         (exp10_test): Likewise.
65989         (exp2_test): Likewise.
65990         (expm1_test): Likewise.
65991         (fma_test): Likewise.
65992         (j0_test): Likewise.
65993         (jn_test): Likewise.
65994         (nexttoward_test): Likewise.
65995         (pow_test): Likewise.
65996         (scalbn_test): Likewise.
65997         (scalbln_test): Likewise.
65998         (tan_test): Likewise.
65999         (y1_test): Likewise.
66000         * sysdeps/i386/fpu/libm-test-ulps: Update.
66001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66003 2012-05-23  David S. Miller  <davem@davemloft.net>
66005         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66006         (__libc_sigaction): Remove unused local variables.
66008 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66010         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66012 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66014         mktime: avoid signed integer overflow
66015         * time/mktime.c (__mktime_internal): Do not mishandle the case
66016         where diff == INT_MIN.
66018         mktime: simplify computation of average
66019         * time/mktime.c (ranged_convert): Use new time_t_avg function
66020         instead of rolling our own (probably-slower) code.
66022         mktime: do not assume signed right shift propagates sign bit
66023         * time/mktime.c (isdst_differ): New static function.
66024         (__mktime_internal): No need to normalize tm_isdst now.
66025         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66026         tm_isdst values.
66028         mktime: merge another wrapv change from gnulib
66029         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66030         from some compilers.
66032         mktime: remove incorrect attempt at unusual arithmetics
66033         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66034         The code didn't really work on such machines anyway.
66035         (TYPE_MINIMUM): Assume two's complement.
66036         (twos_complement_arithmetic): Verify that long_int and time_t
66037         are two's complement (or unsigned, in the latter case).
66039         mktime: check signed shifts on long_int and time_t, too
66040         * time/mktime.c (SHR): Check that shifts work as desired
66041         on the types long_int and time_t too, as SHR is used on
66042         such types.
66044         mktime: do not assume 'long' is wide enough
66045         * time/mktime.c (verify): Move decl up.
66046         (long_int): New type.
66047         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66048         to remove assumption in the code that 'long' is wide enough to
66049         store year values.  This assumption is not true on x32 and on
66050         some non-glibc platforms.
66052         mktime: merge wrapv change from gnulib
66053         * time/mktime.c (WRAPV): New macro.
66054         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66055         (guess_time_tm, __mktime_internal): Do not assume that signed
66056         integer overflow wraps around; modern compilers generate code
66057         where this assumption is no longer valid.
66059 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66061         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66062         Replace "jmp L(pseudo_end)" with "ret".
66063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66064         Likewise.
66066 2012-05-23  Andreas Jaeger  <aj@suse.de>
66068         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66069         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66071 2012-05-23  Andreas Jaeger  <aj@suse.de>
66072             Maximilian Attems  <max@stro.at>
66074         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66075         New macros.
66077 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66080         code so that pseudo_end is just ret and the stack pointer is
66081         correct also for static library in error case.
66083 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66085         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66086         move to syscalls.list.
66087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66092         * manual/install.texi (Running make install): Do not mention Linux
66093         kernel version for which pt_chown is not needed.
66094         (Linux): Do not mention problems with nscd with 2.0 kernels.
66095         * INSTALL: Regenerated.
66097 2012-05-23  Andreas Jaeger  <aj@suse.de>
66099         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66100         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66101         macro.
66102         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66103         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66104         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66105         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66106         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66110         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66112         * sysdeps/unix/sysv/linux/bits/in.h
66113         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66115 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66117         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66118         (PREPARE_VERSION): Just use assert instead, it will be elided
66119         under [NDEBUG] anyway.
66121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66123         * sysdeps/unix/sysv/linux/Makefile: Include
66124         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66125         (sysdep_routines): Remove sysctl.
66126         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66127         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66128         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66129         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66130         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66132 2012-05-22  Andreas Jaeger  <aj@suse.de>
66134         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66135         that pseudo_end is just ret and the stack pointer is correct also
66136         for static library in error case.
66138 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66140         [BZ #14122]
66141         * nss/nsswitch.c (defconfig_entries): New variable.
66142         (__nss_database_lookup): Don't leak defconfig entries.
66143         (nss_parse_service_list): Don't leak on error paths.
66144         (free_database_entries): New function.
66145         (free_defconfig): New function.
66146         (free_mem): Move common code to free_database_entries.
66148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66150         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66151         Add arch_prctl.
66152         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66154         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66155         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66156         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66157         New macro.
66158         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66159         (INTERNAL_SYSCALL_TYPES): Likewise.
66160         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66161         (LOAD_REGS_TYPES_[1-6]): Likewise.
66162         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66163         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66165 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66167         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66168         copysignl for GLIBC_2_0.
66169         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66170         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66172         logbl for GLIBC_2_0.
66173         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66174         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66176 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66179         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66181         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66182         Use "neg %eax".
66184         * time/mktime.c: Update copyright years.
66186 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66188         mktime: merge comment-quoting-style change from gnulib
66189         * time/mktime.c: Quote 'like this' in comments.
66190         The GNU coding standards suggest that we no longer quote `like this',
66191         as "`" and "'" are typically rendered asymmetrically nowadays.
66192         The typical gnulib style is to quote 'like this' when quoting
66193         code, and "like this" when quoting English.
66195         * time/mktime.c (compile-command): Add "-I.".
66197         mktime: merge mktime-internal.h change from gnulib
66198         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66200         mktime: merge time_r change from gnulib
66201         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66203         mktime: merge DEBUG change from gnulib
66204         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66205         case system <time.h> has a #define.
66207         mktime: merge <sys/types.h> change from gnulib
66208         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66209         since <time.t> is now guaranteed to define time_t.
66211         mktime: merge HAVE_CONFIG_H change from gnulib
66212         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66214 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66217         Use "neg %eax".
66219         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66220         __rlim_t cast.
66221         (struct rusage): Use anonymous union to pad each field to
66222         __syscall_slong_t.
66224 2012-05-21  David S. Miller  <davem@davemloft.net>
66226         * Makefules (o-iterator): Remove .s cases.
66227         (compile-command.s): Delete.
66228         (COMPILE.s): Delete.
66229         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66231 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66233         * configure.in (libc_cv_predef_stack_protector): Only consider
66234         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66235         * configure: Regenerated.
66237 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66240         New macro.  Use R*LP on int and pointer.
66241         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66242         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66243         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66244         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66246         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66247         [__WORDSIZE_TIME64_COMPAT32] instead of
66248         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66249         (struct utmp): Likewise.
66250         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66251         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66252         Renamed to ...
66253         (__WORDSIZE_TIME64_COMPAT32): This.
66254         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66255         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66256         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66257         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66258         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66259         (__WORDSIZE_TIME64_COMPAT32): New macro.
66261 2012-05-21  Andreas Jaeger  <aj@suse.de>
66263         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66264         only if [SHARED]. Add prototype for __wcschr_ia32.
66266 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66268         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66269         of %rbp unmolested in the jmp_buf while mangling the low bits.
66270         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66271         unmolested high bits of %rbp while demangling the low bits.
66272         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66274 2012-05-21  Andreas Jaeger  <aj@suse.de>
66276         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66277         * sunrpc/svc_simple.c: Use it for registerrpc.
66278         * sunrpc/xcrypt.c: Use it for passwd2des.
66280         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66282 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66284         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66285         Don't define if [__SYSCALL_WORDSIZE != 32].
66286         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66287         New macro.
66289 2012-05-21  Bruno Haible  <bruno@clisp.org>
66290             Andreas Jaeger  <aj@suse.de>
66292         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66293         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66294         inptr and inend for must_buffer_ch.
66295         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66296         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66297         * stdio-common/Makefile (tests): Remove bug15.
66298         (bug15-ENV): Remove macro.
66299         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66300         anymore.
66302 2012-05-19  Andreas Jaeger  <aj@suse.de>
66303             Roland McGrath  <roland@hack.frob.com>
66305         * manual/contrib.texi: Completely rewritten. It contains now an
66306         alphabetical list of contributors and their contributions.
66308 2012-05-21  Richard Henderson  <rth@twiddle.net>
66310         * misc/getauxval.c (__getauxval): Use unsigned long int.
66311         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66312         (getauxval): Use unsigned long int.
66314 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66316         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66318 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66320         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66321         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66322         __alignof__ (long double).
66324 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66328 2012-05-20  Richard Henderson  <rth@twiddle.net>
66330         * misc/getauxval.c: New file.
66331         * misc/sys/auxv.h: New file.
66332         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66333         (routines): Add getauxval.
66334         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66335         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66336         * elf/dl-sysdep.c (_dl_auxv): Remove.
66337         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66338         * elf/dl-support.c (_dl_auxv): New variable.
66339         (_dl_aux_init): Initialize it.
66340         * manual/startup.texi (Auxiliary Vector): New node.
66341         * sysdeps/generic/bits/hwcap.h: New file.
66342         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66343         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66344         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66345         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66346         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66349         Update.
66350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66353         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66359 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66363 2012-05-19  David S. Miller  <davem@davemloft.net>
66365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66367 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66369         [BZ #14123]
66370         * math/s_ccosh.c: Include <float.h>
66371         (__ccosh): Avoid internal overflow calculating sinh and cosh
66372         values before multiplying by sin and cos values.
66373         * math/s_ccoshf.c: Likewise.
66374         * math/s_ccoshl.c: Likewise.
66375         * math/s_csin.c: Likewise.
66376         * math/s_csinf.c: Likewise.
66377         * math/s_csinl.c: Likewise.
66378         * math/s_csinh.c: Likewise.
66379         * math/s_csinhf.c: Likewise.
66380         * math/s_csinhl.c: Likewise.
66381         * math/libm-test.inc (ccos_test): Add more tests.
66382         (ccosh_test): Likewise.
66383         (csin_test): Likewise.
66384         (csinh_test): Likewise.
66385         * sysdeps/i386/fpu/libm-test-ulps: Update.
66386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66388 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66390         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66391         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66393         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66395 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66397         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66398         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66399         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66400         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66401         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66402         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66403         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66404         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66405         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66406         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66407         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66408         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66409         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66410         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66411         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66412         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66413         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66414         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66415         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66416         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66417         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66418         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66419         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66420         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66421         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66422         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66423         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66424         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66425         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66426         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66427         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66429 2012-05-18  Andreas Jaeger  <aj@suse.de>
66431         * csu/.gitignore: Delete.
66433 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66435         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66436         (timex): Use __syscall_slong_t.
66438 2012-05-18  Andreas Jaeger  <aj@suse.de>
66439             Carlos O'Donell  <carlos_odonell@mentor.com>
66441         * manual/install.texi (Configuring and compiling): Update
66442         description about files modified in the source directory.
66443         * INSTALL: Regenerated.
66445 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66447         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66448         value.  Use "or" to set return value to -1.
66449         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66450         negate return value.
66452 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66454         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66455         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66456         failure if the compiler has Graphite support disabled.
66457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66458         Likewise.
66459         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66460         (CFLAGS-memmove.c): Likewise.
66461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66462         Likewise.
66464 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66466         * sysdeps/x86_64/x32/_itoa.h: New file.
66468         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66469         getdents system call only if kernel and user dirents have the
66470         same d_ino and d_off.
66472         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66473         LLONG_MAX != LONG_MAX.
66474         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66475         (_fitoa_word): Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66478         years.
66479         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66480         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66481         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66483         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66484         include <bits/wordsize.h>.  Check __x86_64__ instead of
66485         __WORDSIZE.
66486         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66487         if __x86_64__ is defined.  Use anonymous union on fpstate.
66489         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66490         anonymous union.
66492 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66494         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66495         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66496         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66497         Refer to _rtld_local_ro instead of _rtld_global_ro.
66498         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66499         Likewise.
66500         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66501         Likewise.
66502         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66503         Likewise.
66504         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66505         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66506         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66508         [BZ #10882]
66509         * sysdeps/powerpc/powerpc32/dl-machine.c
66510         (__elf_machine_runtime_setup) [PROF]: Don't reference
66511         _dl_prof_resolve.
66513 2012-05-18  Andreas Jaeger  <aj@suse.de>
66515         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66516         function only available for GCCs before 3.4 since GCC 3.4
66517         introduced a builtin.
66518         (lrint): Likewise.
66519         (llrintf): Likewise.
66520         (llrint): Likewise.
66521         (fmaxf): Likewise.
66522         (fmax): Likewise.
66523         (fminf): Likewise.
66524         (fmin): Likewise.
66525         (rint): Likewise.
66526         (rintf): Likewise.
66527         (nearbyint): Likewise.
66528         (nearbyintf): Likewise.
66529         (ceil): Likewise.
66530         (ceilf): Likewise.
66531         (floor): Likewise.
66532         (floorf): Likewise.
66534 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66536         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66537         on both fields and cast pointer to __syscall_ulong_t.
66539         * bits/types.h (__fsword_t): New type.
66540         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66541         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66543         (__FSWORD_T_TYPE): Likewise.
66544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66545         (__FSWORD_T_TYPE): Likewise.
66546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66547         (__FSWORD_T_TYPE): Likewise.
66548         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66549         (__FSWORD_T_TYPE): Likewise.
66550         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66551         __SWORD_TYPE with __fsword_t.
66552         (statfs64): Likewise.
66554 2012-05-17  David S. Miller  <davem@davemloft.net>
66556         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66558 2012-05-17  Andreas Jaeger  <aj@suse.de>
66560         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66561         warning.
66563 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66565         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66567 2012-05-17  Andreas Jaeger  <aj@suse.de>
66569         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66570         when it is used.
66572 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66574         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66578         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66579         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66581 2012-05-17  Andreas Jaeger  <aj@suse.de>
66582             Carlos O'Donell  <carlos_odonell@mentor.com>
66584         [BZ #14059]
66585         * sysdeps/x86_64/multiarch/init-arch.h
66586         (bit_YMM_Usable): Rename to...
66587         (bit_AVX_Usable): ... this.
66588         (bit_FMA4_Usable): New macro.
66589         (bit_XMM_state): New macro.
66590         (bit_YMM_state): New macro.
66591         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66592         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66593         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66594         (CPUID_OSXSAVE): New macro.
66595         (CPUID_AVX): New macro.
66596         (CPUID_FMA4): New macro.
66597         (index_YMM_Usable): Rename to...
66598         (index_AVX_Usable): ... this.
66599         (HAS_AVX): Use HAS_ARCH_FEATURE.
66600         (HAS_FMA4): Likewise.
66601         (HAS_YMM_USABLE): Remove.
66602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66603         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66604         are present.
66605         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66606         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66607         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66608         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66609         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66611 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66613         * math/libm-test.c: Support platforms without multiple rounding modes.
66614         * math/bug-nextafter.c: Support platforms without FP exceptions.
66615         * math/bug-nexttoward.c: Likewise.
66616         * math/test-fenv.c: Likewise.
66617         * math/test-misc.c: Likewise.
66618         * stdlib/bug-getcontext.c: Likewise.
66620 2012-05-17  Andreas Jaeger  <aj@suse.de>
66622         * manual/examples/search.c (critter_cmp): Change signature to
66623         avoid warnings.
66624         * manual/string.texi (Collation Functions): Likewise.
66626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66628         * bits/types.h: Fold copyright years.
66629         * bits/typesizes.h: Likewise.
66630         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66634         * time/time.h: Likewise.
66636 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66638         [BZ #208]
66639         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66640         in instead of returning them.  Return void.
66641         (__libc_mallinfo): Accumulate over all arenas.
66642         (__malloc_stats): Adjust for change in int_mallinfo interface.
66644 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66646         [BZ #10375]
66647         * configure.in (NM): Add AC_CHECK_TOOL for it.
66648         (libc_extra_cflags): New substituted variable.
66649         Check for -fstack-protector being used implicitly.
66650         * configure: Regenerated.
66651         * config.make.in (config-extra-cflags): New variable,
66652         gets @libc_extra_cflags@.
66653         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66655         [BZ #10375]
66656         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66657         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66658         * configure: Regenerated.
66659         * config.make.in (CPPUNDEFS): New substituted variable.
66660         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66661         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66662         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66664 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66666         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66667         (mq_attr): Use __syscall_slong_t.
66669 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66671         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66672         Check __x86_64__ instead of __WORDSIZE.
66673         (_STAT_VER_LINUX): Likewise.
66674         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66675         __syscall_ulong_t and __syscall_slong_t.
66676         (stat64): Likewise.
66678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66680         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66684         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66688         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66689         __syscall_ulong_t.
66691         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66692         include <bits/wordsize.h>.  Check __x86_64__ instead of
66693         __WORDSIZE.
66694         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66695         defined.
66696         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66699         include <bits/wordsize.h>.  Check __x86_64__ instead of
66700         __WORDSIZE.
66701         (user_regs_struct): Use "__extension__ unsigned long long"
66702         instead of "unsigned long" if __x86_64__ is defined.
66703         (user): Likewise.  Pad after pointer field if __ILP32__ is
66704         defined.
66706 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66708         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66709         versions 5 to 9.
66710         * configure: Regenerated.
66711         * manual/install.texi (texinfo): Increase version requirement to
66712         4.5 or later.
66713         * INSTALL: Regenerated.
66715         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66717 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66719         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66721         * sysdeps/x86_64/x32/ffs.c: New file.
66723         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66724         __syscall_ulong_t.
66725         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66726         defined.  Use __syscall_ulong_t.
66727         (shminfo): Use __syscall_ulong_t.
66728         (shm_info): Likewise.
66730         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66731         __syscall_ulong_t.
66733         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66734         <bits/wordsize.h>.
66735         (msgqnum_t): Use __syscall_ulong_t.
66736         (msglen_t): Likewise.
66737         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66738         __syscall_ulong_t.
66740         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66741         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66743         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66745         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66746         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66748         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66749         __syscall_slong_t.
66751         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66752         include <bits/wordsize.h>.  Check __x86_64__ instead of
66753         __WORDSIZE.
66755         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66756         "unsigned long long int" if __x86_64__ is defined.
66757         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66759         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66760         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66761         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66763         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66764         <stdint.h>.
66765         (GET_PC): Cast to uintptr_t first.
66766         (GET_FRAME): Likewise.
66767         (GET_STACK): Likewise.
66769         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66770         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66771         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66772         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66773         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66774         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66775         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66776         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66777         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66778         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66779         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66780         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66781         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66782         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66783         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66784         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66785         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66789         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66791         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66794         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66795         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66796         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66797         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66799 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66801         * Makerules (+depfiles): Also collect depfiles from .oS in
66802         $(extra-objs).
66803         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66804         .oS, $(libnldbl-routines)).
66806         * Makerules (native-compile-mkdep-flags): Define.
66807         * sunrpc/Makefile (extra-objs): Add $(addprefix
66808         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66809         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66810         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66811         calling $(make-target-directory).
66813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66815         * bits/types.h (__snseconds_t): Removed.
66816         * time/time.h (struct timespec): Replace __snseconds_t with
66817         __syscall_slong_t.
66818         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66819         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66820         Likewise.
66821         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66822         (__SNSECONDS_T_TYPE): Likewise.
66823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66824         (__SNSECONDS_T_TYPE): Likewise.
66825         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66826         (__SNSECONDS_T_TYPE): Likewise.
66828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66830         * sysdeps/mach/hurd/bits/typesizes.h
66831         (__SYSCALL_SLONG_TYPE): New macro.
66832         (__SYSCALL_ULONG_TYPE): Likewise.
66834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66836         * bits/types.h (__syscall_slong_t): New type.
66837         (__syscall_ulong_t): Likewise.
66839         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66840         (__SYSCALL_ULONG_TYPE): Likewise.
66841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66842         (__SYSCALL_SLONG_TYPE): Likewise.
66843         (__SYSCALL_ULONG_TYPE): Likewise.
66844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66845         (__SYSCALL_SLONG_TYPE): Likewise.
66846         (__SYSCALL_ULONG_TYPE): Likewise.
66847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66848         (__SYSCALL_SLONG_TYPE): Likewise.
66849         (__SYSCALL_ULONG_TYPE): Likewise.
66851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66853         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66854         Add sigaltstack-offsets.sym.
66855         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66856         <sigaltstack-offsets.h>.
66857         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66858         longjmp_msg pointer.
66859         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66860         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66861         signal stack.
66862         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66864 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66866         * elf/stackguard-macros.h: Remove file.
66867         * sysdeps/generic/stackguard-macros.h: New file.
66868         * sysdeps/i386/stackguard-macros.h: Likewise.
66869         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66870         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66871         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66872         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66873         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66874         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66875         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66876         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66877         <elf/stackguard-macros.h>.
66879         [BZ #14109]
66880         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66881         __aligned__ in attribute.
66882         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66883         (gregset_t): Likewise.
66885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66887         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66888         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66889         * sysdeps/x86_64/x32/Implies-after: New file.
66891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66893         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66894         and access return value for _dl_profile_fixup.  Use R10_LP to
66895         load frame size.
66897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66899         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66903         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66904         * sysdeps/x86_64/x32/sysdep.h: New file.
66906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66908         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66909         * sysdeps/x86_64/setjmp.S: Likewise.
66911 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66913         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66914         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66915         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66916         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66917         remove unused global constant.
66919 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66921         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66922         include of <not-cancel.h>.
66924 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66926         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66928 2012-05-15  Jeff Law  <law@redhat.com>
66929             Andreas Jaeger  <aj@suse.de>
66931         [BZ #13594]
66932         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66933         out from...
66934         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66935         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66936         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66937         code changing __hst_map_handle.map.
66939 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66941         * configure.in (sysnames): Look for Implies-before and Implies-after
66942         files.
66943         * configure: Regenerated.
66945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66947         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66948         8-byte data alignment with LP_SIZE alignment.
66950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66952         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66953         into R10_LP.
66955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66957         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66961         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66962         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66963         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66964         Likewise.
66965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66969         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66970         (stackinfo_sub_sp): Likewise.
66972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66974         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66975         RAX_LP.
66977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66979         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66980         into R*_LP.
66982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66984         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66985         sizes into R*_LP.
66987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66989         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66993         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66994         into R11_LP and load __x86_64_shared_cache_size_half into
66995         R8_LP.
66997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66999         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67000         R8_LP.
67002 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67005         logb for POWER7.
67006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67007         logbf for POWER7.
67008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67009         logbl for POWER7.
67010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67011         powerpc32/power7/fpu/s_logb.c via #include.
67012         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67013         powerpc32/power7/fpu/s_logbf.c via #include.
67014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67015         powerpc32/power7/fpu/s_logbl.c via #include.
67017 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67019         * README.libm: Remove file.
67021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67023         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67024         count for x32.  Use R*_LP and omit operand-size suffix.
67026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67028         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67029         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67030         * sysdeps/x86_64/x32/shlib-versions: New file.
67032 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67034         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67035         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67036         Use _dl_fatal_printf instead.
67038 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67040         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67041         set if not set by the user.  Do not allow for being unset.
67042         * sysdeps/unix/sysv/linux/configure: Regenerated.
67044 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67046         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67047         the `q' suffix from lea and replace .quad with ASM_ADDR.
67049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67052         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67053         instead of $17.
67054         (PTR_DEMANGLE): Likewise.
67056 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67058         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67059         (LP_OP): Likewise.
67060         (ASM_ADDR): Likewise.
67061         (RAX_LP): Likewise.
67062         (RBP_LP): Likewise.
67063         (RBX_LP): Likewise.
67064         (RCX_LP): Likewise.
67065         (RDI_LP): Likewise.
67066         (RSI_LP): Likewise.
67067         (RSP_LP): Likewise.
67068         (R8_LP): Likewise.
67069         (R9_LP): Likewise.
67070         (R10_LP): Likewise.
67071         (R10_LP): Likewise.
67072         (R11_LP): Likewise.
67073         (R12_LP): Likewise.
67074         (R13_LP): Likewise.
67075         (R14_LP): Likewise.
67076         (R15_LP): Likewise.
67078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67080         * sysdeps/x86_64/x32/dl-machine.h: New file.
67082 2012-05-14  Andreas Jaeger  <aj@suse.de>
67084         * manual/Makefile (subdir): Remove export of subdir.
67085         (all): Remove target.
67086         (.PHONY): Remove all from list.
67087         (mkinstalldirs): Remove.
67088         (.PHONY): Remove installdirs from list.
67089         ($(inst_infodir)/libc.info): Use make-target-directory.
67090         (installdirs): Remove.
67091         (subdir_%): Remove.
67092         (glibc-targets): Remove.
67093         (lib): Remove.
67094         (stubs): Remove.
67095         ($(objpfx)stubs ../po/manual.pot): Remove.
67096         ($(objpfx)stamp%): Remove.
67097         (make-target-directory): Remove.
67098         (subdir_install): Remove.
67099         (routines): Remove.
67100         (aux): Remove.
67101         (sources): Remove.
67102         (objects): Remove.
67103         (headers): Remove.
67105         [BZ #13750]
67106         * manual/.gitignore: Remove, it's not needed anymore.
67107         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67108         all files in it.
67109         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67110         directory.
67111         (texis): Renamed to $(objpfx)texis.
67112         (texis-path): New, contains path to generated files.
67113         (chapters.%): Use texis-path for complete path, add extra argument
67114         libc-texinfo.sh.
67115         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67116         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67117         (summary,texi, stamp-summary): Use complete path of
67118         files. Generate files in build dir.
67119         (dir-add.texi): Build in build dir.
67120         (libm-err.texi,stamp-libm-err): Likewise.
67121         (version.texi, stamp-version): Likewise.
67122         (.%c.texi): Likewise.
67123         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67124         (mostlyclean): Remove target.
67125         (realclean): Remove target.
67126         (generated): Add new variable with contents from mostlyclean and
67127         realclean, remove entries duplicated in common-mostlyclean, add
67128         stamp-libm-err and stamp-version.
67129         (generated-dirs): Add libc directory.
67130         ($(inst_infodir)/libc.info): Install files from build dir.
67132         * manual/install.texi (Configuring and compiling): Adjust since
67133         the info files are not part of the tar ball anymore.
67135 2012-05-14  Andreas Jaeger  <aj@suse.de>
67137         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67138         variable.
67140 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67142         [BZ #13717]
67143         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67144         to 2.2.0 where earlier.
67145         * sysdeps/unix/sysv/linux/configure: Regenerated.
67146         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67147         Remove conditional code.
67148         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67149         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67150         Remove conditional code.
67151         [!__NR_lchown]: Likewise.
67152         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67153         [__NR_lchown]: Likewise.
67154         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67155         comment referencing __ASSUME_LCHOWN_SYSCALL.
67156         * sysdeps/unix/sysv/linux/i386/sigaction.c
67157         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67158         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67159         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67160         Remove conditional code.
67161         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67162         (__protocol_available): Remove #if 0 code.
67163         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67164         conditional code.
67165         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67166         * sysdeps/unix/sysv/linux/kernel-features.h
67167         (__ASSUME_GETCWD_SYSCALL): Don't define.
67168         (__ASSUME_REALTIME_SIGNALS): Likewise.
67169         (__ASSUME_PREAD_SYSCALL): Likewise.
67170         (__ASSUME_PWRITE_SYSCALL): Likewise.
67171         (__ASSUME_POLL_SYSCALL): Likewise.
67172         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67173         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67174         non-SPARC.
67175         (__ASSUME_SIOCGIFNAME): Don't define.
67176         (__ASSUME_MSG_NOSIGNAL): Likewise.
67177         (__ASSUME_SENDFILE): Define unconditionally.
67178         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67179         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67180         conditional code.
67181         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67182         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67183         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67184         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67185         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67186         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67187         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67189         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67192         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67195         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67198         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67201         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67202         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67204         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67207         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67208         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67210         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67212         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67213         Remove conditional code.
67214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67215         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67216         Remove conditional code.
67217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67218         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67219         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67220         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67221         Remove conditional code.
67222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67223         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67224         Remove conditional code.
67225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67226         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67227         Remove conditional code.
67228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67229         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67230         Remove conditional code.
67231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67232         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67233         Remove conditional code.
67234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67235         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67238         * sysdeps/unix/sysv/linux/sigaction.c
67239         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67240         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67241         * sysdeps/unix/sysv/linux/sigpending.c
67242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67244         * sysdeps/unix/sysv/linux/sigprocmask.c
67245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67247         * sysdeps/unix/sysv/linux/sigsuspend.c
67248         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67249         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67250         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67251         (__libc_missing_rt_sigs): Remove.
67252         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67253         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67254         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67255         Remove conditional code.
67256         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67257         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67258         return 1.
67259         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67260         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67261         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67262         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67264 2012-05-14  Andreas Jaeger  <aj@suse.de>
67266         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67267         it's not used in glibc.
67268         (__coshm1): Likewise.
67269         (__acosh1p): Likewise.
67270         (__sgn): Likewise.
67272         * manual/string.texi (Copying and Concatenation): Add missing
67273         variable in concat example.
67274         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67278         [BZ #14103]
67279         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67280         __builtin_clzl with __builtin_clzll.
67282 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67284         [BZ #14104]
67285         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67286         libc_freeres_ptr.
67288 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67290         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67291         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67292         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67293         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67295 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67297         * NEWS: Update ia64 info.
67299 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67301         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67302         used as bcopy.
67304 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67306         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67307         * sysdeps/unix/syscalls.list (dup3): Likewise.
67308         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67309         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67311 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67313         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67314         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67316 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67318         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67319         thread pointer.
67320         (TLS_IE): Use mov/add instead of movq/addq to load thread
67321         pointer.
67322         (TLS_GD_PREFIX): New.
67323         (TLS_GD): Use it.
67325 2012-05-11  David S. Miller  <davem@davemloft.net>
67327         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67328         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67329         (_FPU_SETCW): Likewise.
67331 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67333         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67334         is 32-byte aligned.
67336 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67338         [BZ #11837]
67339         * iconvdata/gb18030.c: Update tables.
67340         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67341         characters specially.
67342         (BODY for TO_LOOP): Add encoding of missing ranges.
67344 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67346         [BZ #13673]
67347         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67348         * sysdeps/mach/hurd/dup3.c: Likewise.
67349         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67350         * sysdeps/powerpc/memmove.c:: Likewise.
67352 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67354         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67355         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67357 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67359         * elf/elf.h (R_X86_64_RELATIVE64): New.
67360         (R_X86_64_NUM): Updated.
67361         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67362         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67363         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67364         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67365         tst-quad1pie tst-quad2pie
67366         (modules-names): Add tst-quadmod1 tst-quadmod2.
67367         ($(objpfx)tst-quad1): New dependency.
67368         ($(objpfx)tst-quad2): Likewise.
67369         ($(objpfx)tst-quad1pie): Likewise.
67370         ($(objpfx)tst-quad2pie): Likewise.
67371         * sysdeps/x86_64/tst-quad1.c: New file.
67372         * sysdeps/x86_64/tst-quad1pie.c: New file.
67373         * sysdeps/x86_64/tst-quad2.c: Likewise.
67374         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67375         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67376         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67377         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67378         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67382         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67383         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67384         * streams/stropts.h (t_scalar_t): Define type.
67386         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67387         (_PATH_PRESERVE): Set to "/var/lib".
67388         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67390         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67391         instead of int.
67393         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67394         if __dir_mkfile succeeded.
67396         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67397         checking for _hurd_dtablesize.  Unlock it right after having
67398         finished _hurd_dtable allocation.
67400 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67402         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67403         * sysdeps/mach/hurd/configure: Regenerated.
67404         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67405         special-casing to...
67406         * sysdeps/gnu/configure.in: ... this new file.
67407         * sysdeps/unix/sysv/linux/configure: Regenerated.
67408         * sysdeps/gnu/configure: New generated file.
67410         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67411         for Linux: use nsec instead of usec, as well as:
67412         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67413         members of type struct timespec.
67414         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67415         New macros.
67416         (struct stat64): Likewise.
67417         (_STATBUF_ST_NSEC): New macro.
67418         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67420         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67421         __strtoul_internal rather than strtoul.
67423 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67425         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67426         and reject them.
67428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67430         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67431         which preserves existing values.
67432         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67434 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67436         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67437         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67438         greater than FD_SETSIZE.
67440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67442         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67443         allocated, call __vm_protect to finish enabling the existing space, and
67444         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67445         allocate the remainder.
67447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67449         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67450         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67454         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67455         sysdeps/mach/hurd/readlink.c.
67457         * posix/tst-sysconf.c (posix_options): Only use
67458         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67459         _POSIX_SYNCHRONIZED_IO when they are defined
67460         * sysdeps/mach/hurd/bits/posix_opt.h:
67461         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67462         (_XOPEN_REALTIME): Undefine macro.
67463         (_XOPEN_REALTIME_THREADS): Undefine macro.
67464         (_XOPEN_SHM): Undefine macro.
67465         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67466         macro to -1.
67467         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67468         macro to -1.
67469         (_POSIX_ASYNC_IO): Undefine macro.
67470         (_POSIX_PRIORITIZED_IO): Undefine macro.
67471         (_POSIX_SPIN_LOCKS): Define macro to -1.
67473         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67474         SA_NODEFER, SA_RESETHAND.
67475         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67476         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67477         F_DUPFD_CLOEXEC.
67479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67481         * elf/Makefile (pldd-modules): Define unconditionally.
67483 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67485         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67489         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67490         Return ENOENT when name is empty.
67491         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67495         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67497         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67501         Fix mlock in all cases except non-readable pages.
67502         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67503         instead of VM_PROT_ALL as parameter to __vm_wire function.
67505         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67506         (__mkdir): When path is `/', just fail with EEXIST.
67507         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67511         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67512         <sys/uio.h> (for writev).
67513         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67514         and <sys/param.h> (for MIN).
67516 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67518         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67519         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67520         if interrupted.
67522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67524         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67525         Depend on against $(link-rpcuserlibs).
67527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67529         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67530         (__libc_stack_end): Do not use attribute_relro.
67531         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67532         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67533         to libthread-provided value.
67534         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67535         attribute_relro.
67537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67539         [BZ #3748]
67540         * bits/libc-lock.h (__libc_once_get): New macro.
67541         * sysdeps/mach/bits/libc-lock.h: Likewise.
67542         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67544         instead of using implementation details.
67546         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67547         * libio/freopen.c: Likewise.
67548         * libio/freopen64.c: Likewise.
67549         * misc/syslog.c: Likewise.
67550         * nscd/connections.c: Likewise.
67551         * nscd/netgroupcache.c: Likewise.
67552         * sysdeps/posix/getcwd.c: Likewise.
67554 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67556         * math/w_ilogbf.c: Add #include <limits.h>.
67558 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67560         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67561         path instead of returning without unlocking.
67563         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67564         immediate-write ioctls.
67565         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67569         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67570         __builtin_frame_address instead of making assumptions about the
67571         location of the return address relative to DATA.  Force early load of
67572         the return address.
67573         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67574         __builtin_frame_address.
67576         dup3 for GNU Hurd.
67577         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67578         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67579         implement dup3 and do some further code clean-ups.
67580         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67581         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67585         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67587         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67588         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67589         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67590         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67591         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67592         d->port.lock.
67594         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67595         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67596         when handler == SIG_ERR, not when handler != SIG_ERR.
67598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67600         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67601         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67602         definitions.
67604         accept4 for GNU Hurd.
67605         * include/sys/socket.h (__libc_accept4): New prototype.
67606         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67607         to implement __libc_accept4.
67608         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67609         __libc_accept4.
67610         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67612         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67613         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67614         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67615         signal-defines.sym.
67617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67619         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67623         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67624         assertion on O_CLOEXEC flag.
67625         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67626         * hurd/intern-fd.c: Likewise.
67627         * hurd/port2fd.c: Likewise.
67629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67631         [BZ #3906]
67632         * bits/in.h (IPV6_PKTINFO): Define new macro.
67633         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67635 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67637         [BZ #13954]
67638         [BZ #13955]
67639         [BZ #13956]
67640         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67641         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67642         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67643         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67645         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67646         * math/libm-test.inc (logb_test) : Additional logb tests.
67648 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67649             Andreas Jaeger  <aj@suse.de>
67651         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67652         * configure: Regenerated.
67653         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67654         * config.make.in (link-obsolete-rpc): New substituted variable.
67655         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67656         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67657         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67658         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67659         so that libc.a contains the symbols.
67660         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67661         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67662         * sunrpc/auth_none.c: Likewise.
67663         * sunrpc/auth_unix.c: Likewise.
67664         * sunrpc/authdes_prot.c: Likewise.
67665         * sunrpc/authuxprot.c: Likewise.
67666         * sunrpc/clnt_gen.c: Likewise.
67667         * sunrpc/clnt_perr.c: Likewise.
67668         * sunrpc/clnt_raw.c: Likewise.
67669         * sunrpc/clnt_simp.c: Likewise.
67670         * sunrpc/clnt_tcp.c: Likewise.
67671         * sunrpc/clnt_udp.c: Likewise.
67672         * sunrpc/clnt_unix.c: Likewise.
67673         * sunrpc/des_crypt.c: Likewise.
67674         * sunrpc/des_soft.c: Likewise.
67675         * sunrpc/get_myaddr.c: Likewise.
67676         * sunrpc/key_call.c: Likewise.
67677         * sunrpc/key_prot.c: Likewise.
67678         * sunrpc/netname.c: Likewise.
67679         * sunrpc/pm_getmaps.c: Likewise.
67680         * sunrpc/pm_getport.c: Likewise.
67681         * sunrpc/pmap_clnt.c: Likewise.
67682         * sunrpc/pmap_prot.c: Likewise.
67683         * sunrpc/pmap_prot2.c: Likewise.
67684         * sunrpc/pmap_rmt.c: Likewise.
67685         * sunrpc/publickey.c: Likewise.
67686         * sunrpc/rpc_cmsg.c: Likewise.
67687         * sunrpc/rpc_common.c: Likewise.
67688         * sunrpc/rpc_dtable.c: Likewise.
67689         * sunrpc/rpc_prot.c: Likewise.
67690         * sunrpc/rpc_thread.c: Likewise.
67691         * sunrpc/rtime.c: Likewise.
67692         * sunrpc/svc.c: Likewise.
67693         * sunrpc/svc_auth.c: Likewise.
67694         * sunrpc/svc_raw.c: Likewise.
67695         * sunrpc/svc_run.c: Likewise.
67696         * sunrpc/svc_tcp.c: Likewise.
67697         * sunrpc/svc_udp.c: Likewise.
67698         * sunrpc/svc_unix.c: Likewise.
67699         * sunrpc/svcauth_des.c: Likewise.
67700         * sunrpc/xcrypt.c: Likewise.
67701         * sunrpc/xdr.c: Likewise.
67702         * sunrpc/xdr_array.c: Likewise.
67703         * sunrpc/xdr_float.c: Likewise.
67704         * sunrpc/xdr_intXX_t.c: Likewise.
67705         * sunrpc/xdr_mem.c: Likewise.
67706         * sunrpc/xdr_rec.c: Likewise.
67707         * sunrpc/xdr_ref.c: Likewise.
67708         * sunrpc/xdr_sizeof.c: Likewise.
67709         * sunrpc/xdr_stdio.c: Likewise.
67711 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67713         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67714         change.  Update copyright years.
67716 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67718         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67720 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67721             Joseph Myers  <joseph@codesourcery.com>
67722             Paul Pluzhnikov  <ppluzhnikov@google.com>
67724         [BZ #14012]
67725         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67726         requiring rpcgen.
67727         [cross-compiling] (extra-libs): Likewise.
67728         [cross-compiling] (extra-libs-others): Likewise.
67729         [cross-compiling] (librpcsvc-routines): Likewise.
67730         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67731         [cross-compiling] (omit-deps): Likewise.
67732         (sunrpc-CPPFLAGS): New variable.
67733         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67734         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67735         (cross-rpcgen-objs): New variable.
67736         (extra-objs): Append $(cross-rpcgen-objs).
67737         ($(cross-rpcgen-objs)): New rule.
67738         ($(objpfx)cross-rpcgen): Likewise.
67739         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67740         comment.
67741         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67742         ($(objpfx)x%.stmp): Likewise.
67743         * sunrpc/proto.h [IS_IN_build] (_): Define.
67744         [IS_IN_build] (_libc_intl_domainname): Likewise.
67746 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67749         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67750         and R_X86_64_TPOFF64.
67752 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67754         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67755         sysdeps/unix/sysv/syscalls.list.
67756         (stime): Likewise.
67757         (utime): Likewise.
67758         * sysdeps/unix/sysv/syscalls.list: Remove file.
67760 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67762         [BZ #3440]
67763         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67764         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67765         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67766         (__LC_IDENTIFICATION): Make these macros useful in #if
67767         expressions, as required by C99.
67769 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67771         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67772         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67773         after this.
67775 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67777         * stdlib/longlong.h: Updated from GCC.
67779 2012-05-09  Andreas Jaeger  <aj@suse.de>
67781         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67782         default is first entry.
67783         (run_mode): Set type.
67784         (main): Remove informal message about syslog.
67785         (options): Fix typo.
67787         [BZ #14053]
67788         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67789         to asm.
67790         (lrint): Likewise.
67791         (llrintf): Likewise.
67792         (llrint): Likewise.
67793         (rint): Likewise.
67794         (rintf): Likewise.
67795         (nearbyint): Likewise.
67796         (nearbyintf): Likewise.
67798 2012-05-09  Andreas Jaeger  <aj@suse.de>
67799             Pedro Alves  <palves@redhat.com>
67801         * nscd/nscd.c (run_mode): Use enum.
67802         (main): Cleanup coding style issue.
67804 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67805             Andreas Jaeger  <aj@suse.de>
67807         * nscd/nscd.c (go_background): Replaced with...
67808         (run_mode): ... this.
67809         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67810         (options): Add -F --foreground.
67811         (main): Implement it.
67812         (parse_opt): Parse it.
67814 2012-05-09  Andreas Jaeger  <aj@suse.de>
67816         [BZ #14083]
67817         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67818         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67819         -Wconversion warning.
67820         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67821         Likewise.
67823 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67825         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67826         == 0.
67827         (LC_ALL): Use macro-int-constant.
67828         (LC_COLLATE): Likewise.
67829         (LC_CTYPE): Likewise.
67830         (LC_MESSAGES): Likewise.
67831         (LC_MONETARY): Likewise.
67832         (LC_NUMERIC): Likewise.
67833         (LC_TIME): Likewise.
67834         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67835         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67836         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67837         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67838         Specify type.
67839         [C99-based standards] (float_t): Expect type.
67840         [C99-based standards] (double_t): Expect type.
67841         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67842         type.
67843         [C99-based standards] (HUGE_VALL): Likewise.
67844         [C99-based standards] (INFINITY): Likewise.
67845         [C99-based standards] (NAN): Likewise.
67846         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67847         [C99-based standards] (FP_NAN): Likewise.
67848         [C99-based standards] (FP_NORMAL): Likewise.
67849         [C99-based standards] (FP_SUBNORMAL): Likewise.
67850         [C99-based standards] (FP_ZERO): Likewise.
67851         [C99-based standards] (FP_FAST_FMA): Use
67852         optional-macro-int-constant.  Specify type.  Require == 1.
67853         [C99-based standards] (FP_FAST_FMAF): Likewise.
67854         [C99-based standards] (FP_FAST_FMAL): Likewise.
67855         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67856         [C99-based standards] (FP_ILOGBNAN): Likewise.
67857         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67858         Specify type.
67859         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67860         [C99-based standards] (math_errhandling): Specify type.
67861         [ISO99 || ISO11] (signgam): Do not allow.
67862         [non-C99-based standards] (copysignf): Do not allow.
67863         [non-C99-based standards] (exp2f): Likewise.
67864         [non-C99-based standards] (log2f): Likewise.
67865         [non-C99-based standards] (modff): Allow.
67866         [non-C99-based standards] (erff): Do not allow.
67867         [non-C99-based standards] (erfcf): Likewise.
67868         [non-C99-based standards] (gammaf): Likewise.
67869         [non-C99-based standards] (hypotf): Likewise.
67870         [non-C99-based standards] (j0f): Likewise.
67871         [non-C99-based standards] (j1f): Likewise.
67872         [non-C99-based standards] (jnf): Likewise.
67873         [non-C99-based standards] (lgammaf): Likewise.
67874         [non-C99-based standards] (tgammaf): Likewise.
67875         [non-C99-based standards] (y0f): Likewise.
67876         [non-C99-based standards] (y1f): Likewise.
67877         [non-C99-based standards] (ynf): Likewise.
67878         [non-C99-based standards] (isnanf): Likewise.
67879         [non-C99-based standards] (acoshf): Likewise.
67880         [non-C99-based standards] (asinhf): Likewise.
67881         [non-C99-based standards] (atanhf): Likewise.
67882         [non-C99-based standards] (cbrtf): Likewise.
67883         [non-C99-based standards] (expm1f): Likewise.
67884         [non-C99-based standards] (ilogbf): Likewise.
67885         [non-C99-based standards] (log1pf): Likewise.
67886         [non-C99-based standards] (logbf): Likewise.
67887         [non-C99-based standards] (nextafterf): Likewise.
67888         [non-C99-based standards] (remainderf): Likewise.
67889         [non-C99-based standards] (rintf): Likewise.
67890         [non-C99-based standards] (scalbf): Likewise.
67891         [non-C99-based standards] (copysignl): Likewise.
67892         [non-C99-based standards] (exp2l): Likewise.
67893         [non-C99-based standards] (log2l): Likewise.
67894         [non-C99-based standards] (modfl): Allow.
67895         [non-C99-based standards] (erfl): Do not allow.
67896         [non-C99-based standards] (erfcl): Likewise.
67897         [non-C99-based standards] (gammal): Likewise.
67898         [non-C99-based standards] (hypotl): Likewise.
67899         [non-C99-based standards] (j0l): Likewise.
67900         [non-C99-based standards] (j1l): Likewise.
67901         [non-C99-based standards] (jnl): Likewise.
67902         [non-C99-based standards] (lgammal): Likewise.
67903         [non-C99-based standards] (tgammal): Likewise.
67904         [non-C99-based standards] (y0l): Likewise.
67905         [non-C99-based standards] (y1l): Likewise.
67906         [non-C99-based standards] (ynl): Likewise.
67907         [non-C99-based standards] (isnanl): Likewise.
67908         [non-C99-based standards] (acoshl): Likewise.
67909         [non-C99-based standards] (asinhl): Likewise.
67910         [non-C99-based standards] (atanhl): Likewise.
67911         [non-C99-based standards] (cbrtl): Likewise.
67912         [non-C99-based standards] (expm1l): Likewise.
67913         [non-C99-based standards] (ilogbl): Likewise.
67914         [non-C99-based standards] (log1pl): Likewise.
67915         [non-C99-based standards] (logbl): Likewise.
67916         [non-C99-based standards] (nextafterl): Likewise.
67917         [non-C99-based standards] (remainderl): Likewise.
67918         [non-C99-based standards] (rintl): Likewise.
67919         [non-C99-based standards] (scalbl): Likewise.
67920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67921         [non-C99-based standards] (FP_*): Do not allow.
67922         [C99-based standards] (FP_*): Change to
67923         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67924         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67925         allow.
67926         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67927         (SIG_ERR): Likewise.
67928         [X/Open-based standards] (SIG_HOLD): Likewise.
67929         (SIG_IGN): Likewise.
67930         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67931         positive value.
67932         (SIGFPE): Likewise.
67933         (SIGILL): Likewise.
67934         (SIGINT): Likewise.
67935         (SIGSEGV): Likewise.
67936         (SIGTER): Likewise.
67937         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67938         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67939         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67940         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67941         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67942         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67943         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67944         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67945         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67946         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67947         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67948         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67949         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67950         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67951         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67952         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67953         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67954         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67955         [X/Open-based standards] (SIGTRAP): Likewise.
67956         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67957         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67958         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67959         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67960         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67961         allow.
67963 2012-05-08  Ian Wienand  <ianw@vmware.com>
67965         [BZ #14080]
67966         * time/tzset.c (__tzset_parse_tz): Update default rules for
67967         daylight time changes in the Energy Policy Act of 2005.
67969 2012-05-09  Andreas Jaeger  <aj@suse.de>
67971         [BZ #13983]
67972         * elf/ldconfig.c (parse_conf): Change string to make clear that
67973         ldconfig only issued a warning if ld.so.conf does not exist.
67975 2012-05-08  David S. Miller  <davem@davemloft.net>
67977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67978         movxtod instead of popping the value on the stack.
67980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67982 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67984         * config.h.in: Add HAVE_ARM_PCS_VFP.
67986 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67988         [BZ #13979]
67989         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67990         checking but the checks are disabled for any reason.
67992 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67994         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67995         and ELF64_R_TYPE with ELFW(R_TYPE).
67997 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67999         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68000         (ulimit): Likewise.
68002         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68003         (settimeofday): Likewise.
68005 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68007         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68008         a struct th_u2 inside the union, and move tu_block/tu_code into
68009         a new th_u3 union of tu_block/tu_code inside of that.  Move
68010         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68011         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68012         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68013         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68014         (th_stuff): Change to th_u1.tu_stuff.
68015         (th_data): Define.
68016         (th_msg): Change to th_u1.th_u2.tu_data.
68018 2012-05-07  David S. Miller  <davem@davemloft.net>
68020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68022         [BZ #14074]
68023         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68024         (SETUP_PIC_REG): Use it.
68025         (SETUP_PIC_REG_LEAF): Use it.
68027 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68029         [BZ #13885]
68030         [BZ #13923]
68031         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68032         USE_AS_EXPM1L.
68033         (EXPL_FINITE): Likewise.
68034         (FLDLOG): Likewise.
68035         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68036         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68037         e_expl.S.
68038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68039         USE_AS_EXPM1L.
68040         (EXPL_FINITE): Likewise.
68041         (FLDLOG): Likewise.
68042         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68043         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68044         e_expl.S.
68045         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68046         test of -max_value argument for long double.
68047         * sysdeps/i386/fpu/libm-test-ulps: Update.
68048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68050 2012-05-06  David S. Miller  <davem@davemloft.net>
68052         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68053         quad soft-float symbols whose references which are compiler
68054         generated.
68055         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68057 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68059         [BZ #13884]
68060         [BZ #13914]
68061         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68062         USE_AS_EXP10L.
68063         (EXPL_FINITE): Likewise.
68064         (FLDLOG): Likewise.
68065         (c0): Likewise.
68066         (c1): Likewise.
68067         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68068         Adjust comments for base varying.
68069         (__expl_finite): Change alias to EXPL_FINITE.
68070         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68071         e_expl.S.
68072         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68073         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68074         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68075         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68077         USE_AS_EXP10L.
68078         (EXPL_FINITE): Likewise.
68079         (FLDLOG): Likewise.
68080         (c0): Likewise.
68081         (c1): Likewise.
68082         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68083         Adjust comments for base varying.
68084         (__expl_finite): Change alias to EXPL_FINITE.
68085         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68086         tests for bugs.
68087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68089         [BZ #14064]
68090         * math/libm-test.inc (check_float_internal): Correct ulp
68091         calculation for subnormal expected results.
68093 2012-05-06  Andreas Jaeger  <aj@suse.de>
68095         * Makeconfig (+math-flags): New, set to -frounding-math.
68096         (+cflags): Add +math-flags so that all of glibc gets compiled with
68097         it.
68099         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68101 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68103         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68104         Disable one test.
68106         [BZ #13787]
68107         [BZ #13922]
68108         [BZ #14036]
68109         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68110         (__ieee754_expl): Allow for and saturate large arguments.
68111         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68112         (u_threshold): Likewise.
68113         (__exp): Call __ieee754_exp before checking for overflow and
68114         underflow.
68115         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68116         (u_threshold): Likewise.
68117         (__expf): Call __ieee754_expf before checking for overflow and
68118         underflow.
68119         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68120         (u_threshold): Likewise.
68121         (__expl): Call __ieee754_expl before checking for overflow and
68122         underflow.
68123         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68124         (__ieee754_expl): Allow for and saturate large arguments.
68125         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68126         missing overflow exception on overflow.
68127         (expm1_test): Do not allow missing overflow exception on overflow.
68129         * sysdeps/i386/fpu/e_expl.c: Move to ...
68130         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68131         rather than using inline asm.
68132         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68133         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68134         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68136         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68137         (nice): Likewise.
68138         (poll): Likewise.
68139         (signal): Likewise.
68140         (time): Likewise.
68141         (times): Likewise.
68143 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68145         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68146         sysdeps/unix/common/syscalls.list.
68147         (fchmod): Likewise.
68148         (fchown): Likewise.
68149         (ftruncate): Likewise.
68150         (getrusage): Likewise.
68151         (gettimeofday): Likewise.
68152         (setpgid): Likewise.
68153         (setregid): Likewise.
68154         (setreuid): Likewise.
68155         (sigaction): Likewise.
68156         (truncate): Likewise.
68157         (vhangup): Likewise.
68158         * sysdeps/unix/common/syscalls.list: Remove file.
68159         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68160         * sysdeps/unix/sysv/linux/Implies: Likewise.
68162 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68164         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68166         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68167         Moved to ...
68168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68169         Here.
68170         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68171         to ...
68172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68173         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68174         to ...
68175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68176         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68177         to ...
68178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68179         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68180         to ...
68181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68182         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68183         to ...
68184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68185         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68186         to ...
68187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68188         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68189         to ...
68190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68191         Here.
68192         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68193         to ...
68194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68195         Here.
68196         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68197         to ...
68198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68199         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68200         Moved to ...
68201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68202         Here.
68203         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68204         to ...
68205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68207 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68209         * sysdeps/unix/common/bits/dirent.h: Remove file.
68210         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68212         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68213         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68214         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68215         * sysdeps/unix/bsd/isatty.c: Likewise.
68216         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68217         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68218         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68220 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68222         [BZ #13563]
68223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68224         long double comparison inaccuracies.
68225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68228 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68230         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68231         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68233 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68235         [BZ #14049]
68236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68237         nonzero digits before rounding a hex value.
68238         * stdlib/tst-strtod.c (tests): Add another test.
68240 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68242         * sysdeps/s390/fpu/libm-test-ulps: Update.
68244 2012-05-03  Andreas Jaeger  <aj@suse.de>
68246         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68247         does not get optimized out.
68248         (malloc_opt_barrier): New.
68250 2012-05-03  Andreas Jaeger  <aj@suse.de>
68251             Roland McGrath  <roland@hack.frob.com>
68253         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68254         intermediate file deletion.
68255         (generated): Add .symlist files.
68257 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68259         [BZ #13775]
68260         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68261         Redirect under this condition.
68262         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68263         [__USE_GNU] (__dprintf_chk): Not under this condition.
68264         [__USE_GNU] (__vdprintf_chk): Likewise.
68265         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68266         under this condition.
68267         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68268         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68269         [__USE_XOPEN2K8] (vdprintf): Likewise.
68270         [__USE_GNU] (__dprintf_chk): Not under this condition.
68271         [__USE_GNU] (__vdprintf_chk): Likewise.
68272         [__USE_GNU] (dprintf): Likewise.
68273         [__USE_GNU] (vdprintf): Likewise.
68275 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68277         * elf/Makefile (common-generated): Set this instead of generated for
68278         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68279         $(all-built-dso)-derived lists.
68281 2012-05-03  Andreas Jaeger  <aj@suse.de>
68283         * sysdeps/i386/fpu/libm-test-ulps: Update.
68285         * FAQ: Removed.
68286         * FAQ.in: Likewise.
68287         * scripts/gen-FAQ.pl: Likewise.
68288         * manual/install.texi (Installation): Point to online location of
68289         FAQ.
68290         * Makefile (files-for-dist): Remove FAQ.
68291         (FAQ): Remove.
68293 2012-05-02  Allan McRae  <allan@archlinux.org>
68295         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68296         (LDFLAGS-reldepmod5.so): Likewise.
68297         (LDFLAGS-reldep6mod1.so): Likewise.
68298         (LDFLAGS-reldep6mod4.so): Likewise.
68299         (LDFLAGS-reldep8mod3.so): Likewise.
68300         (LDFLAGS-unload4mod1.so): Likewise.
68301         (LDFLAGS-unload4mod2.so): Likewise.
68302         (LDFLAGS-tst-initorder): Likewise.
68303         (LDFLAGS-tst-initordera2.so): Likewise.
68304         (LDFLAGS-tst-initordera3.so): Likewise.
68305         (LDFLAGS-tst-initordera4.so): Likewise.
68306         (LDFLAGS-tst-initorderb2.so): Likewise.
68307         (LDFLAGS-noload): Likewise.
68308         (LDFLAGS-next): Likewise.
68309         (LDFLAGS-order2mod1.so): Likewise.
68310         (LDFLAGS-order2mod2.so): Likewise.
68311         (LDFLAGS-tst-initorder2): Likewise.
68312         (LDFLAGS-tst-initorder2a.so): Likewise.
68313         (LDFLAGS-tst-initorder2b.so): Likewise.
68314         (LDFLAGS-tst-initorder2c.so): Likewise.
68315         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68317 2012-05-02  David S. Miller  <davem@davemloft.net>
68319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68321 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68323         [BZ #14055]
68324         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68326 2012-05-02  Andreas Jaeger  <aj@suse.de>
68328         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68329         since we manipulate rounding mode.
68330         (CPPFLAGS-test-idouble.c): Likewise.
68331         (CPPFLAGS-test-ifloat.c): Likewise.
68332         (CFLAGS-test-ldouble.c): Likewise.
68333         (CFLAGS-test-double.c): Likewise.
68334         (CFLAGS-test-float.c): Likewise.
68335         (CFLAGS-test-misc.c): Likewise.
68336         (CFLAGS-test-test-fenv.c): Likewise.
68338 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68340         [BZ #2550]
68341         [BZ #2570]
68342         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68343         comparisons to determine direction to adjust input.
68345 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68347         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68348         output to the target.
68350         * scripts/localplt.awk: New file.
68351         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68352         (check-localplt-CFLAGS): Variable removed.
68353         ($(all-built-dso:=.jmprel)): New static pattern rule.
68354         (generated): Add those targets.
68355         (localplt-built-dso): New variable.
68356         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68358         * elf/check-localplt.c: File removed.
68360         * scripts/check-execstack.awk: New file.
68361         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68362         (check-execstack-CFLAGS): Variable removed.
68363         ($(objpfx)check-execstack.h): Target removed.
68364         ($(objpfx)execstack-default): New target.
68365         (generated): Add that instead of check-execstack.h.
68366         ($(all-built-dso:=.phdr)): New static pattern rule.
68367         (generated): Add those targets.
68368         * elf/check-execstack.c: File removed.
68370         * scripts/check-textrel.awk: New file.
68371         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68372         (check-textrel-CFLAGS): Variable removed.
68373         (all-built-dso): Use := to define.o
68374         ($(all-built-dso:=.dyn)): New static pattern rule.
68375         (generated): Add those targets.
68376         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68377         * config.make.in (READELF): New substituted variable.
68378         * elf/check-textrel.c: File removed.
68380 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68382         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68383         allow.
68384         * conform/data/ctype.h-data [C99-based standards] (isblank):
68385         Expect function.
68386         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68387         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68388         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68389         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68390         Specify type.  Require positive value.
68391         (EILSEQ): Likewise.
68392         (ERANGE): Likewise.
68393         [ISO || POSIX] (EILSEQ): Do not expect.
68394         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68395         Specify type.  Require positive value.
68396         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68397         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68398         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68399         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68400         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68401         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68402         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68403         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68404         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68405         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68406         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68407         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68408         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68409         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68410         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68411         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68412         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68413         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68414         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68415         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68416         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68417         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68418         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68419         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68420         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68421         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68422         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68423         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68424         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68425         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68426         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68427         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68428         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68429         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68430         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68431         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68432         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68433         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68434         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68437         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68438         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68439         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68440         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68441         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68442         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68443         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68444         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68445         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68446         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68447         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68448         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68449         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68450         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68451         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68452         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68453         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68454         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68455         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68456         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68457         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68458         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68459         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68460         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68461         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68462         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68463         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68464         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68465         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68466         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68467         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68468         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68469         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68470         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68471         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68472         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68473         Require >= 2.
68474         (FLT_ROUNDS): Expect as macro, not constant.
68475         (FLT_MANT_DIG): Use macro-int-constant.
68476         (DBL_MANT_DIG): Likewise.
68477         (LDBL_MANT_DIG): Likewise.
68478         (FLT_DIG): Likewise.
68479         (DBL_DIG): Likewise.
68480         (LDBL_DIG): Likewise.
68481         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68482         (DBL_MIN_EXP): Likewise.
68483         (LDBL_MIN_EXP): Likewise.
68484         (FLT_MAX_EXP): Use macro-int-constant.
68485         (DBL_MAX_EXP): Likewise.
68486         (LDBL_MAX_EXP): Likewise.
68487         (FLT_MAX_10_EXP): Likewise.
68488         (DBL_MAX_10_EXP): Likewise.
68489         (LDBL_MAX_10_EXP): Likewise.
68490         (FLT_MAX): Use macro-constant.
68491         (DBL_MAX): Likewise.
68492         (LDBL_MAX): Likewise.
68493         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68494         (DBL_EPSILON): Likewise.
68495         (LDBL_EPSILON): Likewise.
68496         (FLT_MIN): Likewise.
68497         (DBL_MIN): Likewise.
68498         (LDBL_MIN): Likewise.
68499         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68500         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68501         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68502         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68503         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68504         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68505         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68506         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68507         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68508         [ISO11] (FLT_TRUE_MIN): Likewise.
68509         [ISO11] (LDBL_TRUE_MIN): Likewise.
68510         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68511         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68512         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68513         (SCHAR_MAX): Likewise.
68514         (UCHAR_MAX): Likewise.
68515         (CHAR_MIN): Likewise.
68516         (CHAR_MAX): Likewise.
68517         (MB_LEN_MAX): Use macro-int-constant.
68518         (SHRT_MIN): Use macro-int-constant.  Specify type.
68519         (SHRT_MAX): Likewise.
68520         (USHRT_MAX): Likewise.
68521         (INT_MAX): Likewise.
68522         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68523         bound negative.
68524         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68525         bound with "U".
68526         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68527         bound with "L".
68528         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68529         bound negative.  Suffix upper bound with "L".
68530         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68531         bound with "UL".
68532         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68533         Specify type.
68534         [C99-based standards] (LLONG_MAX): Likewise.
68535         [C99-based standards] (ULLONG_MAX): Likewise.
68536         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68537         == 0.
68538         [ISO11] (max_align_t): Require type.
68539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68541         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68542         from $CFLAGS, without defining away __attribute__ calls.
68543         (checknamespace): Use $CFLAGS_namespace.
68545         * conform/conformtest.pl (@keywords): Only include C99 keywords
68546         for standards based on C99 or C11.
68548         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68549         Disable tests.
68550         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68551         UNIX98]: Likewise.
68553         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68554         usability of symbols in #if.
68556         * conform/conformtest.pl: If macro or constant types start
68557         "promoted:", expect the symbol to be of the following type
68558         promoted by the integer promotions.
68560         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68561         in one place.  Also handle "macro-constant".
68563         * conform/conformtest.pl: Only accept expected macro values with
68564         "==".  Parse all "macro" lines in one place.
68565         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68567         * conform/conformtest.pl: Handle braced types on "constant" lines
68568         instead of handling "typed-constant".
68569         * conform/data/signal.h-data: Use "constant" instead of
68570         "typed-constant".
68572         * conform/conformtest.pl: Handle "optional-" at start of lines in
68573         one place rather than duplicating several cases.  Handle each
68574         format of "macro" line with initial "optional-".
68576         * conform/conformtest.pl: Only accept expected constant or
68577         optional-constant values with "==".  Parse all "constant" lines in
68578         one place.  Parse all "optional-constant" lines in one place.
68579         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68580         * conform/data/fmtmsg.h-data: Likewise.
68581         * conform/data/netinet/in.h-data: Likewise.
68582         * conform/data/tar.h-data: Likewise.
68583         * conform/data/limits.h-data: Use "==" form on "constant" and
68584         "optional-constant" lines.
68586         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68587         Use -std=c99 for XOPEN2K.
68588         (@knownproblems): Remove.
68589         (newtoken): Don't check %isknown.
68591         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68592         Do not expect macro.
68593         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68594         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68595         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68596         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68597         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68598         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68599         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68600         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68601         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68602         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68603         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68604         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68605         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68606         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68607         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68608         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68609         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68610         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68611         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68612         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68613         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68614         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68615         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68616         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68617         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68618         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68619         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68620         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68621         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68622         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68623         [XPG3] (acosh): Likewise.
68624         [XPG3] (asinh): Likewise.
68625         [XPG3] (atanh): Likewise.
68626         [XPG3] (cbrt): Likewise.
68627         [XPG3] (expm1): Likewise.
68628         [XPG3] (ilogb): Likewise.
68629         [XPG3] (log1p): Likewise.
68630         [XPG3] (logb): Likewise.
68631         [XPG3] (nextafter): Likewise.
68632         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68633         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68634         [XPG3] (remainder): Likewise.
68635         [XPG3] (rint): Likewise.
68636         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68637         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68638         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68639         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68640         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68641         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68642         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68643         [UNIX98 || XOPEN2K] (scalb): Expect.
68644         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68645         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68646         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68647         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68648         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68649         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68650         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68651         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68652         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68653         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68654         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68655         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68656         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68657         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68658         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68659         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68660         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68661         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68662         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68663         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68664         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68665         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68666         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68667         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68668         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68669         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68670         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68671         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68672         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68673         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68674         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68675         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68676         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68677         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68678         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68679         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68680         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68681         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68682         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68683         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68684         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68685         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68686         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68687         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68688         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68689         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68690         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68691         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68692         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68693         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68694         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68695         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68696         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68697         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68698         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68699         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68700         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68701         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68702         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68703         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68704         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68705         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68706         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68707         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68708         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68709         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68710         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68711         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68712         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68713         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68714         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68715         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68716         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68717         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68718         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68719         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68720         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68721         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68722         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68723         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68724         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68725         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68726         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68727         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68728         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68729         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68730         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68731         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68732         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68733         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68734         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68735         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68736         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68737         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68738         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68739         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68740         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68741         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68742         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68743         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68744         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68745         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68746         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68747         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68748         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68749         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68750         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68751         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68752         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68753         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68754         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68756         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68757         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68758         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68759         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68760         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68761         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68762         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68763         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68765         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68766         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68767         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68768         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68769         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68770         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68782         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68783         _XOPEN_SOURCE_EXTENDED for XPG4.
68785         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68787         * Makeconfig (localtime): Remove variable.
68788         (inst_localtime-file): Likewise.
68790 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68793         Update.
68794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68795         Update.
68796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68797         Update.
68798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68799         Update.
68800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68801         Update.
68802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68803         Update.
68804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68805         Update.
68806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68807         Update.
68808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68809         Update.
68811 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68813         [BZ #2550]
68814         [BZ #2570]
68815         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68816         comparisons to determine direction to adjust input.
68817         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68818         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68819         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68820         Likewise.
68821         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68822         Likewise.
68823         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68824         Likewise.
68825         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68826         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68827         Likewise.
68828         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68829         Likewise.
68830         * math/libm-test.inc (nexttoward_test): Add more tests.
68832 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68834         [BZ #14040]
68835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68836         in version GLIBC_2.1, not GLIBC_2.0.
68837         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68838         Likewise.
68840 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68842         [BZ #13942]
68843         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68844         (1 - x) * (1 + x).
68845         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68846         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68847         * math/libm-test.inc (acos_test): Add more tests.
68848         (asin_test): Likewise.
68849         * sysdeps/i386/fpu/libm-test-ulps: Update.
68850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68852         [BZ #14034]
68853         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68854         of square root.
68855         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68856         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68857         * math/libm-test.inc (acos_test_tonearest): New function.
68858         (acos_test_towardzero): Likewise.
68859         (acos_test_downward): Likewise.
68860         (acos_test_upward): Likewise.
68861         (asin_test_tonearest): Likewise.
68862         (asin_test_towardzero): Likewise.
68863         (asin_test_downward): Likewise.
68864         (asin_test_upward): Likewise.
68865         (main): Call the new functions.
68866         * sysdeps/i386/fpu/libm-test-ulps: Update.
68867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68869         [BZ #13884]
68870         [BZ #13924]
68871         * math/e_exp10.c: Include <float.h>.
68872         (__ieee754_exp10): Handle underflow here rather than multiplying
68873         large negative argument by M_LN10.
68874         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68875         of __ieee754_expf.
68876         * math/e_exp10l.c: Include <float.h>.
68877         (__ieee754_exp10l): Handle underflow here rather than multiplying
68878         large negative argument by M_LN10l.
68879         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68880         spurious overflow exception on underflow.
68882 2012-04-29  Marek Polacek  <polacek@redhat.com>
68884         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68885         (__fortify_function): New macro.
68886         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68887         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68888         __extern_always_inline.
68889         * libio/bits/stdio2.h: Likewise.
68890         * libio/bits/stdio.h: Likewise.
68891         * string/string.h: Likewise.
68892         * string/bits/string3.h: Likewise.
68893         * include/stdio.h: Likewise.
68894         * stdlib/bits/stdlib.h: Likewise.
68895         * stdlib/stdlib.h: Likewise.
68896         * rt/bits/mqueue2.h: Likewise.
68897         * rt/mqueue.h: Likewise.
68898         * posix/bits/unistd.h: Likewise.
68899         * posix/unistd.h: Likewise.
68900         * io/bits/poll2.h: Likewise.
68901         * io/bits/fcntl2.h: Likewise.
68902         * io/fcntl.h: Likewise.
68903         * io/sys/poll.h: Likewise.
68904         * misc/bits/syslog.h: Likewise.
68905         * misc/bits/syslog-ldbl.h: Likewise.
68906         * misc/sys/syslog.h: Likewise.
68907         * socket/bits/socket2.h: Likewise.
68908         * socket/sys/socket.h: Likewise.
68909         * debug/tst-chk1.c: Likewise.
68910         * wcsmbs/bits/wchar2.h: Likewise.
68911         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68912         * wcsmbs/wchar.h: Likewise.
68914 2012-04-29  Andreas Jaeger  <aj@suse.de>
68916         * Makerules (tests): Remove enable-check-abi protection.
68917         (check-abi-warn): Remove.
68918         (check-abi-%): Remove check-abi-warn usage.
68920         * configure.in: Remove check-abi configure option.
68921         * configure: Regenerated.
68922         * config.make.in (enable-check-abi): Remove.
68924 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68926         [BZ #14033]
68927         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68928         double functions to double *_finite functions.
68930         [BZ #13941]
68931         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68932         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68933         LDBL_MIN_EXP.
68934         * stdio-common/Makefile (tests): Add tst-sprintf3.
68935         * stdio-common/tst-sprintf3.c: New file.
68937         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68938         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68940 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68942         * conform/conformtest.pl: Remove duplicate typed-constant
68943         handling.
68945 2012-04-28  David S. Miller  <davem@davemloft.net>
68947         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68948         (check-abi-%): Remove AWK script prerequisite and explicit
68949         abilist directory.
68950         (check-abi): Rewrite to just diff the symlist with the abilist.
68951         (config-tls, config-abi-config): Delete, no longer used.
68952         (update-abi-%): Remove AWK script and explicit abilist directory.
68953         (update-abi): Rewrite to simply compare and conditionally copy the
68954         symlist and the sysdep abilist file.  Remove update-abi-config
68955         checks.
68956         * abilist/ld.abilist: Remove.
68957         * abilist/libBrokenLocale.abilist: Remove.
68958         * abilist/libanl.abilist: Remove.
68959         * abilist/libcrypt.abilist: Remove.
68960         * abilist/libdl.abilist: Remove.
68961         * abilist/librt.abilist: Remove.
68962         * abilist/libthread_db.abilist: Remove.
68963         * abilist/libutil.abilist: Remove.
68964         * scripts/extract-abilist.awk: Remove.
68965         * scripts/merge-abilist.awk: Remove.
68966         * sysdeps/generic/libcidn.abilist: New file.
68967         * sysdeps/generic/libnss_compat.abilist: New file.
68968         * sysdeps/generic/libnss_db.abilist: New file.
68969         * sysdeps/generic/libnss_dns.abilist: New file.
68970         * sysdeps/generic/libnss_files.abilist: New file.
68971         * sysdeps/generic/libnss_hesiod.abilist: New file.
68972         * sysdeps/generic/libnss_nis.abilist: New file.
68973         * sysdeps/generic/libnss_nisplus.abilist: New file.
68974         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68975         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68976         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68977         file.
68978         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68979         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68980         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68981         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68982         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68983         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68984         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68985         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68986         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68987         file.
68988         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68989         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68990         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68991         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68992         file.
68993         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68994         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68995         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68996         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68997         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68998         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68999         file.
69000         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69001         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69002         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69003         file.
69004         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69006         New file.
69007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69008         New file.
69009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69010         New file.
69011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69012         New file.
69013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69014         New file.
69015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69016         New file.
69017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69018         New file.
69019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69020         New file.
69021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69022         New file.
69023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69024         New file.
69025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69026         New file.
69027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69028         New file.
69029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69030         New file.
69031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69032         file.
69033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69034         New file.
69035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69036         New file.
69037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69038         file.
69039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69040         New file.
69041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69042         New file.
69043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69044         file.
69045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69046         New file.
69047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69048         New file.
69049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69050         New file.
69051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69052         New file.
69053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69054         New file.
69055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69056         New file.
69057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69059         file.
69060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69061         New file.
69062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69063         file.
69064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69065         file.
69066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69067         file.
69068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69069         file.
69070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69071         file.
69072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69073         New file.
69074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69075         file.
69076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69077         file.
69078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69079         New file.
69080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69081         file.
69082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69084         file.
69085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69086         New file.
69087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69088         file.
69089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69090         file.
69091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69092         file.
69093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69094         file.
69095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69096         file.
69097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69098         New file.
69099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69100         file.
69101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69102         file.
69103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69104         New file.
69105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69106         file.
69107         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69108         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69109         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69110         file.
69111         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69112         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69113         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69114         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69115         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69116         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69117         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69118         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69119         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69120         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69123         file.
69124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69125         New file.
69126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69127         file.
69128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69129         file.
69130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69131         file.
69132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69133         file.
69134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69135         file.
69136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69137         New file.
69138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69139         New file.
69140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69141         file.
69142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69143         New file.
69144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69145         file.
69146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69148         file.
69149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69150         New file.
69151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69152         file.
69153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69154         file.
69155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69156         file.
69157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69158         file.
69159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69160         file.
69161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69162         New file.
69163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69164         New file.
69165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69166         file.
69167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69168         New file.
69169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69170         file.
69172 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69174         * conform/conformtest.pl: Fix typo in handling typed-constant from
69175         allow-header.
69177 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69179         * README: Cut down references to pre-2.6 Linux kernels and
69180         Linuxthreads.  Update lists of configurations in libc and ports
69181         and sort alphabetically.  Say "or newer" with Linux kernel version
69182         requirements.
69184         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69186 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69188         [BZ #887]
69189         * math/libm-test.inc (logb_test_downward): New test to expose
69190         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69191         rounding mode.
69193 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69195         [BZ #14027]
69196         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69197         to be done.
69198         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69199         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69201 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69203         * sysdeps/unix/i386/brk.S: Remove file.
69204         * sysdeps/unix/i386/dl-brk.S: Likewise.
69205         * sysdeps/unix/i386/pipe.S: Likewise.
69206         * sysdeps/unix/i386/sigreturn.S: Likewise.
69207         * sysdeps/unix/i386/syscall.S: Likewise.
69208         * sysdeps/unix/i386/vfork.S: Likewise.
69209         * sysdeps/unix/i386/wait.S: Likewise.
69211         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69212         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69214         * configure.in (arm*-none*): Do not allow without
69215         --enable-hacker-mode.
69216         (netbsd*): Remove case setting base_os.
69217         (386bsd*): Likewise.
69218         (freebsd*): Likewise.
69219         (bsdi*): Likewise.
69220         (osf*): Likewise.
69221         (sunos*): Likewise.
69222         (ultrix*): Likewise.
69223         (newsos*): Likewise.
69224         (dynix*): Likewise.
69225         (*bsd*): Likewise.
69226         (sysv*): Likewise.
69227         (isc*): Likewise.
69228         (esix*): Likewise.
69229         (sco*): Likewise.
69230         (minix*): Likewise.
69231         (irix4*): Likewise.
69232         (irix6*): Likewise.
69233         (solaris[2-9]*): Likewise.
69234         (none): Likewise.
69235         * configure: Regenerated.
69237 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69239         [BZ #11521]
69240         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69241         overflow or cancellation in calculating denominator.
69242         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69243         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69244         down expression to avoid unexpected rounding in newer GCCs.
69245         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69247 2012-04-26  David S. Miller  <davem@davemloft.net>
69249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69250         long-double compat symbols.
69251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69265 2012-04-25  David S. Miller  <davem@davemloft.net>
69267         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69268         HWCAP_* values only after the memory barriers have been defined.
69269         (atomic_full_barrier): Define.
69270         (atomic_read_barrier): Define.
69271         (atomic_write_barrier): Define.
69273 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69275         * shlib-versions: Add libgcc_s version information.
69276         * sysdeps/generic/libgcc_s.h: Remove.
69277         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69278         libgcc_s.h.
69279         * sysdeps/gnu/unwind-resume.c: Likewise.
69280         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69282 2012-04-25  David S. Miller  <davem@davemloft.net>
69284         * sysdeps/unix/sparc/brk.S: Delete.
69285         * sysdeps/unix/sparc/dl-brk.S: Delete.
69286         * sysdeps/unix/sparc/pipe.S: Delete.
69287         * sysdeps/unix/sparc/sysdep.S: Delete.
69288         * sysdeps/unix/sparc/sysdep.h: Delete.
69289         * sysdeps/unix/sparc/vfork.S: Delete.
69290         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69291         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69292         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69293         (ret_ERRVAL, r0, r1, MOVE): Define.
69294         (JUMPTARGET): Remove.
69295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69296         sysdeps/unix/sparc/sysdep.h
69297         (ENTRY, END): Remove.
69298         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69300 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69302         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69303         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69304         -DIS_IN_build.
69306         * timezone/README: Update upstream location and email address for
69307         tzcode and tzdata.
69308         * timezone/zdump.c: Update from tzcode 2012b.
69309         * timezone/zic.c: Likewise.
69311         * configure.in (libc_cv_as_needed): Remove test.
69312         * configure: Regenerated.
69313         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69314         conditional definition.
69315         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69316         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69317         * config.make.in (have-as-needed): Remove variable.
69319 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69320             Paul Pluzhnikov  <ppluzhnikov@google.com>
69322         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69323         strings correctly.
69325 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69327         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69328         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69329         * sysdeps/sh/strlen.S: Likewise.
69331 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69333         * sysdeps/unix/fork.S: Remove file.
69334         * sysdeps/unix/i386/fork.S: Likewise.
69335         * sysdeps/unix/sparc/fork.S: Likewise.
69337         * sysdeps/unix/system.c: Remove file.
69338         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69340         * sysdeps/unix/getegid.S: Remove file.
69341         * sysdeps/unix/geteuid.S: Likewise.
69343 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69345         * scripts/check-localplt.awk: New file.
69346         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69347         of diff.
69348         * scripts/data/localplt-generic.data: Add a comment.
69350         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69351         NODE when __dir_mkfile failed.
69352         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69353         Reported by Ludovic Courtès <ludo@gnu.org>.
69355 2012-04-24  Andreas Jaeger  <aj@suse.de>
69357         * Makerules (common-clean): Also remove gen-as-const-headers
69358         files.
69360 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69362         * Makerules (native-compile): Do not change working directory for
69363         build.  Use $(OUTPUT_OPTION) in command.
69364         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69366 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69368         [BZ #13886]
69369         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69370         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69371         * math/libm-test.inc (floor_test): Add more tests.
69372         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69374 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69376         * sysdeps/unix/getdents.c: Remove file.
69377         * sysdeps/unix/sysv/getdents.c: Likewise.
69378         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69380         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69381         sysdeps/unix/mman/syscalls.list.
69382         (mmap): Likewise.
69383         (mprotect): Likewise.
69384         (msync): Likewise.
69385         (munmap): Likewise.
69386         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69387         * sysdeps/unix/mman/syscalls.list: Remove.
69388         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69390         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69391         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69392         * configure: Regenerated.
69393         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69394         $(libgcc_s_suffix).
69395         * config.make.in (libgcc_s_suffix): Remove variable.
69397 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69399         * sysdeps/unix/sysv/gethostname.c: Move to ...
69400         * sysdeps/posix/gethostname.c: ... here.
69402         * sysdeps/unix/execve.S: Remove file.
69404         * sysdeps/unix/_exit.S: Remove file.
69406 2012-04-23  Andreas Jaeger  <aj@suse.de>
69408         [BZ #13739]
69409         * manual/Makefile: Remove make dist support, there's no
69410         need for a stand-alone documentation tar ball.
69411         (TEXI2DVI): Define always, it's not in Makeconfig.
69412         (dist): Removed.
69413         (tar-it): Removed.
69414         (edition): Removed.
69415         (glibc-doc-$(edition).tar): Removed
69416         (%.Z): Removed.
69417         (%.gz): Removed.
69418         (%.uu): Removed.
69419         (ETAGS): Remove, it's in Makeconfig.
69420         (move-if-change): Remove, it's in Makeconfig.
69422 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69424         [BZ #13970]
69425         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69426         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69427         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69428         (strtod_l, strtof_l, strtold_l): Remove __wur.
69429         It is not necessarily an error to ignore strtol's return value.
69430         One can reliably look at the stored endptr to decide whether
69431         the number had valid syntax.
69433 2012-04-21  Andreas Jaeger  <aj@suse.de>
69435         [BZ #13739]
69436         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69438 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69440         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69441         * sysdeps/unix/sysv/Versions: Remove file.
69443 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69445         [BZ #13927]
69446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69448 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69450         [BZ #7064]
69451         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69452         version from __vm86.
69454 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69456         * sysdeps/unix/common/lxstat.c: Remove file.
69457         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69459         * sysdeps/unix/sysv/Makefile: Remove file.
69461         * sysdeps/unix/sysv/direct.h: Remove file.
69463         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69464         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69465         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69466         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69467         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69468         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69469         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69471         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69473         * sysdeps/unix/xmknod.c: Remove file.
69474         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69476         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69478         * sysdeps/unix/sysv/i386/time.S: Remove file.
69480         * sysdeps/unix/fxstat.c: Remove file.
69481         * sysdeps/unix/xstat.c: Likewise.
69482         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69484         * sysdeps/unix/sysv/sigaction.c: Remove file.
69486         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69487         (sysdep_headers): Remove variable.
69488         [termio.h not in sysdep_headers] (generated): Likewise.
69489         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69490         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69491         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69492         * sysdeps/unix/sysv/tcflow.c: Likewise.
69493         * sysdeps/unix/sysv/tcflush.c: Likewise.
69494         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69495         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69496         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69497         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69498         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69500         * sysdeps/unix/siglist.c: Remove file.
69502         * sysdeps/unix/getppid.S: Remove file.
69504         * sysdeps/unix/mkdir.c: Remove file.
69505         * sysdeps/unix/rmdir.c: Likewise.
69507 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69509         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69510         ERR_MAX value.
69511         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69512         errlist-compat value.
69514 2012-04-18  David S. Miller  <davem@davemloft.net>
69516         * sysdeps/generic/memcopy.h (reg_char): Delete.
69517         * debug/strcat_chk.c: Use char, not reg_char.
69518         * debug/strcpy_chk.c: Likewise.
69519         * debug/strncat_chk.c: Likewise.
69520         * debug/strncpy_chk.c: Likewise.
69521         * string/memchr.c: Likewise.
69522         * string/memrchr.c: Likewise.
69523         * string/rawmemchr.c: Likewise.
69524         * string/strcat.c: Likewise.
69525         * string/strchr.c: Likewise.
69526         * string/strchrnul.c: Likewise.
69527         * string/strcmp.c: Likewise.
69528         * string/strcpy.c: Likewise.
69529         * string/strncat.c: Likewise.
69530         * string/strncmp.c: Likewise.
69531         * string/strncpy.c: Likewise.
69533 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69535         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69536         __builtin_memcopy is called when src and dest ranges are known to not
69537         overlap.
69539 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69541         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69542         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69543         fwd_align_merge macro call.
69544         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69545         bwd_align_merge macro call.
69546         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69548 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69550         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69551         bwd_align_merge macros.
69552         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69553         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69554         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69556 2012-04-18  David S. Miller  <davem@davemloft.net>
69558         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69560 2012-04-18  Andreas Jaeger  <aj@suse.de>
69562         [BZ# 6794]
69563         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69564         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69565         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69567         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69568         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69569         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69571         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69572         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69573         Adjust for changed ldbl-128 files.
69575         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69576         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69577         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69579 2012-04-17  David S. Miller  <davem@davemloft.net>
69581         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69583 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69585         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69586         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69587         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69588         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69589         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69590         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69592 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69594         [BZ #6794]
69595         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69596         * math/libm-test.inc: Add ilogb errno and exception tests.
69597         * math/w_ilogb.c: New file: ilogb wrapper.
69598         * math/w_ilogbf.c: New file: ilogbf wrapper.
69599         * math/w_ilogbl.c: New file: ilogbl wrapper.
69600         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69601         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69602         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69603         exception being thrown with 0.0 as argument.
69604         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69605         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69606         exception being thrown with 0.0 as argument.
69607         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69608         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69609         exception being thrown with 0.0 as argument.
69610         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69611         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69612         exception being thrown with 0.0 as argument.
69613         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69614         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69615         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69616         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69617         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69618         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69619         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69620         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69621         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69623 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69625         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69626         with altivec.
69628 2012-04-16  Marek Polacek  <polacek@redhat.com>
69630         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69632 2012-04-16  Marek Polacek  <polacek@redhat.com>
69634         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69635         operands of fdivp instruction.
69637 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69639         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69640         * elf/tst-auditmod3b.c: Likewise.
69641         * elf/tst-auditmod4b.c: Likewise.
69642         * elf/tst-auditmod5b.c: Likewise.
69643         * elf/tst-auditmod6b.c: Likewise.
69644         * elf/tst-auditmod6c.c: Likewise.
69645         * elf/tst-auditmod7b.c: Likewise.
69646         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69647         * sysdeps/x86_64/preconfigure.in: Likewise.
69648         * sysdeps/x86_64/preconfigure: Regenerated.
69650 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69652         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69653         __ILP32__.
69655 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69658         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69660 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69662         [BZ #13973]
69663         * locale/iso-639.def: Fix gl language name. Spotted by
69664         Yaron Shahrabani.
69666 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69668         [BZ #2074]
69669         * libio/libio.h (__io_write_fn): Update comment.
69671 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69673         [BZ #2074]
69674         * stdio.texi (Hook Functions): The user provided writer function
69675         is not allowed to return -1.
69677 2012-04-11  David S. Miller  <davem@davemloft.net>
69679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69681 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69683         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69684         Add a leading slash to rtkaio.
69686 2012-04-11  Jim Meyering  <meyering@redhat.com>
69688         [BZ #11959]
69689         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69690         It is not necessarily an error to ignore fwrite's return
69691         value.  One can reliably use ferror to test for errors after
69692         the fact.
69694 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69696         * bits/types.h (__snseconds_t): New type.
69697         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69699         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69700         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69701         (__SNSECONDS_T_TYPE): Likewise.
69702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69703         (__SNSECONDS_T_TYPE): Likewise.
69704         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69705         (__SNSECONDS_T_TYPE): Likewise.
69707 2012-04-10  Andreas Jaeger  <aj@suse.de>
69709         [BZ #2636]
69710         * manual/time.texi (Processor Time): Return type of times is
69711         elapsed real time since an arbitrary point in the past.
69712         (CPU Time): Move CLK_TCK from here...
69713         (Processor Time): ...to here.  Correct description.
69714         * manual/conf.texi (Constants for Sysconf): Correct description of
69715         _SC_CLK_TCK.
69717 2012-04-10  David S. Miller  <davem@davemloft.net>
69719         [BZ #13967]
69720         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69721         where the is a gap between DT_REL(A) and DT_JMPREL.
69723 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69725         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69726         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69727         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69729 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69731         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69732         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69733         (dl_main): Handle --inhibit-cache.
69734         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69735         _dl_inhibit_cache.
69736         * elf/dl-load.c (_dl_map_object): Use it.
69737         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69739 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69741         [BZ #13872]
69742         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69743         (__ieee754_powl): Saturate large exponents rather than testing for
69744         overflow of y*log2(x).
69745         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69746         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69747         exceptions.
69749         [BZ #11521]
69750         * math/s_ctan.c: Include <float.h>.
69751         (__ctan): Avoid internal overflow or cancellation in calculating
69752         denominator.
69753         * math/s_ctanf.c: Likewise.
69754         * math/s_ctanl.c: Likewise.
69755         * math/s_ctanh.c: Likewise.
69756         * math/s_ctanhf.c: Likewise.
69757         * math/s_ctanhl.c: Likewise.
69758         * math/libm-test.inc (ctan_test): Add more tests.
69759         (ctanh_test): Likewise.
69760         * sysdeps/i386/fpu/libm-test-ulps: Update.
69761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69763 2012-04-09  Andreas Jaeger  <aj@suse.de>
69765         [BZ #6894]
69766         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69767         is an optional BSD extension.
69769         [BZ #10254]
69770         * manual/stdio.texi (Opening Streams): Document additional fopen
69771         parameters.
69773 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69775         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69776         %eax without telling the compiler.
69778 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69780         [BZ # 13963]
69781         * manual/install.texi: Use sourceware.org.
69783 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69785         [BZ #13873]
69786         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69787         (__ieee754_pow): Generate overflow and underflow using huge*huge
69788         and tiny*tiny rather than just returning constant infinity or zero
69789         for large exponents.
69790         * math/libm-test.inc (pow_test): Require overflow exceptions for
69791         applicable cases of large exponents.
69793         [BZ #706]
69794         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69795         (__ieee754_pow): Use iterative multiplication algorithm only for
69796         integer exponents with absolute value below 1024.  Check for odd
69797         integer exponents when using algorithm for real exponents.
69798         * math/libm-test.inc (pow_test): Add more tests.
69799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69801 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69803         [BZ #13705]
69804         * math/libm-test.inc (exp_test): Do not allow overflow exception
69805         on underflow test.
69807 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69809         [BZ #13705]
69810         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69811         instead of __kernel_standard_f.
69813 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69815         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69816         * sysdeps/x86_64/memset_chk.S: Likewise.
69818 2012-04-08  Andreas Jaeger  <aj@suse.de>
69820         [BZ #10153]
69821         * manual/startup.texi (Environment Access): Describe return value
69822         for putenv and setenv.
69824         [BZ #6895]
69825         * manual/filesys.texi (Directory Entries): Add description for
69826         DT_LNK.
69828         [BZ #6890]
69829         * manual/filesys.texi (Directory Entries): Clarify that it's file
69830         system not operating system in the description of DT_UNKNOWN.
69832         [BZ #6578]
69833         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69835 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69837         [BZ #6649]
69838         * manual/llio.texi (Opening and Closing Files): Add cross
69839         reference to explain mode argument.
69841 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69843         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69844         * sysdeps/x86_64/memset_chk.S: Likewise.
69846 2012-04-07  David S. Miller  <davem@davemloft.net>
69848         * elf/elf.h (R_SPARC_WDISP10): Define.
69849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69850         R_SPARC_SIZE32.
69851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69852         R_SPARC_SIZE64 and R_SPARC_H34.
69854 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69856         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69857         conditions and remove no longer applicable assertion.
69859 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69861         * bits/byteswap.h: Include <features.h>.
69862         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69863         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69865 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69867         * bits/byteswap.h (__bswap_16): Removed.
69868         Include <bits/byteswap-16.h> to get __bswap_16.
69869         * sysdeps/i386/bits/byteswap.h: Likewise.
69870         * sysdeps/s390/bits/byteswap.h: Likewise.
69871         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69872         * bits/byteswap-16.h: New file.
69873         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69874         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69875         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69876         * string/Makefile (headers): Add bits/byteswap-16.h.
69878 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69880         [BZ #13895]
69881         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69882         extra indirection.
69883         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69884         * nss/tst-nss-static.c: New.
69886 2012-04-06  Robert Millan  <rmh@gnu.org>
69888         [BZ #6486]
69889         * manual/llio.texi (File Position Primitive): lseek
69890         refers to WHENCE when it really means OFFSET.
69892 2012-04-06  Andreas Jaeger  <aj@suse.de>
69894         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69895         strncmp declarations.
69897         * abilist/libc.abilist: Add __poll and __ppoll.
69899 2012-04-05  David S. Miller  <davem@davemloft.net>
69901         * scripts/check-local-headers.sh: Accept a host triplet in the
69902         path matched by the exclude regexp.
69904         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69905         definition.
69906         * sysdeps/powerpc/powerpc32/dl-machine.h
69907         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69908         * sysdeps/s390/s390-32/dl-machine.h
69909         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69910         * sysdeps/sparc/sparc32/dl-machine.h
69911         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69912         * sysdeps/sparc/sparc64/dl-machine.h
69913         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69915         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69916         lazy binding.
69917         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69918         undefined symbol errors.
69920         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69921         DT_NEEDED entries.
69923 2012-04-05  Michael Matz  <matz@suse.de>
69925         [BZ #13592]
69926         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69928 2012-04-05  Andreas Jaeger  <aj@suse.de>
69930         [BZ #13908]
69931         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69932         comment.
69934 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69936         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69937         which ROUND is no valid rounding mode.
69939 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69941         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69942         read again.
69943         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69945 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69947         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69948         an exception using FPU order intentionally.
69950 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69952         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69953         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69954         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69955         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69957 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69959         [BZ #12340]
69960         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69961         EINVAL when BUFLEN is too smal.
69963 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69965         [BZ #13553]
69966         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69967         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69969 2012-04-03  Andreas Jaeger  <aj@suse.de>
69971         [BZ #13938]
69972         * manual/setjmp.texi (System V contexts): Fix sentence.
69974         [BZ #13926]
69975         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69976         New macro for this case.
69977         [!__GNUC__] (__bswap_64): New inline function for this case.
69978         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69979         * bits/byteswap.h: Likewise.
69980         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69981         ull, guard with __GLIBC_HAVE_LONG_LONG.
69983         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69984         __GLIBC_HAVE_LONG_LONG.
69986         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69987         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69989 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69991         [BZ #13691]
69992         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69993         inptr and inend, rather than using last_ch.
69995 2012-04-02  David S. Miller  <davem@davemloft.net>
69997         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69998         * stdio-common/printf-parse.h (read_int): Change return type to
69999         'int', return -1 on INT_MAX overflow.
70000         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70001         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70002         overflows INT_MAX.  Check for overflow of in-format-string precision
70003         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70004         SIZE_MAX not INT_MAX for integer overflow test.
70005         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70006         skip the construct in the format string but do not record anything.
70007         * stdio-common/bug22.c: Adjust to test both width/prevision
70008         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70009         explicitly for proper errno values.
70011 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70013         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70014         CHAR_MAX.
70015         * string/test-strcmp.c [! WIDE]: Likewise.
70016         * time/tst-mktime2.c: Likewise for INT_MAX.
70017         * string/test-string.h: #include <sys/param.h> for MIN.
70019         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70020         * sysdeps/i386/init-first.c (init): Likewise.
70021         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70022         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70023         * sysdeps/sh/init-first.c (init): Likewise.
70025 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70027         * po/ru.po: Update from translation team.
70028         * po/vi.po: Likewise.
70030 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70032         * resolv/nss_dns/dns-host.c: Merge copyright years.
70034 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70037         Optimize memcpy with prefetch if
70038         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70039         src, dst pointers have unequal 16 byte alignments.
70041 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70043         [BZ #13928]
70044         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70045         from a CNAME entry and return the minimum ttl for the query.
70046         (gaih_getanswer_slice): Likewise.
70048 2012-03-30  Jeff Law  <law@redhat.com>
70050         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70051         due to long keys.
70052         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70053         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70055         * resolv/nss_dns/dns-host.c: Update copyright year.
70057 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70059         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70060         requests to save a system call.  Fix check that all bytes are sent.
70062         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70063         comments for sendmmsg.
70065 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70067         [BZ #13691]
70068         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70069         with only 1 character between 0x0041 and 0x01b0.
70070         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70071         * wcsmbs/tst-mbsnrtowcs.c: New file.
70073 2012-03-29  David S. Miller  <davem@davemloft.net>
70075         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70076         small copies by hand.
70078 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70080         [BZ #13761]
70081         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70082         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70083         group memberships.
70085 2012-03-28  David S. Miller  <davem@davemloft.net>
70087         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70088         that branches into memcpy.
70089         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70090         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70092         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70093         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70094         bits.
70095         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70096         implementation too.
70097         * sysdeps/sparc/mempcpy.S: New file.
70099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70100         the IFUNC routine in the libc case.
70101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70103         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70104         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70105         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70106         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70107         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70108         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70109         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70110         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70112         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70113         loop to 256 bytes instead of 64 bytes and fix test signedness.
70115         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70116         * sysdeps/sparc/sparc32/Makefile: rather than here...
70117         * sysdeps/sparc/sparc64/Makefile: and here.
70119 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70121         * malloc/mallocbug.c: Avoid warnings about unused variables.
70123 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70125         [BZ #13760]
70126         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70127         in the right place. Discard and retry query if response is
70128         larger than input buffer size.
70130 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70132         [BZ #369]
70133         [BZ #2678]
70134         [BZ #3866]
70135         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70136         x for large integer exponent.
70137         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70138         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70139         sign of result as needed afterwards.
70140         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70141         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70142         result for underflowing pow the same as for overflow.
70143         (__kernel_standard_l): Handle powl overflow and underflow here
70144         rather than calling __kernel_standard.
70145         * math/libm-test.inc (pow_test): Add more tests.
70147         [BZ #3868]
70148         [BZ #13879]
70149         [BZ #13910]
70150         [BZ #13911]
70151         [BZ #13912]
70152         [BZ #13913]
70153         [BZ #13915]
70154         [BZ #13916]
70155         [BZ #13917]
70156         [BZ #13918]
70157         [BZ #13919]
70158         [BZ #13920]
70159         [BZ #13921]
70160         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70161         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70162         (__kernel_standard_l): New function.
70163         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70164         __kernel_standard.
70165         * math/w_acosl.c (__acosl): Likewise.
70166         * math/w_asinl.c (__asinl): Likewise.
70167         * math/w_atan2l.c (__atan2l): Likewise.
70168         * math/w_atanhl.c (__atanhl): Likewise.
70169         * math/w_coshl.c (__coshl): Likewise.
70170         * math/w_exp10l.c (__exp10l): Likewise.
70171         * math/w_exp2l.c (__exp2l): Likewise.
70172         * math/w_fmodl.c (__fmodl): Likewise.
70173         * math/w_hypotl.c (__hypotl): Likewise.
70174         * math/w_j0l.c (__j0l, __y0l): Likewise.
70175         * math/w_j1l.c (__j1l, __y1l): Likewise.
70176         * math/w_jnl.c (__jnl, __ynl): Likewise.
70177         * math/w_lgammal.c (__lgammal): Likewise.
70178         * math/w_log10l.c (__log10l): Likewise.
70179         * math/w_log2l.c (__log2l): Likewise.
70180         * math/w_logl.c (__logl): Likewise.
70181         * math/w_powl.c (__powl): Likewise.
70182         * math/w_remainderl.c (__remainderl): Likewise.
70183         * math/w_scalbl.c (sysv_scalbl): Likewise.
70184         * math/w_sinhl.c (__sinhl): Likewise.
70185         * math/w_sqrtl.c (__sqrtl): Likewise.
70186         * math/w_tgammal.c (__tgammal): Likewise.
70187         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70188         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70189         * math/libm-test.inc (acos_test): Add more tests.
70190         (acosh_test): Likewise.
70191         (asin_test): Likewise.
70192         (atanh_test): Likewise.
70193         (exp_test): Likewise.
70194         (exp10_test): Likewise.
70195         (exp2_test): Likewise.
70196         (expm1_test): Likewise.
70197         (lgamma_test): Likewise.
70198         (log_test): Likewise.
70199         (log10_test): Likewise.
70200         (log1p_test): Likewise.
70201         (log2_test): Likewise.
70202         (pow_test): Do not allow some spurious overflow exceptions.
70203         (sqrt_test): Add more tests.
70204         (tgamma_test): Likewise.
70205         (y0_test): Likewise.
70206         (y1_test): Likewise.
70207         (yn_test): Likewise.
70209 2012-03-27  Anton Blanchard  <anton@samba.org>
70211         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70212         MAP_HUGETLB.
70213         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70214         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70215         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70217 2012-03-27  David S. Miller  <davem@davemloft.net>
70219         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70221         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70222         have-as-vis3 check.
70224 2012-03-27  Andreas Jaeger  <aj@suse.de>
70226         * sysdeps/x86_64/elf/configure.in: Moved to ...
70227         * sysdeps/x86_64/configure.in: ... here.
70228         * sysdeps/x86_64/elf/start.S: Moved to ...
70229         * sysdeps/x86_64/start.S: ... here.
70230         * sysdeps/x86_64/elf/configure: Delete.
70232         * sysdeps/x86_64/configure.in: Merge contents from
70233         sysdeps/i386/configure.in (without i686 check).
70235         * sysdeps/i386/elf/Versions: Merge into ...
70236         * sysdeps/i386/Versions: ... this.
70237         * sysdeps/i386/elf/Versions: Delete file.
70238         * sysdeps/i386/elf/start.S: Moved to ...
70239         * sysdeps/i386/start.S: ...here.
70240         * sysdeps/i386/elf/configure.in: Merge into...
70241         * sysdeps/i386/configure.in: ...here.
70242         * sysdeps/i386/elf/configure.in: Delete file.
70243         * sysdeps/i386/elf/configure: Delete file.
70245         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70246         * debug/backtracesyms.c: ... here.
70247         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70248         * debug/backtracesymsfd.c: ... here.
70249         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70250         * sysdeps/generic/ifunc-sel.h: ... here.
70252         * sysdeps/unix/i386/start.c: Delete file.
70253         * sysdeps/unix/sparc/start.c: Delete file.
70254         * sysdeps/unix/start.c: Delete file.
70256         * sysdeps/sh/elf/configure.in: Moved to ...
70257         * sysdeps/sh/configure.in: ... here.
70258         * sysdeps/sh/elf/start.S: Moved to ...
70259         * sysdeps/sh/start.S: ... here.
70260         * sysdeps/sh/elf/configure: Delete file.
70262         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70263         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70264         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70265         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70266         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70267         * sysdeps/powerpc/powerpc64/start.S: here.
70268         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70269         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70270         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70271         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70272         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70274         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70275         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70276         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70277         * sysdeps/powerpc/powerpc32/start.S: ... here.
70278         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70279         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70280         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70282         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70283         * sysdeps/powerpc/ifunc-sel.h: ... here.
70284         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70285         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70287         * sysdeps/sparc/elf/configure.in: Moved to ...
70288         * sysdeps/sparc/configure.in: ... here.
70289         * sysdeps/sparc/elf/configure: Delete file.
70290         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70291         * sysdeps/sparc/sparc32/start.S: ... here.
70292         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70293         * sysdeps/sparc/sparc64/start.S: ... here.
70294         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70295         * sysdeps/sparc/sparc32/Makefile: ... this.
70296         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70297         * sysdeps/sparc/sparc64/Makefile: ... this.
70299         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70300         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70301         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70302         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70303         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70304         * sysdeps/s390/s390-32/setjmp.S: ... here.
70305         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70306         * sysdeps/s390/s390-32/configure.in: ... here.
70307         * sysdeps/s390/s390-32/elf/configure: Delete file.
70308         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70309         * sysdeps/s390/s390-32/start.S: ... here.
70311         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70312         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70313         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70314         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70315         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70316         * sysdeps/s390/s390-64/setjmp.S: ... here.
70317         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70318         * sysdeps/s390/s390-64/configure.in: ... here
70319         * sysdeps/s390/s390-64/elf/configure: Delete file.
70320         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70321         * sysdeps/s390/s390-64/start.S: ... here.
70322         * sysdeps/s390/s390-64/elf/configure: Delete.
70324         * configure.in: Remove support for elf directories in sysdeps.
70326         * configure: Regenerated.
70327         * sysdeps/i386/configure: Regenerated.
70328         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70329         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70330         * sysdeps/s390/s390-32/configure: Regenerated.
70331         * sysdeps/s390/s390-64/configure: Regenerated.
70332         * sysdeps/sh/configure: Regenerated.
70333         * sysdeps/sparc/configure: Regenerated.
70334         * sysdeps/x86_64/configure: Regenerated.
70336 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70341         denormal result into account.
70343 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70345         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70346         Reported by Allan McRae <allan@archlinux.org>.
70348 2012-03-23  Jeff Law  <law@redhat.com>
70350         * nss/getnssent.c (__nss_getent): Fix typo.
70352 2012-03-23  David S. Miller  <davem@davemloft.net>
70354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70356 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70358         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70359         to pad to uint64_t for each field.
70360         (dl_tls_index): Replace unsigned long with uint64_t.
70362 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70363         Paul Pluzhnikov  <ppluzhnikov@google.com>
70365         [BZ #6528]
70366         * grp/Makefile (otherlibs): Don't set it.
70367         * inet/Makefile (otherlibs): Likewise.
70368         * login/Makefile (otherlibs): Likewise.
70369         * nscd/Makefile (otherlibs): Likewise.
70370         * posix/Makefile (otherlibs): Likewise.
70371         * pwd/Makefile (otherlibs): Likewise.
70372         * rt/Makefile (otherlibs): Likewise.
70373         * sunrpc/Makefile (otherlibs): Likewise.
70374         * nss/Makefile (otherlibs): Likewise.
70375         Add libnss_files to routines and static-only-routines.
70376         ($(objpfx)getent): Remove rule.
70377         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70378         static-only-routines.
70380 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70382         [BZ #13892]
70383         * math/s_cexp.c: Include <float.h>.
70384         (__cexp): Handle exp result overflowing not necessarily
70385         overflowing both real and imaginary parts of result.
70386         * math/s_cexpf.c: Likewise.
70387         * math/s_cexpl.c: Likewise.
70388         * math/libm-test.inc (cexp_test): Add more tests.
70389         * sysdeps/i386/fpu/libm-test-ulps: Update.
70390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70392 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70394         * include/link.h (ELFW): New macro.
70395         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70396         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70398 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70400         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70401         with uint64_t.
70403 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70405         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70406         declaration.
70407         (struct La_x32_retval): Likewise.
70409 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70411         * sysdeps/x86_64/preconfigure.in: New file.
70412         * sysdeps/x86_64/preconfigure: New generated file.
70414 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70416         [BZ #13824]
70417         * math/e_exp2l.c: Include <float.h>.
70418         (__ieee754_exp2l): Handle overflow and underflow cases
70419         separately.  Only pass fractional part of argument to
70420         __ieee754_expl.
70421         * math/libm-test.inc (exp2_test): Add more tests.
70423         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70424         negating x to take absolute value.
70425         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70426         Likewise.
70427         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70428         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70429         Likewise.
70430         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70431         computing low part if x was negated.
70432         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70434 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70436         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70437         la_x32_gnu_pltexit.
70438         (pltexit): Cast int_retval to ptrdiff_t.
70439         * elf/tst-auditmod3b.c: Likewise.
70440         * elf/tst-auditmod4b.c: Likewise.
70441         * elf/tst-auditmod5b.c: Likewise.
70442         * elf/tst-auditmod6b.c: Likewise.
70443         * elf/tst-auditmod6c.c: Likewise.
70444         * elf/tst-auditmod7b.c: Likewise.
70446         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70447         and x32_gnu_pltexit.
70449         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70450         __ELF_NATIVE_CLASS.
70451         (La_x32_regs): New macro.
70452         (La_x32_retval): Likewise.
70453         (la_x32_gnu_pltenter): New function prototype.
70454         (la_x32_gnu_pltexit): Likewise.
70456 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70458         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70459         exponent.
70461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70463         * configure.in (libc_cv_cc_nofma): Check for option to disable
70464         generation of FMA instructions.
70465         * configure: Regenerate.
70466         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70467         * sysdeps/ieee754/dbl-64/Makefile: New file.
70468         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70469         Remove brandred-fma4.
70470         (CFLAGS-brandred-fma4.c): Remove.
70471         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70473         define.
70474         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70475         define.
70477 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70479         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70480         LLONG_MAX != LONG_MAX.
70481         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70482         (_fitoa_word): Likewise.
70483         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70484         LLONG_MAX != LONG_MAX.
70485         * stdio-common/_itowa.h: Include <_itoa.h>.
70486         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70487         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70488         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70489         only if not defined.
70490         (_ITOA_WORD_TYPE): Likewise.
70491         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70492         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70494 2012-03-21  David S. Miller  <davem@davemloft.net>
70496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70498 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70500         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70501         of x86_64 when setting libc_cv_slibdir, libdir and
70502         libc_cv_localedir.
70503         * sysdeps/unix/sysv/linux/configure: Regenerated.
70505 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70507         * manual/lang.texi (Old Varargs): Remove section.
70508         (How Variadic): Update menu.
70509         (va_start): Do not mention varargs.h.
70511 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70512             Joseph Myers  <joseph@codesourcery.com>
70514         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70515         link test.
70516         * configure: Regenerated.
70518 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70520         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70521         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70522         conformtest.pl
70524 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70526         * NOTES: Remove.
70527         * Makefile (files-for-dist): Remove NOTES.
70528         (NOTES): Remove rule.
70529         * README: Don't refer to NOTES.
70530         * manual/creature.texi: Don't include macros.texi.
70531         * manual/intro.texi (creature.texi): Remove comment referring to
70532         NOTES.
70534         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70535         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70536         * configure: Regenerated.
70537         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70538         LIBC_TRY_CC_OPTION.
70539         (libc_cv_as_i686): Likewise.
70540         (libc_cv_cc_avx): Likewise.
70541         (libc_cv_cc_sse2avx): Likewise.
70542         (libc_cv_cc_fma4): Likewise.
70543         (libc_cv_cc_novzeroupper): Likewise.
70544         * sysdeps/i386/configure: Regenerated.
70546         [BZ #13883]
70547         * sysdeps/i386/fpu/s_cexp.S: Remove.
70548         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70549         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70550         * math/libm-test.inc (cexp_test): Add more tests.
70551         * sysdeps/i386/fpu/libm-test-ulps: Update.
70552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70554 2012-03-21  Allan McRae  <allan@archlinux.org>
70556         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70558 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70560         [BZ #13871]
70561         * math/w_exp2.c: Do not include <float.h>.
70562         (o_threshold, u_threshold): Remove.
70563         (__exp2): Calculate result before checking finiteness and calling
70564         __kernel_standard.
70565         * math/w_exp2f.c: Likewise.
70566         * math/w_exp2l.c: Likewise.
70567         * math/libm-test.inc (exp2_test): Require overflow exception for
70568         1e6 input.
70570         [BZ #3866]
70571         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70572         range of signed 64-bit integers before using fistpll.  Remove
70573         checks for whether integers fit in mantissa bits.
70574         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70575         the range of signed 32-bit integers before using fistpl.  Remove
70576         checks for whether integers fit in mantissa bits.
70577         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70578         (__ieee754_powl): Test for y outside the range of signed 64-bit
70579         integers before using fistpll.  Reduce 64-bit values to 63-bit
70580         ones as needed.
70581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70582         divide-by-zero is raised for zero to large negative powers.
70583         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
70589 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70591         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70592         <stdio-common/_itoa.h>.
70593         * debug/segfault.c: Likewise.
70594         * elf/dl-cache.c: Likewise.
70595         * elf/dl-minimal.c: Likewise.
70596         * elf/dl-misc.c: Likewise.
70597         * elf/dl-sysdep.c: Likewise.
70598         * elf/dl-version.c: Likewise.
70599         * elf/rtld.c: Likewise.
70600         * hurd/hurdsock.c: Likewise.
70601         * hurd/lookup-retry.c: Likewise.
70602         * malloc/malloc.c: Likewise.
70603         * malloc/mtrace.c: Likewise.
70604         * nscd/nscd_getgr_r.c: Likewise.
70605         * nscd/nscd_getpw_r.c: Likewise.
70606         * nscd/nscd_getserv_r.c: Likewise.
70607         * posix/getopt_init.c: Likewise.
70608         * posix/wordexp.c: Likewise.
70609         * stdio-common/_itoa.c: Likewise.
70610         * stdio-common/printf_fphex.c: Likewise.
70611         * stdio-common/vfprintf.c: Likewise.
70612         * string/_strerror.c: Likewise.
70613         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70614         * sysdeps/i386/i686/hp-timing.h: Likewise.
70615         * sysdeps/mach/_strerror.c: Likewise.
70616         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70617         * sysdeps/mach/hurd/sethostid.c: Likewise.
70618         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70619         * sysdeps/mach/xpg-strerror.c: Likewise.
70620         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70622         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70623         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70624         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70625         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70626         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70627         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70628         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70629         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70630         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70631         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70632         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70633         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70634         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70635         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70636         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70637         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70638         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70639         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70640         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70642         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70644         * stdio-common/_itoa.h: Moved to ...
70645         * sysdeps/generic/_itoa.h: Here.
70647         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70649         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70650         instead of "_itoa.h" and "_itowa.h".
70651         * stdio-common/vfprintf.: Likewise.
70653 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70655         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70656         <bits/wordsize.h>.
70657         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70658         (__signbit): Likwise.
70659         (llrintf): Likwise.
70660         (llrint): Likwise.
70662 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70664         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70665         __WORDSIZE != 64.
70667 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70669         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70670         OVERFLOW_EXCEPTION_OK.
70671         * math/libm-test.inc ("Philosophy"): Update comment about
70672         exception testing.
70673         (OVERFLOW_EXCEPTION): Define.
70674         (OVERFLOW_EXCEPTION_OK): Likewise.
70675         (INVALID_EXCEPTION_OK): Renumber.
70676         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70677         (IGNORE_ZERO_INF_SIGN): Likewise.
70678         (test_exceptions): Handle FE_OVERFLOW.
70679         (exp10_test): Expect overflow exceptions.
70680         (exp2_test): Likewise.
70681         (expm1_test): Likewise.
70682         (nextafter_test): Likewise.
70683         (pow_test): Likewise.
70684         (scalbn_test): Likewise.
70685         (scalbln_test): Likewise.
70687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70689         * sysdeps/x86_64/bits/atomic.h
70690         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70691         64bit integer.
70692         (atomic_exchange_acq): Likewise.
70693         (__arch_exchange_and_add_body): Likewise.
70694         (__arch_add_body): Likewise.
70695         (atomic_add_negative): Likewise.
70696         (atomic_add_zero): Likewise.
70698 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70700         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70701         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70703 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70705         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70706         Check __x86_64__ instead of __WORDSIZE.
70708 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70710         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70712 2012-03-19  David S. Miller  <davem@davemloft.net>
70714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70716         * sysdeps/sparc/fpu/fenv_private.h: New file.
70717         * sysdeps/sparc/fpu/math_private.h: Use it.
70718         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70719         Remove.
70720         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70721         (libc_feholdexcept_setroundl): Remove.
70722         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70723         Remove.
70724         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70725         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70729         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70730         int64_t instead of long int.
70731         (INSERT_WORDS64): Likwise.
70733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70735         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70736         _Unwind_GetCFA return to _Unwind_Ptr first.
70738 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70740         [BZ #13629]
70741         * math/s_clog.c: Include <float.h>.
70742         (__clog): Scale large or subnormal inputs.
70743         * math/s_clogf.c: Likewise.
70744         * math/s_clogl.c: Likewise.
70745         * math/s_clog10.c: Include <float.h>.
70746         (M_LOG10_2): Define.
70747         (__clog10): Scale large or subnormal inputs.
70748         * math/s_clog10f.c: Likewise.
70749         * math/s_clog10l.c: Likewise.
70750         * math/libm-test.inc (clog_test): Add more tests.
70751         (clog10_test): Likewise.
70752         * sysdeps/i386/fpu/libm-test-ulps: Update.
70753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70755         [BZ #11451]
70756         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70757         x and y.
70758         * math/libm-test.inc (atan2_test): Add another test.
70760         * Makerules (common-objdir-compile): Remove.
70761         * sysdeps/unix/Makefile (config-generated): Do not add
70762         $(unix-generated) to variable.
70763         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70764         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70765         Remove rule.
70766         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70767         Likewise.
70768         [generic bits/local_lim.h] (before-compile): Do not append to
70769         variable.
70770         [generic bits/local_lim.h] (common-generated): Likewise.
70771         [generic sys/param.h] (before-compile): Do not append to variable.
70772         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70773         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70774         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70775         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70776         include.
70777         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70778         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70779         [generic sys/param.h] ($(addprefix
70780         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70781         [generic sys/param.h] (common-generated): Do not append to
70782         variable.
70783         [generic sys/param.h] (sysdep_headers): Likewise.
70784         [generic bits/errno.h] (before-compile): Do not append to
70785         variable.
70786         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70787         rule.
70788         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70789         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70790         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70791         [generic bits/errno.h] (common-generated): Do not append to
70792         variable.
70793         [generic bits/ioctls.h] (before-compile): Do not append to
70794         variable.
70795         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70796         rule.
70797         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70798         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70799         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70800         rule.
70801         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70802         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70803         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70804         [generic bits/ioctls.h] (common-generated): Do not append to
70805         variable.
70806         [generic sys/syscall.h] (syscall.h): Remove variable.
70807         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70808         rule.
70809         [generic sys/syscall.h] (before-compile): Do not append to
70810         variable.
70811         [generic sys/syscall.h] (common-generated): Likewise.
70812         * sysdeps/unix/errnos-tmpl.c: Remove file.
70813         * sysdeps/unix/errnos.awk: Likewise.
70814         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70815         * sysdeps/unix/ioctls.awk: Likewise.
70816         * sysdeps/unix/mk-local_lim.c: Likewise.
70817         * sysdeps/unix/snarf-ioctls: Likewise.
70819 2012-03-19  Richard Henderson  <rth@twiddle.net>
70821         * sysdeps/i386/fpu/fenv_private.h: New file.
70822         * sysdeps/i386/fpu/math_private.h: Use it.
70823         (math_opt_barrier, math_force_eval): Remove.
70824         (libc_feholdexcept_setround_53bit): Remove.
70825         (libc_feupdateenv_53bit): Remove.
70826         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70827         (math_opt_barrier, math_force_eval): Remove.
70828         (libc_feholdexcept): Remove.
70829         (libc_feholdexcept_setround): Remove.
70830         (libc_fetestexcept, libc_fesetenv): Remove.
70831         (libc_feupdateenv_test): Remove.
70832         (libc_feupdateenv, libc_feholdsetround): Remove.
70833         (libc_feresetround): Remove.
70835         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70836         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70838         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70839         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70840         (libc_feupdateenv_testl): New.
70841         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70842         (libc_feupdateenv_testf): New.
70843         (libc_feupdateenv): Use libc_feupdateenv_test.
70844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70845         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70847         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70848         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70849         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70850         (libc_feresetround_noex): New.
70851         (libc_feresetround_noexf): New.
70852         (libc_feresetround_noexl): New.
70853         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70854         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70855         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70856         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70857         SET_RESTORE_ROUND.
70858         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70860         (__cos): Likewise.
70861         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70862         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70863         SET_RESTORE_ROUND_NOEX.
70864         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70865         SET_RESTORE_ROUND_NOEXF.
70866         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70867         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70868         (libc_feholdsetroundf): New.
70869         (libc_feresetround, libc_feresetroundf): New.
70871         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70872         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70873         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70875         * sysdeps/generic/math_private.h: Include <fenv.h>.
70876         (default_libc_feholdexcept): New.
70877         (default_libc_feholdexcept_setround): New.
70878         (default_libc_fesetenv, default_libc_feupdateenv): New.
70879         (libc_feholdexcept): Only define if undefined.
70880         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70881         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70882         (libc_feholdexcept_setroundl): Likewise.
70883         (libc_feholdexcept_setround_53bit): Likewise.
70884         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70885         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70886         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70887         (libc_feupdateenv_53bit): Likewise.
70888         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70889         (libc_feholdexcept): Convert from macro to inline function.
70890         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70891         (libc_fesetenv, libc_feupdateenv): Likewise.
70893         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70894         not previously defined.
70895         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70896         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70897         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70898         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70899         * sysdeps/ieee754/flt-32/math_private.h: New file.
70900         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70901         math_private.h below SET_FLOAT_WORD.
70902         (__isnan, __isinf_ns, __finite): Remove.
70903         (__isnanf, __isinf_nsf, __finitef): Remove.
70905 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70909 2012-03-17  David S. Miller  <davem@davemloft.net>
70911         [BZ #6471]
70912         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70913         for 2.16.
70915 2012-03-16  David S. Miller  <davem@davemloft.net>
70917         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70918         warnings.
70920         [BZ #6471]
70921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70922         properly.
70923         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70924         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70925         sysdep_routines when subdir is sysvipc.
70926         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70927         __getshmlba helper.
70929         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70931 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70933         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70934         [__LP64__].
70936 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70938         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70939         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70940         (__lround): Renamed to ...
70941         (__llround): This.  Replace long int with long long int.
70942         Define lround functions as aliases of llround functions.
70943         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70945 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70947         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70948         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70949         adresses to uintptr_t.  Replace "long int" and "unsigned long
70950         int" with "greg_t" on va_arg.
70952 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70954         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70955         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70957         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70958         Move e_machine check before EI_CLASS check.  Handle x32
70959         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70960         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70961         SKIP_EM_IA_64 and include
70962         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70964         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70965         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70966         (add_system_dir): New macro.
70968         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70969         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70971 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70973         [BZ #2551]
70974         [BZ #2552]
70975         [BZ #2553]
70976         [BZ #2554]
70977         [BZ #2562]
70978         [BZ #2563]
70979         [BZ #2565]
70980         [BZ #2566]
70981         [BZ #2576]
70982         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70983         (y0): Likewise.
70984         * math/w_j0f.c (j0f): Likewise.
70985         (y0f): Likewise.
70986         * math/w_j0l.c (__j0l): Likewise.
70987         (__y0l): Likewise.
70988         * math/w_j1.c (j1): Likewise.
70989         (y1): Likewise.
70990         * math/w_j1f.c (j1f): Likewise.
70991         (y1f): Likewise.
70992         * math/w_j1l.c (__j1l): Likewise.
70993         (__y1l): Likewise.
70994         * math/w_jn.c (jn): Likewise.
70995         (yn): Likewise.
70996         * math/w_jnf.c (jnf): Likewise.
70997         (ynf): Likewise.
70998         * math/w_jnl.c (__jnl): Likewise.
70999         (__ynl): Likewise.
71000         * math/libm-test.inc (j0_test): Add more tests.
71001         (j1_test): Likewise.
71002         (jn_test): Likewise.  Add trailing semicolon to existing test.
71003         (y0_test): Likewise.
71004         (y1_test): Likewise.
71005         * sysdeps/i386/fpu/libm-test-ulps: Update.
71006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71008         [BZ #13851]
71009         [BZ #13854]
71010         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71011         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71012         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71013         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71014         (__tanl): Set errno for infinite argument.
71015         * sysdeps/i386/fpu/mptan.c: Remove.
71016         * sysdeps/i386/fpu/s_tan.S: Likewise.
71017         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71018         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71019         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71020         * math/libm-test.inc (tan_test): Add more tests and enable more
71021         tests for double and long double.
71022         * sysdeps/i386/fpu/libm-test-ulps: Update.
71023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71025 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71027         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71028         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71030 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71032         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71033         * configure.in: Use it for both main tree and add-ons.
71034         * configure: Regenerated.
71036 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71038         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71040 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71042         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71043         in comment.
71045         [BZ #13851]
71046         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71047         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71049         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71050         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71051         infinite argument.
71052         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71054         != 0 for prec == 2.
71055         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71056         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71057         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71058         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71059         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71060         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71061         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71062         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71063         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71064         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71065         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71066         * math/libm-test.inc (cos_test): Add more tests and enable more
71067         tests for long double.
71068         (sin_test): Likewise.
71069         (sincos_test): Likewise.
71070         * sysdeps/i386/fpu/libm-test-ulps: Update.
71071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71073 2012-03-16  David S. Miller  <davem@davemloft.net>
71075         * sysdeps/sparc/fpu/math_private.h: New file.
71077 2012-03-15  David S. Miller  <davem@davemloft.net>
71079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71080         file.
71081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71083         file.
71084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71089         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71090         sysdep routines.
71091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71093         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71094         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71096         * sysdeps/sparc/sparc-ifunc.h: New file.
71097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71098         sparc-ifunc.h
71099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71101         Likewise.
71102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71103         Likewise.
71104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71108         Likewise.
71109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71114         Likewise.
71115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71116         Likewise.
71117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71136         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71139         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71140         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71142 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71144         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71145         scaling.
71146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71148 2012-03-15  Andreas Jaeger  <aj@suse.de>
71150         [BZ #13852]
71151         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71152         ieee754/flt-32 implementation for sin, cos and sincos.
71153         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71154         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71155         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71156         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71157         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71158         ieee754/flt-32 implementation for tan.
71160         * math/libm-test.inc (cos_test): Enable some large input tests for
71161         float as well
71162         (sin_test): Likewise.
71163         (sincos_test): Likewise.
71164         (tan_test): Add tests for large input.
71166         * sysdeps/i386/fpu/libm-test-ulps: Update.
71168 2012-03-15  Andreas Jaeger  <aj@suse.de>
71170         [BZ #13658]
71171         * math/libm-test.inc (cos_test): Add more test cases.
71172         (sin_test): Likewise.
71173         (sincos_test): Likewise.
71175 2012-03-15  Andreas Jaeger  <aj@suse.de>
71177         [BZ #13837]
71178         * math/libm-test.inc (cos_test): Add a test case for large input
71179         value.
71180         (sin_test): Likewise.
71181         (sincos_test): Likewise.
71183 2012-03-15  Andreas Jaeger  <aj@suse.de>
71184             Joseph Myers  <joseph@codesourcery.com>
71186         [BZ #13658]
71187         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71188         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71189         * sysdeps/i386/fpu/branred.c: Likewise.
71190         * sysdeps/i386/fpu/dosincos.c: Likewise.
71191         * sysdeps/i386/fpu/mpa.c: Likewise.
71192         * sysdeps/i386/fpu/s_cos.S: Likewise.
71193         * sysdeps/i386/fpu/s_sin.S: Likewise.
71194         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71195         * sysdeps/i386/fpu/sincos32.c: Likewise.
71197         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71198         Define.
71199         (libc_feupdateenv_53bit): Define.
71200         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71201         Define.
71202         (libc_feupdateenv_53bit): Define.
71204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71205         53 bit (without extend i386 double precision).
71207         * math/libm-test.inc (sincos_test): Add tests for large input.
71208         (sin): Likewise.
71209         (cos): Likewise.
71211         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71213 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71217 2012-03-15  David S. Miller  <davem@davemloft.net>
71219         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71220         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71221         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71222         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71235         file.
71236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71238         file.
71239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71241         file.
71242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71244         file.
71245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71247         fmin/fmax sysdep routines.
71248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71250 2012-03-14  David S. Miller  <davem@davemloft.net>
71252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71259         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71272         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71275         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71277         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71280         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71281         routines.
71282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71283         file.
71284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71286         file.
71287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71289         file.
71290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71292         file.
71293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71295         file.
71296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71298         file.
71299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71300         file.
71301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71302         file.
71303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71304         file.
71305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71306         New file.
71307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71308         file.
71309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71310         file.
71311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71313         file.
71314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71316         file.
71317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71319         file.
71320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71322         VIS3 routines.
71324         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71325         New file.
71327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71329         * sysdeps/sparc/configure.in: New file.
71330         * sysdeps/sparc/configure: Generate.
71331         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71332         * configure: Regenerate.
71333         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71334         * config.make.in (have-as-vis3): New.
71335         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71336         available use -Av9d instead of -Av9a.
71337         * sysdeps/sparc/sparc64/Makefile: Likewise.
71338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71340         New file.
71341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71342         file.
71343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71344         New file.
71345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71346         file.
71347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71349         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71353         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71354         fzeros/fnegs to load 0x80000000 into a float register instead of
71355         using the stack.
71356         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71358 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71361         bits/syscall.h.
71362         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71363         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71364         ($(inst_includedir)/bits/syscall.h): Remove rule.
71365         ($(objpfx)bits/syscall.d): Include instead of
71366         $(objpfx)syscall-list.d.
71367         (generated): Change syscall-list.h and syscall-list.d to
71368         bits/syscall.h and bits/syscall.d.
71370 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71372         [BZ #13846]
71373         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71375 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71377         [BZ #13841]
71378         * math/s_csqrt.c: Include <float.h>.
71379         (__csqrt): Scale large or subnormal inputs.
71380         * math/s_csqrtf.c: Likewise.
71381         * math/s_csqrtl.c: Likewise.
71382         * math/libm-test.inc (csqrt_test): Add more tests.
71383         * sysdeps/i386/fpu/libm-test-ulps: Update.
71384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71386         [BZ #13840]
71387         * math/libm-test.inc (hypot_test): Add more tests.
71389 2012-03-13  David S. Miller  <davem@davemloft.net>
71391         [BZ #13840]
71392         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71393         double-precision for the calculation instead of scaling.
71395 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71397         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71398         manipulate bits before adding and subtracting TWO52[sx].
71399         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71400         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71401         Likewise.
71402         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71404 2012-03-13  David S. Miller  <davem@davemloft.net>
71406         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71407         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71408         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71409         rtld-global-offsets.h
71410         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71412         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71413         large parameters.
71415         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71417         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71418         'err' in the ifdef scope in which it is actually used.
71420         * nss/nss_db/db-init.c: Include string.h
71422 2012-03-12  David S. Miller  <davem@davemloft.net>
71424         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71425         masking out of the most significant byte of random value used.
71426         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71427         Fix coding style in previous change.
71429         * sysdeps/unix/sysv/linux/kernel-features.h
71430         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71431         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71432         expression.
71433         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71434         later.
71436 2012-03-11  David S. Miller  <davem@davemloft.net>
71438         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71439         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71440         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71441         for 'resultvar' otherwise things get truncated on 64-bit.
71443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71444         Fix masking out of the most significant byte of random value used.
71446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71448 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71452 2012-03-09  David S. Miller  <davem@davemloft.net>
71454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71455         variables with appropriate CPP guards.
71456         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71457         from the frame pointer, not the stack pointer.  Correct layout
71458         comments.  Fix test on resulting framesize and the management of
71459         the outregs buffer for pltexit.  Preserve floating point return
71460         values across _dl_call_pltexit call.
71461         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71462         framesize and the management of the outregs buffer for pltexit.
71463         Preserve floating point return values across _dl_call_pltexit
71464         call.
71465         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71466         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71467         (la_sparc64_gnu_pltexit): New functions.
71468         (print_exit): Fix format string for return register value.
71470 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71472         * sunrpc/Makefile (others): Add rpcgen.
71473         ($(objpfx)rpcgen): Remove special build rule and dependency on
71474         libc.
71475         * sunrpc/rpcgen.c: New file.
71477 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71479         [BZ #13673]
71480         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71481         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71482         * sysdeps/i386/crti.S: Likewise.
71483         * sysdeps/i386/crtn.S: Likewise.
71484         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71485         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71486         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71487         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71488         * sysdeps/sh/crti.S: Likewise.
71489         * sysdeps/sh/crtn.S: Likewise.
71490         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71492         [BZ #13673]
71493         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71494         with URL.
71495         * locale/programs/locfile-kw.gperf: Likewise.
71496         * locale/programs/charmap-kw.h: Regenerated.
71497         * locale/programs/locfile-kw.h: Likewise.
71499         [BZ #13673]
71500         * intl/plural.y: Replace FSF snail mail address with URL.
71501         * intl/plural.c: Regenerated.
71503 2012-03-09  Richard Henderson  <rth@twiddle.net>
71505         * include/math_private.h: Remove file.
71506         * math/math_private.h: Move file ...
71507         * sysdeps/generic/math_private.h: ... here.
71509         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71510         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71511         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71513         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71514         and <math_private.h>.
71515         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71516         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71517         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71518         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71519         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71520         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71521         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71523         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71524         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71527         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71528         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71529         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71531         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71532         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71533         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71534         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71536         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71537         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71539         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71540         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71541         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71542         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71545         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71546         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71547         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71548         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71549         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71550         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71551         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71552         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71553         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71554         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71555         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71556         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71558         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71559         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71560         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71561         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71562         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71563         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71564         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71565         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71566         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71568         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71573         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71574         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71575         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71576         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71577         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71581         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71582         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71583         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71584         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71585         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71586         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71598         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71599         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71603         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71604         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71605         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71606         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71607         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71608         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71609         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71610         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71611         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71612         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71613         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71614         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71615         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71616         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71617         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71618         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71619         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71620         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71621         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71622         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71623         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71625         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71626         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71627         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71628         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71629         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71630         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71631         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71632         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71633         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71634         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71635         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71636         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71637         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71638         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71639         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71640         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71641         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71642         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71643         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71644         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71645         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71646         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71647         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71648         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71649         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71650         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71651         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71652         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71653         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71654         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71655         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71656         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71657         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71658         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71659         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71660         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71661         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71662         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71663         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71664         * sysdeps/ieee754/k_standard.c: Likewise.
71665         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71666         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71668         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71670         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71671         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71672         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71673         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71674         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71675         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71676         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71677         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71678         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71679         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71680         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71681         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71684         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71685         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71686         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71687         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71688         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71689         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71690         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71691         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71692         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71693         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71694         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71695         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71696         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71697         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71698         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71699         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71700         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71701         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71702         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71703         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71704         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71705         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71706         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71707         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71708         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71709         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71710         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71711         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71712         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71713         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71714         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71715         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71716         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71717         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71718         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71721         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71722         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71723         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71724         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71726         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71727         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71728         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71729         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71730         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71731         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71732         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71733         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71735         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71738         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71740         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71743         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71744         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71745         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71746         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71748         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71749         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71750         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71751         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71753         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71755         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71756         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71757         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71758         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71759         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71760         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71761         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71762         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71763         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71764         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71766         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71767         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71768         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71769         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71772         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71773         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71774         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71775         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71776         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71777         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71778         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71779         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71780         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71781         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71782         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71783         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71784         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71785         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71786         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71787         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71788         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71789         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71790         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71791         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71792         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71793         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71794         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71795         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71796         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71797         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71798         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71799         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71800         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71801         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71802         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71803         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71804         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71805         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71806         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71807         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71808         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71809         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71810         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71811         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71813         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71814         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71815         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71816         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71817         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71818         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71819         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71820         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71821         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71822         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71823         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71824         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71825         * sysdeps/ieee754/s_lib_version.c: Likewise.
71826         * sysdeps/ieee754/s_matherr.c: Likewise.
71827         * sysdeps/ieee754/s_signgam.c: Likewise.
71828         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71829         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71830         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71831         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71832         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71833         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71834         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71835         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71836         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71837         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71838         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71839         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71840         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71841         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71842         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71843         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71844         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71845         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71846         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71847         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71848         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71850 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71852         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71853         * sunrpc/rpc_main.c: Likewise.
71854         * sunrpc/rpc_svcout.c: Likewise.
71856 2012-03-09  David S. Miller  <davem@davemloft.net>
71858         * include/math_private.h: New file.
71860 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71862         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71863         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71864         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71865         from <bits/socket_type.h>.
71866         (enum __socket_type): Don't define here.
71867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71869         bits/socket_type.h.
71871         [BZ #13566]
71872         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71873         checking __USE_GNU.
71875         * Makerules ($(inst_includedir)/%.h): New rule.
71876         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71877         (install-others): Remove variable setting.
71878         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71880 2012-03-08  Richard Henderson  <rth@twiddle.net>
71882         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71883         from macro to inline function; merge with the
71884         !__LIBC_INTERNAL_MATH_INLINES version.
71885         (__ieee754_sqrtf): Likewise.
71887         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71888         to inline function.
71889         (__rintf, __floor, __floorf): Likewise.
71891         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71892         macro to inline function.
71893         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71895         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71896         not <math/math_private.h>.
71898 2012-03-08  David S. Miller  <davem@davemloft.net>
71900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71901         copyright year.
71902         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71904 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71906         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71907         normalization.
71908         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71909         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71911 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71913         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71914         be defined individually, they must be defined as a block.  Define
71915         S for printing a string instead of hidint the different by using a
71916         macro for adding the 'l'.
71917         * stdio-common/tst-fphex-wide.c: Adjust.
71919 2012-03-07  Marek Polacek  <polacek@redhat.com>
71921         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71923 2012-03-08  Marek Polacek  <polacek@redhat.com>
71925         [BZ #13806]
71926         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71927         * stdio-common/tst-fphex.c: Define a few macros to make the
71928         test reusable.  Use them.
71929         * stdio-common/tst-fphex-wide.c: New file.
71931 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71933         [BZ #6911]
71934         * manual/macros.texi (gnusystems): New macro.
71935         (nongnusystems): Likewise.
71936         (gnulinuxhurdsystems): Likewise.
71937         (gnuhurdsystems): Likewise..
71938         (gnulinuxsystems): Likewise.
71939         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71940         variants of the GNU system, not "GNU system".
71941         * manual/conf.texi: Likewise.
71942         * manual/errno.texi: Likewise.  Update example of errno macro
71943         expansion.
71944         * manual/filesys.texi: Likewise.
71945         (getumask): Document as specific to GNU/Hurd.
71946         * manual/install.texi: Likewise.  Reword some references to
71947         GNU/Linux.
71948         * manual/intro.texi: Likewise.
71949         * manual/io.texi: Likewise.
71950         (File Name Portability): Detail which constraints are inapplicable
71951         to all GNU systems and which are only inapplicable to GNU/Hurd.
71952         * manual/job.texi: Likewise.
71953         * manual/llio.texi: Likewise.
71954         (O_NOCTTY): Document as present on GNU/Linux.
71955         * manual/maint.texi: Likewise.
71956         * manual/memory.texi: Likewise.
71957         * manual/pattern.texi: Likewise.
71958         * manual/pipe.texi: Likewise.
71959         * manual/process.texi: Likewise.
71960         * manual/resource.texi: Likewise.
71961         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71962         child on GNU/Hurd.
71963         * manual/setjmp.texi: Likewise.
71964         * manual/signal.texi: Likewise.
71965         * manual/startup.texi: Likewise.
71966         * manual/stdio.texi: Likewise.
71967         * manual/terminal.texi: Likewise.
71968         (ONLCR): Document as POSIX.
71969         (OXTABS): Document availability on GNU/Linux as XTABS.
71970         (ONOEOT): Document availability separately from other bits.
71971         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71972         * manual/time.texi: Likewise.
71973         * manual/users.texi: Likewise.
71974         * INSTALL: Regenerated.
71975         * sysdeps/gnu/errlist.c: Regenerated.
71977         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71978         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71979         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71980         puts.
71981         * configure: Regenerated.
71983 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71985         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71986         default includes instead of AC_HEADER_CHECK.
71987         * sysdeps/i386/configure: Regenerated.
71989         [BZ #10716]
71990         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71991         * math/s_cacoshf.c (__cacoshf): Likewise.
71992         * math/s_cacoshl.c (__cacoshl): Likewise.
71993         * math/s_casinh.c (__casinh): Set signs of result from argument.
71994         * math/s_casinhf.c (__casinhf): Likewise.
71995         * math/s_casinhl.c (__casinhl): Likewise.
71996         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71997         (casinh_test): Add more tests.
71998         * sysdeps/i386/fpu/libm-test-ulps: Update.
71999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72001 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72003         * po/zh_TW.po: Update from translation team.
72005         * login/Makefile (distribute): Remove variable.
72006         * catgets/Makefile: Likewise.
72007         * mach/Makefile: Likewise.
72008         * malloc/Makefile: Likewise.
72009         * misc/Makefile: Likewise.
72010         * iconv/Makefile: Likewise.
72011         * nscd/Makefile: Likewise.
72012         * hurd/Makefile: Likewise.
72013         * manual/Makefile: Likewise.
72014         * locale/Makefile: Likewise.
72015         * intl/Makefile: Likewise.
72016         * conform/Makefile: Likewise.
72017         * nss/Makefile: Likewise.
72018         * time/Makefile: Likewise.
72019         * soft-fp/Makefile: Likewise.
72020         * dirent/Makefile: Likewise.
72021         * gmon/Makefile: Likewise.
72022         * po/Makefile: Likewise.
72023         * rt/Makefile: Likewise.
72024         * socket/Makefile: Likewise.
72025         * math/Makefile: Likewise.
72026         * signal/Makefile: Likewise.
72027         * debug/Makefile: Likewise.
72028         * elf/Makefile: Likewise.
72029         * timezone/Makefile: Likewise.
72030         * stdlib/Makefile: Likewise.
72031         * iconvdata/Makefile: Likewise.
72032         * sunrpc/Makefile: Likewise.
72033         * io/Makefile: Likewise.
72034         * argp/Makefile: Likewise.
72035         * inet/Makefile: Likewise.
72036         * hesiod/Makefile: Likewise.
72037         * grp/Makefile: Likewise.
72038         * csu/Makefile: Likewise.
72039         * wctype/Makefile: Likewise.
72040         * crypt/Makefile: Likewise.
72041         * libio/Makefile: Likewise.
72042         * string/Makefile: Likewise.
72043         * nis/Makefile: Likewise.
72044         * resolv/Makefile: Likewise.
72045         * stdio-common/Makefile: Likewise.
72046         * wcsmbs/Makefile: Likewise.
72047         * dlfcn/Makefile: Likewise.
72048         * posix/Makefile: Likewise.
72050         [BZ #6959]
72051         * timezone/Makefile: Don't install timezone files, just the programs
72052         and scripts.
72054 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72056         * nss/databases.def: Add missing gshadow entry.
72058         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72060 2012-03-06  Marek Polacek  <polacek@redhat.com>
72062         [BZ #13726]
72063         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72064         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72065         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72066         * stdio-common/tst-long-dbl-fphex.c: New file.
72068 2012-03-06  David S. Miller  <davem@davemloft.net>
72070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72071         (set_obp_int): New function.
72072         (get_obp_int): New function.
72073         (__get_clockfreq_via_dev_openprom): Likewise.
72074         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72075         Avoid unused variable warnings on 'val' and use builtin_expect.
72076         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72077         __builtin_expect.
72078         (INLINE_CLONE_SYSCALL): Likewise.
72080 2012-03-05  David S. Miller  <davem@davemloft.net>
72082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72084 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72088         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72089         only for |x| >= 40.
72090         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72092 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72095         Replace gettimeofday with __vdso_gettimeofday.
72097         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72098         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72099         __vdso_clock_gettime and __vdso_getcpu.
72101         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72102         time with __vdso_time.
72104 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72106         * manual/lang.texi (size_t): Note types to which size_t may be
72107         equivalent with the GNU C Library, but do not describe when
72108         differences between them are significant.
72110 2012-03-05  Andreas Jaeger  <aj@suse.de>
72112         * sysdeps/i386/fpu/libm-test-ulps: Update.
72114 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72116         [BZ #3976]
72117         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72118         (__ieee754_pow): Save and restore rounding mode and use
72119         round-to-nearest for main computations.
72120         * math/libm-test.inc (pow_test_tonearest): New function.
72121         (pow_test_towardzero): Likewise.
72122         (pow_test_downward): Likewise.
72123         (pow_test_upward): Likewise.
72124         (main): Call the new functions.
72125         * sysdeps/i386/fpu/libm-test-ulps: Update.
72126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72128         [BZ #3976]
72129         * math/libm-test.inc (cosh_test_tonearest): New function.
72130         (cosh_test_towardzero): Likewise.
72131         (cosh_test_downward): Likewise.
72132         (cosh_test_upward): Likewise.
72133         (sinh_test_tonearest): Likewise.
72134         (sinh_test_towardzero): Likewise.
72135         (sinh_test_downward): Likewise.
72136         (sinh_test_upward): Likewise.
72137         (main): Call the new functions.
72138         * sysdeps/i386/fpu/libm-test-ulps: Update.
72139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72141 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72143         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72144         default stack guard is set in last bytes.
72145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72147 2012-03-05  Kees Cook  <keescook@chromium.org>
72149         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72151         [BZ #13656]
72152         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72153         possibly allocate from heap instead of stack.
72154         * stdio-common/bug-vfprintf-nargs.c: New file.
72155         * stdio-common/Makefile (tests): Add nargs overflow test.
72157 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72161 2012-03-03  Marek Polacek  <polacek@redhat.com>
72163         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72164         * math/math_private.h: Likewise.
72165         * stdlib/tst-strtod.c: Likewise.
72166         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72167         * sysdeps/x86_64/bits/atomic.h: Likewise.
72169 2012-03-02  David S. Miller  <davem@davemloft.net>
72171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72175         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72176         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72177         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72178         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72180 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72182         [BZ #13792]
72183         * manual/examples/README: New file, says the example source files
72184         can be used under GPL>=2.
72185         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72186         line containing just "*/".
72187         * manual/examples/add.c: Add copyright header (GPL>=2).
72188         * manual/examples/argp-ex1.c: Likewise.
72189         * manual/examples/argp-ex2.c: Likewise.
72190         * manual/examples/argp-ex3.c: Likewise.
72191         * manual/examples/argp-ex4.c: Likewise.
72192         * manual/examples/atexit.c: Likewise.
72193         * manual/examples/db.c: Likewise.
72194         * manual/examples/dir.c: Likewise.
72195         * manual/examples/dir2.c: Likewise.
72196         * manual/examples/execinfo.c: Likewise.
72197         * manual/examples/filecli.c: Likewise.
72198         * manual/examples/filesrv.c: Likewise.
72199         * manual/examples/fmtmsgexpl.c: Likewise.
72200         * manual/examples/genpass.c: Likewise.
72201         * manual/examples/inetcli.c: Likewise.
72202         * manual/examples/inetsrv.c: Likewise.
72203         * manual/examples/isockad.c: Likewise.
72204         * manual/examples/longopt.c: Likewise.
72205         * manual/examples/memopen.c: Likewise.
72206         * manual/examples/memstrm.c: Likewise.
72207         * manual/examples/mkfsock.c: Likewise.
72208         * manual/examples/mkisock.c: Likewise.
72209         * manual/examples/mygetpass.c: Likewise.
72210         * manual/examples/pipe.c: Likewise.
72211         * manual/examples/popen.c: Likewise.
72212         * manual/examples/rprintf.c: Likewise.
72213         * manual/examples/search.c: Likewise.
72214         * manual/examples/select.c: Likewise.
72215         * manual/examples/setjmp.c: Likewise.
72216         * manual/examples/sigh1.c: Likewise.
72217         * manual/examples/sigusr.c: Likewise.
72218         * manual/examples/stpcpy.c: Likewise.
72219         * manual/examples/strdupa.c: Likewise.
72220         * manual/examples/strftim.c: Likewise.
72221         * manual/examples/strncat.c: Likewise.
72222         * manual/examples/subopt.c: Likewise.
72223         * manual/examples/swapcontext.c: Likewise.
72224         * manual/examples/termios.c: Likewise.
72225         * manual/examples/testopt.c: Likewise.
72226         * manual/examples/testpass.c: Likewise.
72227         * manual/examples/timeval_subtract.c: Likewise.
72229         [BZ #13792]
72230         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72231         function to ...
72232         * manual/timeval_subtract.c.texi: ... here, new file.
72234 2012-03-02  David S. Miller  <davem@davemloft.net>
72236         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72238 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72240         [BZ #3976]
72241         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72242         (__sin): Save and restore rounding mode and use round-to-nearest
72243         for all computations.
72244         (__cos): Save and restore rounding mode and use round-to-nearest
72245         for all computations.
72246         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72247         <fenv.h>.
72248         (tan): Save and restore rounding mode and use round-to-nearest for
72249         all computations.
72250         * math/libm-test.inc (cos_test_tonearest): New function.
72251         (cos_test_towardzero): Likewise.
72252         (cos_test_downward): Likewise.
72253         (cos_test_upward): Likewise.
72254         (sin_test_tonearest): Likewise.
72255         (sin_test_towardzero): Likewise.
72256         (sin_test_downward): Likewise.
72257         (sin_test_upward): Likewise.
72258         (tan_test_tonearest): Likewise.
72259         (tan_test_towardzero): Likewise.
72260         (tan_test_downward): Likewise.
72261         (tan_test_upward): Likewise.
72262         (main): Call the new functions.
72263         * sysdeps/i386/fpu/libm-test-ulps: Update.
72264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72266         [BZ #10135]
72267         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72268         small n, then large n, before computing and testing k+n.
72269         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72271         Likewise.
72272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72273         Likewise.
72274         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72275         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72276         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72277         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72278         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72279         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72280         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72281         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72282         * math/libm-test.inc (scalbn_test): Add more tests.
72283         (scalbln_test): Likewise.
72285         * manual/filesys.texi (mode_t): Describe constraints on size and
72286         signedness, not exact equivalence to a particular type.
72287         (ino_t): Likewise.
72288         (ino64_t): Likewise.
72289         (dev_t): Likewise.
72290         (nlink_t): Likewise.
72291         (blkcnt_t): Likewise.
72292         (blkcnt64_t): Likewise.
72293         * manual/llio.texi (off_t): Likewise.
72295         [BZ #3976]
72296         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72297         (__ieee754_exp): Save and restore rounding mode and use
72298         round-to-nearest for all computations.
72299         * math/libm-test.inc (exp_test_tonearest): New function.
72300         (exp_test_towardzero): Likewise.
72301         (exp_test_downward): Likewise.
72302         (exp_test_upward): Likewise.
72303         (main): Call the new functions.
72304         * sysdeps/i386/fpu/libm-test-ulps: Update.
72305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72307 2012-03-01  Chris Demetriou  <cgd@google.com>
72309         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72310         have predictable order.
72312 2012-03-01  David S. Miller  <davem@davemloft.net>
72314         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72316         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72317         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72318         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72319         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72321         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72322         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72323         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72325         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72326         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72327         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72328         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72329         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72333         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72334         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72335         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72337         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72338         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72339         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72340         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72341         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72344         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72345         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72346         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72347         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72348         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72350         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72351         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72352         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72353         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72354         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72355         * sysdeps/sparc/elf/configure: Regenerated.
72357 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72359         * configure.in (AS, LD): Require binutils 2.20 or later.
72360         * configure: Regenerated.
72361         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72362         as required minimum version.
72363         * INSTALL: Regenerated.
72365         [BZ #2541]
72366         [BZ #4108]
72367         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72368         before squaring exponent.
72369         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72370         bottom long double and 27 bits of top long double before squaring
72371         exponent.
72372         * math/libm-test.inc (erfc_test): Add more tests.
72373         * sysdeps/i386/fpu/libm-test-ulps: Update.
72374         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72377 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72379         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72380         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72381         containing bit-fields.
72382         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72383         * soft-fp/single.h (_FP_UNION_S): Likewise.
72384         * soft-fp/double.h (_FP_UNION_D): Likewise.
72386 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72388         [BZ #13786]
72389         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72390         not include ../strcmp.S.
72391         [USE_AS_STRNCASECMP_L]: Likewise.
72392         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72393         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72394         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72395         (__strncasecmp_l_ia32): Define as alias to
72396         __strncasecmp_l_nonascii.
72398         [BZ #5794]
72399         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72400         * sysdeps/i386/fpu/libm-test-ulps: Update.
72401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72403         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72406 2012-02-29  Jeff Law  <law@redhat.com>
72408         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72409         out of bounds read.
72411 2012-02-29  Marek Polacek  <polacek@redhat.com>
72413         [BZ #13706]
72414         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72415         * elf/Makefile: Add rules to run tst-unused-dep.out.
72417 2012-02-28  David S. Miller  <davem@davemloft.net>
72419         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72420         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72421         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72422         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72423         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72424         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72426 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72428         * math/libm-test.inc (llround_test): Move one test from
72429         lround_test.  Use TEST_f_L in moved test.
72430         (lround_test): Move misplaced test to llround_test.  Add testcase
72431         from bug 2561.
72433 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72435         * sysdeps/x86_64/fpu/e_expf.S: New file.
72436         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72438 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72440         [BZ #13637]
72441         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72442         of remain_len that may cause incomplete multi-byte character and
72443         false match.
72444         * posix/bug-regex33.c: New file.
72445         * posix/Makefile (tests): Add bug-regex33.
72447 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72449         * manual/macros.texi: New file.
72450         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72451         * manual/libc.texinfo: Include macros.texi.
72452         * manual/creatute.texi: Likewise.
72453         * manual/install.texi: Likewise.
72454         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72455         @glibcadj{} in references to the GNU C Library.
72456         * manual/charset.texi: Likewise.
72457         * manual/conf.texi: Likewise.
72458         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72459         when not using those macros.
72460         * manual/creature.texi: Likewise.
72461         * manual/crypt.texi: Likewise.
72462         * manual/errno.texi: Likewise.
72463         * manual/filesys.texi: Likewise.
72464         * manual/header.texi: Likewise.
72465         * manual/install.texi: Likewise.
72466         * manual/intro.texi: Likewise.
72467         * manual/io.texi: Likewise.
72468         * manual/job.texi: Likewise.
72469         * manual/lang.texi: Likewise.
72470         * manual/libc.texiinfo: Likewise.
72471         * manual/llio.texi: Likewise.
72472         * manual/locale.texi: Likewise.
72473         * manual/maint.texi: Likewise.
72474         * manual/math.texi: Likewise.
72475         * manual/memory.texi: Likewise.
72476         * manual/message.texi: Likewise.
72477         * manual/nss.texi: Likewise.
72478         * manual/pattern.texi: Likewise.
72479         * manual/process.texi: Likewise.
72480         * manual/resource.texi: Likewise.
72481         * manual/search.texi: Likewise.
72482         * manual/setjmp.texi: Likewise.
72483         * manual/signal.texi: Likewise.
72484         * manual/socket.texi: Likewise.
72485         * manual/startup.texi: Likewise.
72486         * manual/stdio.texi: Likewise.
72487         * manual/string.texi: Likewise.
72488         * manual/sysinfo.texi: Likewise.
72489         * manual/syslog.texi: Likewise.
72490         * manual/terminal.texi: Likewise.
72491         * manual/time.texi: Likewise.
72492         * manual/users.texi: Likewise.
72493         * INSTALL: Regenerated.
72494         * NOTES: Regenerated.
72495         * sysdeps/gnu/errlist.c: Regenerated.
72497 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72499         * include/dirent.h: Include <dirstream.h> before
72500         <dirent/dirent.h>.
72502 2012-02-28  David S. Miller  <davem@davemloft.net>
72504         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72505         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72506         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72507         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72509 2012-02-27  David S. Miller  <davem@davemloft.net>
72511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72513         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72514         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72517         frame pointer instead of stack pointer relative arg slot.
72518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72519         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72520         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72522 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72524         [BZ #3992]
72525         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72527 2012-02-27  David S. Miller  <davem@davemloft.net>
72529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72533         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72534         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72535         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72536         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72538 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72540         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72541         later.  Allow versions 5-9.
72542         * configure: Regenerated.
72543         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72544         required minimum version and 4.6 as recommended version.  Do not
72545         mention bugs in GCC 2.7 and 2.8.
72546         * INSTALL: Regenerated.
72548 2012-02-27  David S. Miller  <davem@davemloft.net>
72550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72554         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72555         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72556         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72557         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72559         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72560         manipulate bits before adding and subtracting TWO112[sx].
72561         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72563 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72565         [BZ #13775]
72566         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72567         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72568         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72569         being in POSIX, because they are in 1003.1-2008.
72571         * rt/tst-aio.c: Include <fcntl.h>.
72572         * rt/tst-aio7.c: Likewise.
72573         * rt/tst-aio64.c: Likewise.
72575         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72577 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72579         * manual/install.texi (--with-headers): Describe headers as
72580         interface headers, not private headers.
72581         (Specific advice for GNU/Linux systems): Describe use of headers
72582         from "make headers_install", not private headers from older
72583         kernels.
72584         * INSTALL: Regenerated.
72585         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72586         Change to 2.6.19.
72587         * sysdeps/unix/sysv/linux/configure: Regenerated.
72589         * manual/llio.texi (fclean): Remove documentation.
72591         * manual/Makefile (libc-texi-generated): New variable.  Include
72592         version.texi.
72593         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72594         $(libc-texi-generated), not duplicated list of files.
72595         (version.texi, stamp-version): New rules.
72596         (realclean): Remove $(libc-texi-generated), not individual files
72597         from that list.  Do not remove dir-add.texinfo.
72598         * manual/libc.texinfo: Comment out uses of edition numbers and
72599         references to printed manual.  Remove last-updated dates.
72600         (EDITION): Comment out.
72601         (ISBN): Likewise.
72602         (VERSION, UPDATED): Remove.
72603         (version.texi): Include.
72605 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72607         * sysdeps/posix/spawni.c: Include <signal.h>.
72608         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72609         * sysdeps/pthread/aio_fsync.c: Likewise.
72611 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72613         * conform/Makefile (tests): Run only when not cross-compiling and
72614         when fast-check is not defined.
72616         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72617         * conform/data/limits.h-data: Fixes for POSIX2008.
72618         * conform/run-conformtest.sh: Run all tests.
72619         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72620         headers.
72621         * include/bits/dlfcn.h: Likewise.
72622         * include/langinfo.h: Likewise.
72623         * include/monetary.h: Likewise.
72624         * include/sys/poll.h: Likewise.
72626         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72627         for __USE_GNU.
72628         * posix/spawn.h: Define __need_sigset_t.
72629         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72630         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72631         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72632         to get sigevent_t only.
72633         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72634         only for __USE_GNU.
72635         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72636         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72637         process_vm_writev only for __USE_GNU.
72638         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72640         * conform/Makefile: For now ignore errors from run-conformtest.
72641         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72642         POSIX to avoid namespace pollution.  Don't prepend headers.
72643         * conform/data/aio.h-data: Fixes for POSIX testing.
72644         * conform/data/fcntl.h-data: Likewise.
72645         * conform/data/glob.h-data: Likewise.
72646         * conform/data/grp.h-data: Likewise.
72647         * conform/data/pthread.h-data: Likewise.
72648         * conform/data/pwd.h-data: Likewise.
72649         * conform/data/signal.h-data: Likewise.
72650         * conform/data/spawn.h-data: Likewise.
72651         * conform/data/stdio.h-data: Likewise.
72652         * conform/data/stdlib.h-data: Likewise.
72653         * conform/data/stropts.h-data: Likewise.
72654         * conform/data/sys/mman.h-data: Likewise.
72655         * conform/data/sys/stat.h-data: Likewise.
72656         * conform/data/sys/types.h-data: Likewise.
72657         * conform/data/sys/wait.h-data: Likewise.
72658         * conform/data/time.h-data: Likewise.
72659         * conform/data/unistd.h-data: Likewise.
72660         * conform/data/utime.h-data: Likewise.
72662         * io/sys/stat.h: fchmod was always in POSIX.
72663         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72664         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72665         * rt/aio.h: Define __need_timespec before including <time.h>.
72666         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72667         struct.  Add forward declaration of pthread_attr_t and use it in
72668         sigevent.
72669         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72671         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72672         always remove CLK_TCK definition.
72674 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72676         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72678 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72680         * conform/run-conformtest.sh: New file.
72681         * conform/Makefile: Run run-conformtest for tests.
72682         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72683         support.
72685         * conform/data/uchar.h-data: New file.
72686         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72687         * conform/data/arpa/inet.h-data: Likewise.
72688         * conform/data/assert.h-data: Likewise.
72689         * conform/data/complex.h-data: Likewise.
72690         * conform/data/cpio.h-data: Likewise.
72691         * conform/data/ctype.h-data: Likewise.
72692         * conform/data/dirent.h-data: Likewise.
72693         * conform/data/dlfcn.h-data: Likewise.
72694         * conform/data/errno.h-data: Likewise.
72695         * conform/data/fcntl.h-data: Likewise.
72696         * conform/data/float.h-data: Likewise.
72697         * conform/data/fmtmsg.h-data: Likewise.
72698         * conform/data/fnmatch.h-data: Likewise.
72699         * conform/data/ftw.h-data: Likewise.
72700         * conform/data/glob.h-data: Likewise.
72701         * conform/data/grp.h-data: Likewise.
72702         * conform/data/iconv.h-data: Likewise.
72703         * conform/data/inttypes.h-data: Likewise.
72704         * conform/data/langinfo.h-data: Likewise.
72705         * conform/data/libgen.h-data: Likewise.
72706         * conform/data/limits.h-data: Likewise.
72707         * conform/data/locale.h-data: Likewise.
72708         * conform/data/math.h-data: Likewise.
72709         * conform/data/monetary.h-data: Likewise.
72710         * conform/data/mqueue.h-data: Likewise.
72711         * conform/data/ndbm.h-data: Likewise.
72712         * conform/data/net/if.h-data: Likewise.
72713         * conform/data/netdb.h-data: Likewise.
72714         * conform/data/netinet/in.h-data: Likewise.
72715         * conform/data/nl_types.h-data: Likewise.
72716         * conform/data/poll.h-data: Likewise.
72717         * conform/data/pthread.h-data: Likewise.
72718         * conform/data/pwd.h-data: Likewise.
72719         * conform/data/regex.h-data: Likewise.
72720         * conform/data/sched.h-data: Likewise.
72721         * conform/data/search.h-data: Likewise.
72722         * conform/data/semaphore.h-data: Likewise.
72723         * conform/data/setjmp.h-data: Likewise.
72724         * conform/data/signal.h-data: Likewise.
72725         * conform/data/spawn.h-data: Likewise.
72726         * conform/data/stdarg.h-data: Likewise.
72727         * conform/data/stdio.h-data: Likewise.
72728         * conform/data/stdlib.h-data: Likewise.
72729         * conform/data/string.h-data: Likewise.
72730         * conform/data/strings.h-data: Likewise.
72731         * conform/data/stropts.h-data: Likewise.
72732         * conform/data/sys/ipc.h-data: Likewise.
72733         * conform/data/sys/mman.h-data: Likewise.
72734         * conform/data/sys/msg.h-data: Likewise.
72735         * conform/data/sys/resource.h-data: Likewise.
72736         * conform/data/sys/select.h-data: Likewise.
72737         * conform/data/sys/sem.h-data: Likewise.
72738         * conform/data/sys/shm.h-data: Likewise.
72739         * conform/data/sys/socket.h-data: Likewise.
72740         * conform/data/sys/stat.h-data: Likewise.
72741         * conform/data/sys/statvfs.h-data: Likewise.
72742         * conform/data/sys/time.h-data: Likewise.
72743         * conform/data/sys/timeb.h-data: Likewise.
72744         * conform/data/sys/times.h-data: Likewise.
72745         * conform/data/sys/types.h-data: Likewise.
72746         * conform/data/sys/uio.h-data: Likewise.
72747         * conform/data/sys/un.h-data: Likewise.
72748         * conform/data/sys/utsname.h-data: Likewise.
72749         * conform/data/sys/wait.h-data: Likewise.
72750         * conform/data/syslog.h-data: Likewise.
72751         * conform/data/tar.h-data: Likewise.
72752         * conform/data/termios.h-data: Likewise.
72753         * conform/data/utime.h-data: Likewise.
72754         * conform/data/utmpx.h-data: Likewise.
72755         * conform/data/varargs.h-data: Likewise.
72756         * conform/data/wchar.h-data: Likewise.
72757         * conform/data/wctype.h-data: Likewise.
72758         * conform/data/wordexp.h-data: Likewise.
72760         * include/stropts.h: New file.
72761         * include/uchar.h: New file.
72762         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72763         * include/assert.h: Likewise.
72764         * include/ctype.h: Likewise.
72765         * include/dirent.h: Likewise.
72766         * include/dlfcn.h: Likewise.
72767         * include/fcntl.h: Likewise.
72768         * include/fnmatch.h: Likewise.
72769         * include/glob.h: Likewise.
72770         * include/grp.h: Likewise.
72771         * include/libio.h: Likewise.
72772         * include/locale.h: Likewise.
72773         * include/math.h: Likewise.
72774         * include/net/if.h: Likewise.
72775         * include/netdb.h: Likewise.
72776         * include/netinet/in.h: Likewise.
72777         * include/pthread.h: Likewise.
72778         * include/pwd.h: Likewise.
72779         * include/regex.h: Likewise.
72780         * include/sched.h: Likewise.
72781         * include/search.h: Likewise.
72782         * include/setjmp.h: Likewise.
72783         * include/signal.h: Likewise.
72784         * include/stdio.h: Likewise.
72785         * include/stdlib.h: Likewise.
72786         * include/string.h: Likewise.
72787         * include/sys/cdefs.h: Likewise.
72788         * include/sys/mman.h: Likewise.
72789         * include/sys/msg.h: Likewise.
72790         * include/sys/resource.h: Likewise.
72791         * include/sys/select.h: Likewise.
72792         * include/sys/socket.h: Likewise.
72793         * include/sys/stat.h: Likewise.
72794         * include/sys/statvfs.h: Likewise.
72795         * include/sys/time.h: Likewise.
72796         * include/sys/times.h: Likewise.
72797         * include/sys/uio.h: Likewise.
72798         * include/sys/utsname.h: Likewise.
72799         * include/sys/wait.h: Likewise.
72800         * include/termios.h: Likewise.
72801         * include/time.h: Likewise.
72802         * include/ulimit.h: Likewise.
72803         * include/unistd.h: Likewise.
72804         * include/utime.h: Likewise.
72805         * include/wchar.h: Likewise.
72806         * include/wctype.h: Likewise.
72807         * include/wordexp.h: Likewise.
72809         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72811         * time/time.h: TIME_UTC must be a macro.
72812         Make timespec_get available for ISO C11 only as well.
72814 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72816         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72817         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72819 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72821         * configure.in: Use -o not -a in test for unsupported multi-arch.
72823 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72825         * manual/texinfo.tex: Update to version 2012-01-19.16.
72827 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72829         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72831 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72833         [BZ #13738]
72834         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72835         * manual/fdl-1.3.texi: New file.
72836         * manual/fdl-1.1.texi: File removed.
72838         [BZ #13738]
72839         * manual/libc.texinfo (FDL_VERSION): New @set.
72840         Use it for mention of FDL in cover text.
72841         (Documentation License): Use it in @include file name.
72843 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72844             Roland McGrath  <roland@hack.frob.com>
72846         [BZ #5461]
72847         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72848         (not LONG_LONG_MAX and LONG_LONG_MIN.
72849         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72850         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72851         name.
72852         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72854 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72856         [BZ #2547]
72857         [BZ #11365]
72858         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72859         manipulate bits before adding and subtracting TWO23[sx].
72860         * math/libm-test.inc (nearbyint_test): Add more tests.
72862 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72864         [BZ #2548]
72865         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72866         bits before adding and subtracting TWO23[sx].
72867         * math/libm-test.inc (rint_test): Add more tests.
72868         (rint_test_tonearest): Likewise.
72869         (rint_test_towardzero): Likewise.
72870         (rint_test_downward): Likewise.
72871         (rint_test_upward: Likewise.
72873 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72875         [BZ #10110]
72876         * include/stdc-predef.h: New file.  Extracted from features.h.
72877         * include/features.h: Include stdc-predef.h.
72878         * Makefile (headers): Add stdc-predef.h.
72879         * CONFORMANCE (Compiler limitations): Update.
72881 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72883         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72885 2012-02-21  David S. Miller  <davem@davemloft.net>
72887         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72888         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72890 2012-02-20  David S. Miller  <davem@davemloft.net>
72892         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72893         using a normal save/restore sequence, rather than allocating a
72894         dummy stack frame just to store a frame pointer and restore.
72895         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72897 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72899         * manual/install.texi: Fix stray word in line-wrapped comment.
72901 2012-02-20  David S. Miller  <davem@davemloft.net>
72903         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72904         both binutils and gcc support GOTDATA.
72906         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72907         "rd %pc" in the PIC register setup sequences.
72909         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72910         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72911         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72912         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72913         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72914         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72915         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72918         (SYSCALL_ERROR_HANDLER): Likewise.
72919         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72920         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72921         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72922         (SYSCALL_ERROR_HANDLER): Likewise.
72924         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72925         (HAVE_GCC_GOTDATA): New.
72926         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72927         relocation support in both binutils and gcc.
72928         * sysdeps/sparc/elf/configure: Regenerate.
72930         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72931         * sysdeps/sparc/sparc32/elf/configure: Delete.
72932         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72933         * sysdeps/sparc/sparc64/elf/configure: Delete.
72934         * sysdeps/sparc/elf/configure.in: New file.
72935         * sysdeps/sparc/elf/configure: Generate.
72937         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72938         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72939         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72940         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72941         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72943 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72945         * manual/install.texi: Do not mention specific glibc version
72946         numbers.
72947         * manual/libc.texinfo (VERSION, UPDATED): Update.
72948         (@copying): Use @copyright{} and range of years.
72950 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72952         [BZ #13695]
72953         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72954         [crti.S not in sysdirs] (generated): Do not append.
72955         [crti.S not in sysdirs] (omit-deps): Likewise.
72956         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72957         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72958         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72959         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72960         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72961         Likewise.
72962         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72963         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72964         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72965         * csu/defs.awk: Remove file.
72966         * sysdeps/generic/initfini.c: Likewise.
72967         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72968         variable.
72969         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72970         Likewise.
72972 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72974         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72975         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72976         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72977         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72978         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72979         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72980         <bits/epoll.h>.
72981         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72982         (__EPOLL_PACKED): Define to empty if not defined by
72983         <bits/epoll.h>.
72984         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72986         bits/epoll.h.
72988 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72990         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72991         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72992         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72993         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72994         <bits/timerfd.h>.
72995         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72996         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72997         bits/timerfd.h.
72999 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73001         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73002         in C locale.
73003         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73004         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73005         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73008 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73010         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73011         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73013 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73015         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73016         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73017         defined.
73018         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73019         Likewise.
73020         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73021         entry for 2.16.
73023 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73025         * math/w_acos.c: Use non-signaling floating-point comparisons.
73026         * math/w_acosf.c: Likewise.
73027         * math/w_acosh.c: Likewise.
73028         * math/w_acoshf.c: Likewise.
73029         * math/w_acoshl.c: Likewise.
73030         * math/w_acosl.c: Likewise.
73031         * math/w_asin.c: Likewise.
73032         * math/w_asinf.c: Likewise.
73033         * math/w_asinl.c: Likewise.
73034         * math/w_atanh.c: Likewise.
73035         * math/w_atanhf.c: Likewise.
73036         * math/w_atanhl.c: Likewise.
73037         * math/w_exp2.c: Likewise.
73038         * math/w_exp2f.c: Likewise.
73039         * math/w_exp2l.c: Likewise.
73040         * math/w_j0.c: Likewise.
73041         * math/w_j0f.c: Likewise.
73042         * math/w_j0l.c: Likewise.
73043         * math/w_j1.c: Likewise.
73044         * math/w_j1f.c: Likewise.
73045         * math/w_j1l.c: Likewise.
73046         * math/w_jn.c: Likewise.
73047         * math/w_jnf.c: Likewise.
73048         * math/w_log.c: Likewise.
73049         * math/w_log10.c: Likewise.
73050         * math/w_log10f.c: Likewise.
73051         * math/w_log10l.c: Likewise.
73052         * math/w_log2.c: Likewise.
73053         * math/w_log2f.c: Likewise.
73054         * math/w_log2l.c: Likewise.
73055         * math/w_logf.c: Likewise.
73056         * math/w_logl.c: Likewise.
73057         * math/w_sqrt.c: Likewise.
73058         * math/w_sqrtf.c: Likewise.
73059         * math/w_sqrtl.c: Likewise.
73060         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73061         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73062         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73063         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73064         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73066 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73068         [BZ #9739]
73069         * manual/string.texi (strnlen): Use correct parameter name in
73070         equivalent expression.
73072 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73074         [BZ #11174]
73075         * manual/users.texi (seteuid): Consistently use neweuid for
73076         argument name.
73078 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73080         [BZ #13704]
73081         * manual/nss.texi (Services in the NSS configuration): Correct
73082         list of services in example configuration file.
73084 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73086         [BZ #11322]
73087         * manual/arith.texi: Remove statements about negative zero
73088         behaving identically to zero.
73090 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73092         [BZ #5993]
73093         * manual/install.texi: Do not document upgrading from libc5.
73095 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73097         [BZ #4596]
73098         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73100 2012-02-18  David S. Miller  <davem@davemloft.net>
73102         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73103         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73104         %o7 across the call.
73105         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73106         instead.
73107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73108         SETUP_PIC_REG_LEAF.
73109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73110         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73111         * sysdeps/sparc/crtn.S: Likewise.
73113 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73115         * aout/Makefile: Remove.
73117 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73119         [BZ #13058]
73120         * manual/examples/argp-ex1.c (main): Format definition in GNU
73121         style.
73122         * manual/examples/argp-ex2.c (main): Likewise.
73123         * manual/examples/argp-ex3.c (main): Likewise.
73124         * manual/examples/argp-ex4.c (main): Likewise.
73125         * manual/examples/longopt.c (main): Use new-style prototype
73126         definition.
73127         * manual/examples/strncat.c (main): Specify return type and use
73128         (void) for arguments.
73129         * manual/examples/subopt.c (main): Use char **argv argument.
73131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73133         [BZ #5077]
73134         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73135         rounding modes.
73137 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73139         [BZ #6907]
73140         * manual/string.texi (strchr): Change when strchrnul is
73141         recommended.
73143 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73145         [BZ #174]
73146         * manual/locale.texi (setlocale): Document LOCPATH.
73148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73150         [BZ #10210]
73151         * manual/process.texi (execle): Move @dots{} before last argument.
73153 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73155         [BZ #12047]
73156         * manual/charset.texi (Generic Charset Conversion): Fix typo
73157         (LC_TYPE -> LC_CTYPE).
73159 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73161         [BZ #5805]
73162         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73163         (scalbnf): Likewise.
73164         (scalbnl): Likewise.
73165         (scalbln): Likewise.
73166         (scalblnf): Likewise.
73167         (scalblnl): Likewise.
73168         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73169         (vwarnx): Likewise.
73170         (verr): Likewise.
73171         (verrx): Likewise.
73172         * manual/filesys.texi (telldir): Use braces around return type.
73173         * manual/llio.texi (mmap): Add space after comma.
73174         (mmap64): Likewise.
73175         * manual/math.texi (jn): Use @var{} on parameter names.
73176         (jnf): Likewise.
73177         (jnl): Likewise.
73178         (yn): Likewise.
73179         (ynf): Likewise.
73180         (ynl): Likewise.
73181         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73182         line.
73183         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73184         "...".
73185         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73186         (sched_get_priority_max): Likewise.
73187         * manual/signal.texi (sigvec): Add space after comma.
73188         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73189         names.
73190         (if_indextoname): Likewise.
73191         (if_freenameindex): Likewise.
73192         (sendto): Use ',' instead of '.' in prototype.
73193         * manual/startup.texi (syscall): Use @dots{} instead of literal
73194         "...".
73195         * manual/stdio.texi (__fpending): Separate initial words of
73196         paragraph from @deftypefun line.
73197         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73198         "...".
73199         (vsyslog): Use @var{} on parameter names.
73200         * manual/terminal.texi (stty): Use @var{} on parameter names.
73201         * manual/users.texi (getutmp): Use @var{} on parameter names.
73202         (getutmpx): Likewise.
73204 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73206         [BZ #6884]
73207         * manual/stdio.texi (fopen): Fix typos in description of
73208         ",ccs=STRING".
73210 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73212         [BZ #4026]
73213         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73214         get clock_id definition.
73216 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73218         [BZ #4822]
73219         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73220         (madvise): Cast every argument to void on its own.
73222 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73224         [BZ #9902]
73225         * manual/startup.texi (Exit Status): Fix typo.
73227 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73229         [BZ #10140]
73230         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73231         * manual/examples/argp-ex2.c: Likewise.
73232         * manual/examples/argp-ex3.c: Likewise.
73234 2012-02-16  Richard Henderson  <rth@redhat.com>
73236         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73237         * sysdeps/s390/s390-32/initfini.c: Remove.
73238         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73239         * sysdeps/s390/s390-64/initfini.c: Remove.
73241 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73243         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73244         compiler output for sysdeps/generic/initfini.c.
73245         * sysdeps/sh/elf/initfini.c: Remove file.
73247 2012-02-16  David S. Miller  <davem@davemloft.net>
73249         [BZ #11494]
73250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73252         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73253         * sysdeps/sparc/crti.S: New file.
73254         * sysdeps/sparc/crtn.S: New file.
73255         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73256         * sysdeps/sparc/sparc64/Makefile: Likewise.
73258 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73260         [BZ #3335]
73261         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73263 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73265         [BZ #4822]
73266         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73268         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73269         (write, read, close): Likewise.
73270         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73272 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73274         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73275         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73276         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73277         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73278         <bits/signalfd.h>.
73279         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73281         bits/signalfd.h.
73283 2012-02-14  Marek Polacek  <polacek@redhat.com>
73285         * sysdeps/x86_64/crti.S: New file.
73286         * sysdeps/x86_64/crtn.S: New file.
73287         * sysdeps/x86_64/elf/initfini.c: Remove file.
73289 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73291         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73292         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73293         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73294         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73295         <bits/inotify.h>.
73296         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73298         bits/inotify.h.
73300 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73302         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73303         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73304         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73305         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73306         <bits/eventfd.h>.
73307         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73309         bits/eventfd.h.
73311 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73313         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73314         __feraiseexcept instead of feraiseexcept.
73316         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73317         nanosleep invocations.
73318         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73319         strings, and add error checking for a nanosleep invocations.
73321 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73323         Replace FSF snail mail address with URLs, as per GNU coding standards.
73324         Most of the snail mail addresses were wrong anyway, and omitting
73325         them makes the source code easier to maintain.  Almost all of the
73326         changes are to license notices and to locale LC_IDENTIFICATION
73327         addresses, except for this one:
73328         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73329         not its snail mail address.
73331 2012-02-09  Richard Henderson  <rth@twiddle.net>
73333         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73334         of kernel-features.h.
73336         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73338 2012-02-08  Marek Polacek  <polacek@redhat.com>
73340         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73341         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73342         * sysdeps/gnu/_G_config.h: Likewise.
73343         * sysdeps/generic/_G_config.h: Likewise.
73345 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73347         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73348         tests.
73349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73351         * sysdeps/powerpc/powerpc32/crti.S: New file.
73352         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73353         * sysdeps/powerpc/powerpc64/crti.S: New file.
73354         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73356         * Makeconfig (have-initfini): Don't set.
73357         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73358         * configure.in (nopic_initfini): Don't substitute.
73359         * config.h.in (HAVE_INITFINI): Don't #undef.
73360         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73361         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73363 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73365         Support crti.S and crtn.S provided directly by architectures.
73366         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73367         [crti.S in sysdirs] (omit-deps): Likewise.
73368         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73369         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73370         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73371         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73372         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73373         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73374         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73375         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73376         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73377         compiler output for sysdeps/generic/initfini.c.
73378         * sysdeps/i386/elf/Makefile: Remove file.
73379         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73381 2012-02-07  Marek Polacek  <polacek@redhat.com>
73383         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73384         * sysdeps/gnu/_G_config.h: Likewise.
73385         * sysdeps/mach/hurd/_G_config.h: Likewise.
73387 2012-02-07  Marek Polacek  <polacek@redhat.com>
73389         * math/Makefile (tests): Add tst-CMPLX2.
73390         * math/tst-CMPLX2.c: New file.
73392 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73394         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73396         * math/libm-test.inc (jn_test): Add missing L suffix.
73398 2012-02-06  Marek Polacek  <polacek@redhat.com>
73400         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73401         * sysdeps/i386/fpu/e_powf.S: Likewise.
73402         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73403         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73404         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73405         * sysdeps/i386/fpu/e_pow.S: Likewise.
73406         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73407         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73408         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73409         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73410         * sysdeps/i386/fpu/e_log2.S: Likewise.
73411         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73412         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73413         * sysdeps/i386/fpu/e_powl.S: Likewise.
73414         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73415         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73416         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73417         * sysdeps/i386/fpu/e_logl.S: Likewise.
73418         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73419         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73420         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73421         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73422         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73423         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73424         * sysdeps/i386/fpu/e_log.S: Likewise.
73425         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73426         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73427         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73428         * sysdeps/i386/fpu/e_logf.S: Likewise.
73429         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73430         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73431         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73432         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73433         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73434         * sysdeps/i386/fpu/e_log10.S: Likewise.
73435         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73436         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73437         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73438         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73439         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73440         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73441         * sysdeps/i386/asm-syntax.h: Likewise.
73442         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73443         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73444         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73445         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73446         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73447         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73448         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73449         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73450         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73451         * sysdeps/powerpc/sysdep.h: Likewise.
73452         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73453         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73455 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73457         [BZ #411]
73458         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73460 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73462         * sysdeps/i386/sysdep.h: Include <features.h>.
73463         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73464         version.
73466 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73468         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73469         Define.
73470         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73471         LOAD_PIC_REG_STR.
73473 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73475         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73476         (SETUP_PIC_REG): Use GET_PC_THUNK.
73477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73478         macro.
73480 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73482         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73483         for non-PIC compilation.
73484         (SETUP_PIC_REG): Add .p2align directive.
73485         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73486         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73487         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73488         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73489         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73490         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73491         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73492         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73493         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73494         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73495         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73496         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73497         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73498         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73499         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73500         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73501         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73502         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73503         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73504         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73505         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73506         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73507         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73508         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73509         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73511         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73513         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73514         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73515         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73516         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73517         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73518         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73519         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73520         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73521         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73522         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73523         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73524         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73525         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73527 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73529         * math/tst-CMPLX.c: Include <stdio.h>.
73531 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73533         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73534         float.
73535         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73536         * sysdeps/sparc/bits/mathdef.h: Likewise.
73538 2012-01-31  Marek Polacek  <polacek@redhat.com>
73540         * libio/libio.h: Don't define _PARAMS.
73541         * locale/programs/config.h: Don't define PARAMS.
73542         * stdlib/strtol_l.c: Likewise.
73543         (__strtol_l): Remove PARAMS from the prototype.
73545 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73547         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73548         names.  Just use the correct names.  Remove unnecessary wrapper
73549         functions.
73550         * malloc/arena.c: Likewise.
73551         * malloc/hooks.c: Likewise.
73553         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73554         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73555         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73557 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73559         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73560         into tail calls.
73561         (update_get_addr): New function.
73562         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73563         GET_ADDR_MODULE parameter.
73565 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73567         * crypt/cert.c: Remove __STDC__ conditionals.
73568         * crypt/crypt-entry.c: Likewise.
73569         * crypt/crypt_util.c: Likewise.
73570         * libio/filedoalloc.c: Likewise.
73571         * libio/fileops.c: Likewise.
73572         * libio/genops.c: Likewise.
73573         * libio/iofclose.c: Likewise.
73574         * libio/iofdopen.c: Likewise.
73575         * libio/iofopen.c: Likewise.
73576         * libio/iofopen64.c: Likewise.
73577         * libio/iogetdelim.c: Likewise.
73578         * libio/iopopen.c: Likewise.
73579         * libio/obprintf.c: Likewise.
73580         * libio/oldfileops.c: Likewise.
73581         * libio/oldiofclose.c: Likewise.
73582         * libio/oldiofdopen.c: Likewise.
73583         * libio/oldiofopen.c: Likewise.
73584         * libio/oldiopopen.c: Likewise.
73585         * libio/wfiledoalloc.c: Likewise.
73586         * libio/wgenops.c: Likewise.
73587         * locale/programs/xmalloc.c: Likewise.
73588         * misc/syslog.c: Likewise.
73589         * stdio-common/xbug.c: Likewise.
73590         * string/memchr.c: Likewise.
73591         * string/memcmp.c: Likewise.
73592         * string/memrchr.c: Likewise.
73593         * string/rawmemchr.c: Likewise.
73594         * sysdeps/posix/getcwd.c: Likewise.
73595         * time/strftime_l.c: Likewise.
73597 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73599         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73600         * config.make.in (config-cflags-sse2avx): Define.
73601         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73602         Fix typo.
73604 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73606         * scripts/config.guess: Update from upstream config git repository.
73607         * scripts/config.sub: Likewise.
73609 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73611         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73612         (EM_NUM): Update.
73613         (R_TILEPRO_*, R_TILEGX_*): New macros.
73615         * scripts/firstversions.awk: Fix bug in version range handling.
73617         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73619         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73621         * include/sys/epoll.h: New file.
73622         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73623         libc_hidden_def.
73625 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73627         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73628         Avoid unnecessary __WORDSIZE == 64 test.
73629         (fmaxf): Use VEX format if possible.
73630         (fmax): Likewise.
73631         (fminf): Likewise.
73632         (fmin): Likewise.
73634         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73635         * math/math_private.h: Remove libc_fegetround* and
73636         libc_fesetround*.
73637         * sysdeps/i386/configure.in: Check for -msse2avx.
73638         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73639         also if SSE2AVX is defined.
73640         Remove libc_fegetround* and libc_fesetround*.
73641         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73642         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73643         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73644         of HAS_YMM_USABLE.
73645         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73646         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73647         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73648         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73649         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73651         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73653 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73655         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73656         size is not set.
73657         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73659 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73661         [BZ #13618]
73662         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73663         relocation.
73664         * Makeconfig (libm): Define.
73665         * elf/Makefile: Add rules to build and run tst-relsort1.
73666         * elf/tst-relsort1.c: New file.
73667         * elf/tst-relsort1mod1.c: New file.
73668         * elf/tst-relsort1mod2.c: New file.
73670 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73672         * math/s_ldexp.c: Remove __STDC__ conditionals.
73673         * math/s_ldexpf.c: Likewise.
73674         * math/s_ldexpl.c: Likewise.
73675         * math/s_nextafter.c: Likewise.
73676         * math/s_nexttowardf.c: Likewise.
73677         * math/s_significand.c: Likewise.
73678         * math/s_significandf.c: Likewise.
73679         * math/s_significandl.c: Likewise.
73680         * math/w_jnl.c: Likewise.
73681         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73682         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73683         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73684         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73685         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73687         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73688         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73689         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73690         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73691         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73692         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73693         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73696         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73698         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73700         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73701         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73702         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73703         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73704         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73705         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73706         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73707         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73708         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73709         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73710         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73711         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73712         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73713         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73714         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73715         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73716         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73717         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73718         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73719         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73720         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73721         * sysdeps/ieee754/k_standard.c: Likewise.
73722         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73723         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73724         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73725         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73726         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73727         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73728         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73729         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73730         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73731         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73732         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73733         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73734         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73735         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73736         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73737         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73738         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73739         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73740         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73741         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73742         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73743         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73744         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73745         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73746         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73747         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73748         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73751         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73752         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73753         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73754         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73755         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73756         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73757         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73758         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73759         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73760         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73761         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73762         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73763         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73764         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73765         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73766         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73771         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73772         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73773         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73774         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73775         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73776         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73777         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73779         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73780         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73781         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73782         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73783         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73784         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73785         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73786         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73787         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73788         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73789         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73793         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73794         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73795         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73796         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73797         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73798         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73801         * sysdeps/ieee754/s_matherr.c: Likewise.
73802         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73803         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73804         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73805         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73807 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73809         * crypt/md5.h: Remove __STDC__ conditionals.
73810         * libio/libioP.h: Likewise.
73811         * locale/programs/config.h: Likewise.
73812         * sysdeps/generic/sysdep.h: Likewise.
73813         * sysdeps/i386/asm-syntax.h: Likewise.
73814         * sysdeps/s390/asm-syntax.h: Likewise.
73815         * sysdeps/unix/sysdep.h: Likewise.
73816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73819 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73821         * libio/libio.h: Remove __STDC__ conditionals.
73822         * malloc/obstack.h: Likewise.
73823         * math/complex.h: Likewise.
73824         * math/math.h: Likewise.
73825         * sysdeps/generic/_G_config.h: Likewise.
73826         * sysdeps/gnu/_G_config.h: Likewise.
73827         * sysdeps/mach/hurd/_G_config.h: Likewise.
73828         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73829         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73830         * sysdeps/sparc/bits/mathdef.h: Likewise.
73832 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73834         [BZ #13583]
73835         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73836         Clean up HAS_* macros.
73837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73838         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73839         possible.
73840         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73841         HAS_AVX.
73842         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73843         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73844         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73845         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73846         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73848 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73850         * elf/tst-unique3.cc (gets): Remove declaration.
73851         * elf/tst-unique3lib.cc (gets): Likewise.
73852         * elf/tst-unique3lib2.cc (gets): Likewise.
73853         * elf/tst-unique4.cc (gets): Likewise.
73855 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73857         * include/stdio.h: Add C++ protection.  Add gets declarations and
73858         definitions.
73859         * debug/tst-chk1.c: Don't declare gets here.
73860         * stdio-common/tst-gets.c: Likewise.
73862 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73864         * posix/glob: Remove directory.
73866 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73868         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73870 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73872         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73873         of the non-standard EPFNOSUPPORT.
73875 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73877         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73878         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73879         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73881 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73883         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73885 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73887         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73888         transient errors.
73889         * nscd/grpcache.c (cache_addgr): Likewise.
73890         * nscd/hstcache.c (cache_addhst): Likewise.
73891         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73892         * nscd/pwdcache.c (cache_addpw): Likewise.
73893         * nscd/servicescache.c (cache_addserv): Likewise.
73895 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73897         * malloc/malloc.c: Various cleanups.
73898         * malloc/hooks.c: Likewise.
73900         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73901         * stdlib/bug-fmtmsg1.c: New file.
73903         * stdlib/fmtmsg.c (init): Add missing unlock.
73904         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73906 2012-01-12  Marek Polacek  <polacek@redhat.com>
73908         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73909         and _GNU_SOURCE.
73911 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73913         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73914         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73915         macro to ensure uniqueness of label name.
73916         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73917         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73919 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73921         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73923         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73924         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73925         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73928 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73930         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73932         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73933         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73934         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73936         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73938         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73939         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73940         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73943         * math/bits/math-finite.h: Add ldexp support.
73945 2012-01-10  Marek Polacek  <polacek@redhat.com>
73947         * locale/programs/localedef.h (show_archive_content): Add noreturn
73948         attribute.
73950 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73952         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73954 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73956         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73958         * io/Makefile (headers): Add bits/poll2.h.
73960 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73963         typo #include statement.
73965 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73967         * include/sys/cdefs.h: Define __attribute_alloc_size.
73968         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73969         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73970         * elf/pldd.c: Likewise.
73971         * iconv/iconv_charmap.c: Likewise.
73972         * iconv/iconvconfig.c: Likewise.
73973         * iconv/strtab.c: Likewise.
73974         * locale/programs/locale.c: Likewise.
73975         * locale/programs/localedef.h: Likewise.
73976         * locale/programs/simple-hash.c: Likewise.
73977         * nscd/nscd.h: Likewise.
73978         * nss/makedb.c: Likewise.
73979         * sysdeps/generic/ldconfig.h: Likewise.
73980         * locale/programs/localedef.c: Remove xmalloc prototype.
73981         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73983 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73985         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73986         appropriate.
73988 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73990         * math/Makefile (tests): Add tst-CMPLX.
73991         * math/tst-CMPLX.c: New file.
73993         * math/complex.h (CMPLXL): Fix typo.
73995         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73996         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73997         GLIBC_2.16.
73998         * debug/tst-chk1.c: Add poll and ppoll tests.
73999         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74000         * include/sys/poll.h: Add hidden proto for ppoll.
74001         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74002         * sysdeps/mach/hurd/ppoll.c: Likewise.
74003         * io/ppoll.c: Likewise.
74004         * debug/poll_chk.c: New file.
74005         * debug/ppoll_chk.c: New file.
74006         * include/bits/poll2.h: New file.
74007         * io/bits/poll2.h: New file.
74009         [BZ #1350]
74010         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74012         * configure.in: static is always set to yes.  Remove.
74013         * config.make.in: Don't set build-static.
74014         * Makeconfig: Remove use of build-static.
74015         * dlfcn/Makefile: Likewise.
74016         * elf/Makefile: Likewise.
74017         * math/Makefile: Likewise.
74018         * misc/Makefile: Likewise.
74019         * nptl/Makefile: Likewise.
74020         * sysdeps/mach/hurd/Makefile: Likewise.
74022         * configure.in: PWD_P is not used anymore.
74023         * config.make.in: Remove PWD_P entry.
74025         * configure.in: Remove last remnants of RANLIB.
74026         No need to check for signed size_t anymore.
74027         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74028         and IA-64.
74029         Remove __builtin_expect test because we require at least gcc 3.4.
74030         * aclocal.m4: Likewise.
74032         * wcsmbs/mbrtoc16.c: Implement using towc function.
74033         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74034         * wcsmbs/wcsmbsload.c: Likewise.
74035         * iconv/gconv_simple.c: Likewise.
74036         * iconv/gconv_int.h: Likewise.
74037         * iconv/gconv_builtin.h: Likewise.
74038         * iconv/iconv_prog.c: Remove CHAR16 handling.
74040         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74042         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74044         * configure.in: Remove --with-elf and --enable-bounded options.
74045         Dont set base_machine for ia64.  More non-ELF conditions removed.
74046         Remove testing and setting of leading underscore information.
74047         * config.make.in (build-bounded): Set to no.
74048         * config.h.in: Remove NO_UNDERSCORES entry.
74049         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74050         them.
74051         * csu/start.c: Remove !NO_UNDERSCORE code.
74052         * locale/localeinfo.h: Likewise.
74053         * sysdeps/generic/machine-gmon.h: Likewise.
74054         * sysdeps/generic/sysdep.h: Likewise.
74055         * sysdeps/i386/sysdep.h: Likewise.
74056         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74057         * sysdeps/mach/sysdep.h: Likewise.
74058         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74059         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74060         * sysdeps/sh/sysdep.h: Likewise.
74061         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74062         * sysdeps/unix/i386/sysdep.S: Likewise.
74063         * sysdeps/unix/sparc/start.c: Likewise.
74064         * sysdeps/unix/sparc/sysdep.S: Likewise.
74065         * sysdeps/unix/sparc/sysdep.h: Likewise.
74066         * sysdeps/unix/start.c: Likewise.
74067         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74068         * sysdeps/x86_64/sysdep.h: Likewise.
74070 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74072         [BZ #13553]
74073         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74074         for non-gcc.
74075         * argp/argp-fmtstream.h: Use const instead __const.
74076         * argp/argp.h: Likewise.
74077         * assert/assert.h: Likewise.
74078         * bits/fenv.h: Likewise.
74079         * bits/sched.h: Likewise.
74080         * bits/sigset.h: Likewise.
74081         * bits/sigthread.h: Likewise.
74082         * catgets/nl_types.h: Likewise.
74083         * conform/data/pthread.h-data: Likewise.
74084         * crypt/crypt-private.h: Likewise.
74085         * crypt/crypt.h: Likewise.
74086         * crypt/crypt_util.c: Likewise.
74087         * ctype/ctype.h: Likewise.
74088         * debug/execinfo.h: Likewise.
74089         * debug/mbsnrtowcs_chk.c: Likewise.
74090         * debug/mbsrtowcs_chk.c: Likewise.
74091         * debug/wcsnrtombs_chk.c: Likewise.
74092         * debug/wcsrtombs_chk.c: Likewise.
74093         * debug/wcstombs_chk.c: Likewise.
74094         * dirent/dirent.h: Likewise.
74095         * dlfcn/dlfcn.h: Likewise.
74096         * elf/neededtest4.c: Likewise.
74097         * grp/grp.h: Likewise.
74098         * gshadow/gshadow.h: Likewise.
74099         * iconv/gconv.h: Likewise.
74100         * iconv/gconv_int.h: Likewise.
74101         * iconv/gconv_simple.c: Likewise.
74102         * iconv/iconv.h: Likewise.
74103         * iconv/loop.c: Likewise.
74104         * iconv/skeleton.c: Likewise.
74105         * include/aio.h: Likewise.
74106         * include/aliases.h: Likewise.
74107         * include/argz.h: Likewise.
74108         * include/arpa/inet.h: Likewise.
74109         * include/assert.h: Likewise.
74110         * include/dirent.h: Likewise.
74111         * include/dlfcn.h: Likewise.
74112         * include/execinfo.h: Likewise.
74113         * include/fcntl.h: Likewise.
74114         * include/fenv.h: Likewise.
74115         * include/glob.h: Likewise.
74116         * include/grp.h: Likewise.
74117         * include/libintl.h: Likewise.
74118         * include/mntent.h: Likewise.
74119         * include/netdb.h: Likewise.
74120         * include/pwd.h: Likewise.
74121         * include/rpc/netdb.h: Likewise.
74122         * include/sched.h: Likewise.
74123         * include/search.h: Likewise.
74124         * include/shadow.h: Likewise.
74125         * include/signal.h: Likewise.
74126         * include/stdio.h: Likewise.
74127         * include/stdlib.h: Likewise.
74128         * include/string.h: Likewise.
74129         * include/sys/socket.h: Likewise.
74130         * include/sys/stat.h: Likewise.
74131         * include/sys/statfs.h: Likewise.
74132         * include/sys/statvfs.h: Likewise.
74133         * include/sys/syslog.h: Likewise.
74134         * include/sys/time.h: Likewise.
74135         * include/sys/uio.h: Likewise.
74136         * include/time.h: Likewise.
74137         * include/unistd.h: Likewise.
74138         * include/utmp.h: Likewise.
74139         * include/wchar.h: Likewise.
74140         * include/wctype.h: Likewise.
74141         * inet/aliases.h: Likewise.
74142         * inet/arpa/inet.h: Likewise.
74143         * inet/netinet/ether.h: Likewise.
74144         * inet/netinet/in.h: Likewise.
74145         * intl/libintl.h: Likewise.
74146         * io/bits/fcntl2.h: Likewise.
74147         * io/fcntl.h: Likewise.
74148         * io/ftw.h: Likewise.
74149         * io/sys/poll.h: Likewise.
74150         * io/sys/stat.h: Likewise.
74151         * io/sys/statfs.h: Likewise.
74152         * io/sys/statvfs.h: Likewise.
74153         * io/utime.h: Likewise.
74154         * libio/bits/stdio.h: Likewise.
74155         * libio/bits/stdio2.h: Likewise.
74156         * libio/libio.h: Likewise.
74157         * libio/libioP.h: Likewise.
74158         * libio/stdio.h: Likewise.
74159         * locale/lc-ctype.c: Likewise.
74160         * locale/locale.h: Likewise.
74161         * login/utmp.h: Likewise.
74162         * malloc/arena.c: Likewise.
74163         * malloc/malloc.c: Likewise.
74164         * malloc/malloc.h: Likewise.
74165         * malloc/mcheck.c: Likewise.
74166         * malloc/mtrace.c: Likewise.
74167         * math/bits/mathcalls.h: Likewise.
74168         * math/fenv.h: Likewise.
74169         * math/math_private.h: Likewise.
74170         * misc/bits/error.h: Likewise.
74171         * misc/bits/syslog.h: Likewise.
74172         * misc/err.h: Likewise.
74173         * misc/error.h: Likewise.
74174         * misc/fstab.h: Likewise.
74175         * misc/mntent.h: Likewise.
74176         * misc/regexp.h: Likewise.
74177         * misc/search.h: Likewise.
74178         * misc/sgtty.h: Likewise.
74179         * misc/sys/mman.h: Likewise.
74180         * misc/sys/syslog.h: Likewise.
74181         * misc/sys/uio.h: Likewise.
74182         * misc/sys/xattr.h: Likewise.
74183         * misc/ttyent.h: Likewise.
74184         * nis/rpcsvc/ypclnt.h: Likewise.
74185         * nss/nss.h: Likewise.
74186         * posix/bits/unistd.h: Likewise.
74187         * posix/fnmatch.h: Likewise.
74188         * posix/glob.h: Likewise.
74189         * posix/sched.h: Likewise.
74190         * posix/spawn.h: Likewise.
74191         * posix/sys/wait.h: Likewise.
74192         * posix/unistd.h: Likewise.
74193         * posix/wordexp.h: Likewise.
74194         * pwd/pwd.h: Likewise.
74195         * resolv/netdb.h: Likewise.
74196         * resource/sys/resource.h: Likewise.
74197         * rt/aio.h: Likewise.
74198         * rt/bits/mqueue2.h: Likewise.
74199         * rt/mqueue.h: Likewise.
74200         * shadow/shadow.h: Likewise.
74201         * signal/signal.h: Likewise.
74202         * socket/send.c: Likewise.
74203         * socket/sendto.c: Likewise.
74204         * socket/sys/socket.h: Likewise.
74205         * stdio-common/printf.h: Likewise.
74206         * stdlib/bits/stdlib.h: Likewise.
74207         * stdlib/fmtmsg.h: Likewise.
74208         * stdlib/monetary.h: Likewise.
74209         * stdlib/stdlib.h: Likewise.
74210         * stdlib/ucontext.h: Likewise.
74211         * streams/stropts.h: Likewise.
74212         * string/argz.h: Likewise.
74213         * string/bits/string2.h: Likewise.
74214         * string/string.h: Likewise.
74215         * string/strings.h: Likewise.
74216         * sunrpc/rpc/auth.h: Likewise.
74217         * sunrpc/rpc/auth_des.h: Likewise.
74218         * sunrpc/rpc/clnt.h: Likewise.
74219         * sunrpc/rpc/netdb.h: Likewise.
74220         * sunrpc/rpc/pmap_clnt.h: Likewise.
74221         * sunrpc/rpc/xdr.h: Likewise.
74222         * sysdeps/generic/inttypes.h: Likewise.
74223         * sysdeps/generic/net/if.h: Likewise.
74224         * sysdeps/generic/sys/swap.h: Likewise.
74225         * sysdeps/gnu/net/if.h: Likewise.
74226         * sysdeps/gnu/utmpx.h: Likewise.
74227         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74228         * sysdeps/i386/i486/bits/string.h: Likewise.
74229         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74230         * sysdeps/s390/bits/string.h: Likewise.
74231         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74232         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74233         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74234         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74235         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74236         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74237         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74238         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74239         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74240         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74241         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74242         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74243         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74244         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74245         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74246         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74247         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74248         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74249         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74250         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74251         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74252         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74253         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74254         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74255         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74256         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74257         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74258         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74259         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74260         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74261         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74262         * sysvipc/sys/ipc.h: Likewise.
74263         * sysvipc/sys/msg.h: Likewise.
74264         * sysvipc/sys/sem.h: Likewise.
74265         * sysvipc/sys/shm.h: Likewise.
74266         * termios/termios.h: Likewise.
74267         * time/sys/time.h: Likewise.
74268         * time/time.h: Likewise.
74269         * wcsmbs/bits/wchar2.h: Likewise.
74270         * wcsmbs/uchar.h: Likewise.
74271         * wcsmbs/wchar.h: Likewise.
74272         * wctype/wctype.h: Likewise.
74274         [BZ #13551]
74275         * Makeconfig: Remove all but ELF support including AIX support.
74276         * Makerules: Likewise.
74277         * config.h.in: Likewise.
74278         * config.make.in: Likewise.
74279         * configure: Likewise.
74280         * configure.in: Likewise.
74281         * csu/Makefile: Likewise.
74282         * csu/version.c: Likewise.
74283         * debug/Makefile: Likewise.
74284         * dlfcn/Makefile: Likewise.
74285         * elf/Makefile: Likewise.
74286         * extra-lib.mk: Likewise.
74287         * iconv/Makefile: Likewise.
74288         * include/libc-symbols.h: Likewise.
74289         * include/shlib-compat.h: Likewise.
74290         * resolv/Makefile: Likewise.
74291         * resolv/res_libc.c: Likewise.
74292         * rt/Makefile: Likewise.
74293         * sysdeps/i386/asm-syntax.h: Likewise.
74294         * sysdeps/i386/sysdep.h: Likewise.
74295         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74296         * sysdeps/mach/sysdep.h: Likewise.
74297         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74298         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74299         * sysdeps/s390/asm-syntax.h: Likewise.
74300         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74301         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74302         * sysdeps/sh/sysdep.h: Likewise.
74303         * sysdeps/unix/sparc/sysdep.h: Likewise.
74304         * sysdeps/wordsize-32/divdi3.c: Likewise.
74305         * sysdeps/x86_64/sysdep.h: Likewise.
74307         * argp/Versions: Remove _argp_unlock_xxx.
74309         [BZ #13559]
74310         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74311         * abilist/libBrokenLocale.abilist: Likewise.
74312         * abilist/libanl.abilist: Likewise.
74313         * abilist/libc.abilist: Likewise.
74314         * abilist/libcrypt.abilist: Likewise.
74315         * abilist/libdl.abilist: Likewise.
74316         * abilist/libm.abilist: Likewise.
74317         * abilist/libnsl.abilist: Likewise.
74318         * abilist/libpthread.abilist: Likewise.
74319         * abilist/libresolv.abilist: Likewise.
74320         * abilist/librt.abilist: Likewise.
74321         * abilist/libthread_db.abilist: Likewise.
74322         * abilist/libutil.abilist: Likewise.
74323         * abilist/libnss_db.abilist: New file.
74325         * scripts/abilist.awk: Add support for indirect functions.
74327         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74329         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74331         * shlib-versions: Remove entries for ports architectures.
74333         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74334         files in ports.
74335         * elf/stackguard-macros.h: Remove support for IA-64.
74336         * elf/tst-auditmod1.c: Likewise.
74337         * sysdeps/generic/ldsodefs.h: Likewise.
74339         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74340         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74341         configure files.
74343         [BZ #13552]
74344         * configure.in: Remove --enable-omitfp support.
74345         * FAQ.in: Adjust.
74346         * config.make.in: Likewise.
74347         * Makeconfig: Likewise.
74348         * manual/install.texi: Likewise.
74350         In case anyone cares, the IA-64 architecture could move to ports.
74351         * sysdeps/ia64/*: Removed.
74352         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74353         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74355         [BZ #13555]
74356         * configure.in: Remove entries for unsupported architectures.
74358         [BZ #13533]
74359         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74360         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74361         routines.
74362         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74363         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74364         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74365         fall back to using wcrtomb.
74366         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74367         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74368         renaming.
74369         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74370         * wcsmbs/tst-c16c32-1.c: New file.
74372         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74373         local variable.
74375         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74377         * elf/tst-unique3.cc: Add explicit declaration of gets.
74378         * elf/tst-unique3lib.cc: Likewise.
74379         * elf/tst-unique3lib2.cc: Likewise.
74380         * elf/tst-unique4.cc: Likewise.
74382         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74384 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74386         [BZ #13566]
74387         * assert/assert.h (static_assert): Don't define for C++.
74388         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74389         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74391 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74393         * iconv/loop.c (single loop): Fix assertion in storing of
74394         remaining bytes.
74396         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74398 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74400         * posix/getconf.c: Update copyright year.
74401         * nss/getent.c: Likewise.
74402         * nss/makedb.c: Likewise.
74403         * iconv/iconvconfig.c: Likewise.
74404         * iconv/iconv_prog.c: Likewise.
74405         * elf/ldconfig.c: Likewise.
74406         * elf/pldd.c: Likewise.
74407         * elf/sotruss.ksh: Likewise.
74408         * catgets/gencat.c: Likewise.
74409         * csu/version.c: Likewise.
74410         * elf/ldd.bash.in: Likewise.
74411         * elf/sprof.c (print_version): Likewise.
74412         * locale/programs/locale.c: Likewise.
74413         * locale/programs/localedef.c: Likewise.
74414         * login/programs/pt_chown.c: Likewise.
74415         * nscd/nscd.c (print_version): Likewise.
74416         * debug/xtrace.sh: Likewise.
74417         * malloc/memusage.sh: Likewise.
74418         * malloc/mtrace.pl: Likewise.
74419         * debug/catchsegv.sh: Likewise.
74421 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74423         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74424         pure attribute.
74426 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74428         [BZ #13533]
74429         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74430         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74431         transformations.
74432         * iconv/gconv_int.h: Likewise.
74433         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74434         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74435         from libc for GLIBC_2.16.
74436         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74437         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74438         * wcsmbs/uchar.h: Really define mbstate_t.
74439         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74440         * wcsmbs/c16rtomb.c: New file.
74441         * wcsmbs/mbrtoc16.c: New file.
74442         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74443         for C/POSIX locale.
74444         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74445         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74447         * wcsmbs/wchar.h: Add missing __restrict.
74449 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74451         [BZ #13532]
74452         * time/Makefile (routines): Add timespec_get.
74453         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74454         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74455         timespec for ISO C11.
74456         * time/timespec_get.c: New file.
74457         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74458         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74460         [BZ #13531]
74461         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74462         * stdlib/stdlib.h: Declare aligned_alloc.
74463         * Versions.def: Add GLIBC_2.16 for libc.
74464         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74466         [BZ 13527]
74467         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74468         ISO C11.
74470         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74471         code.
74473         [BZ #13528]
74474         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74476         [BZ #13529]
74477         * assert/assert.h (static_assert): Define.
74479         * version.h: Update for 2.16 development version.
74481         [BZ #13526]
74482         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74483         _ISOC11_SOURCE.
74485         * version.h (RELEASE): Bump for 2.15 release.
74486         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74488         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74489         Patch by Marek Polacek <mpolacek@redhat.com>.
74491         * bits/byteswap.h: Protect long long constants with __extension__.
74492         * sysdeps/i386/bits/byteswap.h: Likewise.
74493         * sysdeps/ia64/bits/byteswap.h: Likewise.
74494         * sysdeps/s390/bits/byteswap.h: Likewise.
74495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74497 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74499         [BZ #13540]
74500         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74501         destination buffer.
74502         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74504 2011-12-23  Marek Polacek  <polacek@redhat.com>
74506         * elf/dl-addr.c (determine_info): Add inline keyword.
74507         * elf/tst-auditmod4b.c (check_avx): Likewise.
74508         * elf/tst-auditmod6b.c (check_avx): Likewise.
74509         * elf/tst-auditmod6c.c (check_avx): Likewise.
74510         * elf/tst-auditmod7b.c (check_avx): Likewise.
74512 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74514         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74515         !__SSE_MATH__.
74517 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74519         [BZ #13540]
74520         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74521         processing for last bytes.
74523 2011-08-06  Bruno Haible  <bruno@clisp.org>
74525         [BZ #13061]
74526         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74527         U+0385, not to U+1FEE.
74529         [BZ #13062]
74530         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74531         entry for U+00A5 U+0301.
74533 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74535         [BZ #13166]
74536         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74537         buffer for the output is too small.
74539         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74540         optimization.
74542         [BZ #13185]
74543         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74544         SSE flags if possible.
74546 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74548         [BZ #13540]
74549         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74550         processing for last bytes.
74552 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74554         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74555         (syscall-list-default-options, syscall-list-default-condition)
74556         (syscall-list-includes): Define.
74557         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74558         list of ABIs and options and #if conditions for each ABI.  Do not
74559         handle common syscalls between ABIs specially.
74560         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74561         Remove.
74562         (syscall-list-variants, syscall-list-32bit-options)
74563         (syscall-list-32bit-condition, syscall-list-64bit-options)
74564         (syscall-list-64bit-condition): Define.
74565         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74566         (syscall-list-variants, syscall-list-32bit-options)
74567         (syscall-list-32bit-condition, syscall-list-64bit-options)
74568         (syscall-list-64bit-condition): Define.
74569         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74570         Remove.
74571         (syscall-list-variants, syscall-list-32bit-options)
74572         (syscall-list-32bit-condition, syscall-list-64bit-options)
74573         (syscall-list-64bit-condition): Define.
74574         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74575         Remove.
74576         (syscall-list-variants, syscall-list-32bit-options)
74577         (syscall-list-32bit-condition, syscall-list-64bit-options)
74578         (syscall-list-64bit-condition): Define.
74580 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74582         * locale/iso-639.def: Add brx entry.
74584         [BZ #13328]
74585         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74586         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74588         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74589         __feraiseexcept_renamed.
74591 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74593         [BZ #13538]
74594         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74595         EPOLLET with unsigned values.
74596         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74597         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74599         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74600         to large cancellation.
74601         * math/s_cacoshf.c: Likewise.
74602         * math/s_cacoshl.c: Likewise.
74604 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74606         [BZ #13305]
74607         [BZ #12786]
74608         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74609         * math/s_cacoshf.c: Likewise.
74610         * math/s_cacoshl.c: Likewise.
74612 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74614         [BZ #13439]
74615         * iconv/gconv.h: Define __GCONV_SWAP.
74616         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74617         * iconvdata/utf-16.c: Likewise.
74618         * iconvdata/utf-32.c: Likewise.
74620 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74622         [BZ #13524]
74623         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74624         numerator after shifting it by one limb.
74626 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74628         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74629         under [__USE_EXTERN_INLINES].
74631 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74633         [BZ #13446]
74634         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74636 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74638         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74639         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74640         optimized code.
74641         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74642         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74643         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74644         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74645         for strncasecmp/strncasecmp_l compilation.
74646         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74647         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74649 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74651         [BZ #13484]
74652         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74653         of __asm__.
74655 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74657         [BZ #13506]
74658         * time/tzfile.c (__tzfile_read): Check values from file header.
74660 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74662         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74663         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74664         * powerpc/powerpc32/dl-start.S: Likewise.
74665         * powerpc/powerpc32/elf/start.S: Likewise.
74666         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74667         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74668         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74669         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74670         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74671         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74672         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74673         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74674         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74675         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74676         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74677         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74678         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74679         * powerpc/powerpc32/memset.S: Likewise.
74680         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74681         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74682         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74683         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74684         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74685         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74686         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74687         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74688         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74689         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74690         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74691         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74692         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74694 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74696         * math/libm-test.inc: Added more nearbyint tests.
74697         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74698         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74699         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74700         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74702 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74704         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74705         FD_CLOEXEC.
74707 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74709         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74710         Add wcscpy-ssse3 wcscpy-c.
74711         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74712         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74713         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74714         * sysdeps/x86_64/wcschr.S: New file.
74715         * sysdeps/x86_64/wcsrchr.S: New file.
74716         * string/test-strcmp.c: Remove checking of wcscmp function for
74717         wrong alignments.
74718         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74719         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74720         wcsrchr-sse2 wcsrchr-c.
74721         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74722         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74723         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74724         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74725         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74726         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74727         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74728         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74729         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74730         * wcsmbc/wcschr.c (WCSCHR): New macro.
74732 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74734         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74735         * wcsmbs/test-wcsrchr.c: New file.
74736         * string/test-strrchr.c: Add wcsrchr support.
74737         (WIDE): New macro.
74738         * wcsmbs/test-wcscpy.c: New file.
74739         * string/test-strcpy.c: Add wcscpy support.
74740         (WIDE): New macro.
74742 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74744         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74745         the inner loop.
74747 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74749         [BZ #13472]
74750         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74752 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74754         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74755         Minor optimizations.
74757         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74758         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74759         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74761 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74763         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74764         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74765         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74766         for gcc to avoid warnings.
74767         * inet/Makefile (tests): Add tst-checks.
74768         * inet/tst-checks.c: New file.
74770         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74771         warning.
74773         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74774         __wmemcmp_sse2.
74776         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74777         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74779         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74781 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74783         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74784         problem.
74786         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74788 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74790         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74791         conditional on GCC version.
74792         (__arch_compare_and_exchange_val_8_acq)
74793         (__arch_compare_and_exchange_val_16_acq)
74794         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74795         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74796         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74798 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74800         * sysdeps/sh/backtrace.c: New file.
74802 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74804         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74805         parenthesis.
74807 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74809         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74810         falling back to utime.
74812 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74814         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74815         expectations for float.
74817 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74819         * locale/weight.h (findidx): Add parameter len.
74820         * locale/weightwc.h (findidx): Likewise.
74821         * posix/fnmatch_loop.c (FCT): Adjust caller.
74822         * posix/regcomp.c (build_equiv_class): Likewise.
74823         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74824         * posix/regexec.c (check_node_accept_bytes): Likewise.
74825         * string/strcoll_l.c (STRCOLL): Likewise.
74826         * string/strxfrm_l.c (STRXFRM): Likewise.
74828 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74830         * Makefile.in: Remove CVSOPT handling.
74831         * configure.in: Remove use of AC_REVISION.
74832         * iconvdata/Makefile (distribute): No need to filter out CVS.
74833         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74834         handling.
74836 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74838         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74839         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74840         [USE_AS_STRNCASECMP_L]: Likewise.
74841         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74842         NO_TLS_DIRECT_SEG_REFS.
74843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74844         Fix argument offsets for non-PIC.
74845         [USE_AS_STRNCASECMP_L]: Likewise.
74846         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74847         NO_TLS_DIRECT_SEG_REFS.
74849 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74851         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74852         O_CLOEXEC.
74853         * locale/loadlocale.c (_nl_load_locale): Likewise.
74855 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74857         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74858         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74859         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74860         (SYSCALL_GETTIME): Set errno on error.
74862         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74863         count references to noai6ai_cached.
74865 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74867         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74869         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74870         FD_CLOEXEC for /proc/self/maps.
74872         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74873         FD_CLOEXEC for /proc/meminfo.
74875         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74876         gai.conf.
74878         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74879         FD_CLOEXEC for given file.
74881         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74883         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74884         FD_CLOEXEC for /etc/hosts.
74885         (_gethtent): Likewise.
74887         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74889         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74890         cancellation and set FD_CLOEXEC for /etc/netgroup.
74892         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74893         reading /etc/publickey.
74895         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74896         allow cancellation when reading /etc/group.
74898         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74899         cancellation.
74900         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74902         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74903         when using data file.
74905         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74907         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74908         (write_nis_obj): Use "c" and "e" in fopen.
74910         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74912         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74914         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74916         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74918         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74919         locale.alias.
74921         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74923         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74925         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74927         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74928         file parsing and set FD_CLOEXEC.
74930 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74932         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74934 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74936         * malloc/arena.c (arena_get2): Don't call reused_arena when
74937         _int_new_arena failed.
74939 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74941         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74942         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74943         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74944         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74945         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74946         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74947         to compile strcasecmp and strncasecmp.
74948         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74949         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74953 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74955         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74956         locale-defines.sym to gen-as-const-headers.
74957         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74958         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74959         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74960         to compile strcasecmp and strncasecmp.
74961         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74962         strcasecmp_l and strncasecmp_l.
74963         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74964         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74965         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74966         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74967         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74968         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74969         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74970         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74971         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74972         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74973         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74975 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74977         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74978         result of SYSDEP_GETTIME_CPU to retval.
74979         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74980         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74982         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74983         variable.
74985         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74986         mantissa words.
74987         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74989         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74990         from unused variable.
74992         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74993         DWARF definitions.
74994         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74995         for assembling.
74997         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74998         over namespaces.
75000         * sunrpc/rpc_prot.c (rejected): Fix case value.
75002         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75003         unsigned long long int to avoid warnings in shift.
75005         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75006         of use of trans.
75007         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75008         variable tmp.
75010         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75011         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75012         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75014         * nis/nis_table.c (nis_list): Use variable of correct type for
75015         result of __follow_path call.
75017 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75019         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75020         of math functions ceil, trunc, floor, round, and sqrt, when
75021         avaliable on the platform.
75022         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75023         name clash.
75024         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75025         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75026         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75028 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75030         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75031         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75033 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75035         * include/unistd.h: Fix __readlink return type.
75036         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75038 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75040         * stdlib/ucontext.h: Undo last change for makecontext.
75042 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75044         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75046         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75047         * setjmp/setjmp.h: Mark functions as non-leaf.
75048         * setjmp/bits/setjmp2.h: Likewise.
75049         * stdlib/ucontext.h: Likewise.
75051 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75053         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75054         (reused_arena): Don't check arena limit.
75055         (arena_get2): Atomically check arena limit.
75057 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75059         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75060         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75063         instructions.
75065 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75067         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75068         handler when locking.
75070         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75071         Fix size of allocated buffer.
75073 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75075         [BZ #10103]
75076         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75077         declarations for long double functions.
75078         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75080         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75082 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75084         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75085         installed.
75087         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75088         is disabled.
75090 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75092         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75094 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75096         * include/alloca.h (stackinfo_alloca_round): Define.
75097         (extend_alloca): Use it.
75098         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75099         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75100         here.
75102         * scripts/check-local-headers.sh: Ignore libaudit.h.
75104         * nscd/Makefile (extra-objs): Make recursively expanded.
75106 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75108         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75109         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75111         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75112         * posix/tst-rfc3484-2.c: Likewise.
75113         * posix/tst-rfc3484-3.c: Likewise.
75115         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75116         process_vm_writev.
75117         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75118         process_vm_writev.
75119         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75120         process_vm_writev from libc using GLIBC_2.15 version.
75122         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75124 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75126         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75127         stack usage.
75129 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75131         [BZ #13367]
75132         * nss/getent.c (initgroups_keys): Show error message in case no group
75133         names are given.
75135         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75136         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75137         __bump_nl_timestamp.
75138         * nscd/connections (nscd_init): When host database is served open
75139         netlink socket and request notification about configuration changes.
75140         (main_loop_poll): Track netlink file descriptor and bump timestamp
75141         in case data becomes available.
75142         (main_loop_epoll): Likewise.
75143         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75144         (database_pers_head): Add extra_data fileds.
75145         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75146         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75147         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75148         Adjust caller.
75149         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75150         in6ai data, call __free_in6ai.
75151         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75152         Add -DHAVE_NETLINK.
75153         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75154         interface information.  Reuse previous data if netlink timestamp
75155         is not changed.
75156         (__bump_nl_timestamp): New function.
75157         (__free_in6ai): New function.
75159 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75161         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75162         close_not_cancel_no_status here.
75163         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75165 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75167         [BZ #13276]
75168         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75169         return value.
75171         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75172         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75173         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75175 2011-07-03  Andreas Jaeger  <aj@suse.de>
75177         [BZ #10709]
75178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75179         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75180         * math/libm-test.inc (sin_test): Add test case.
75182 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75184         [BZ #13337]
75185         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75186         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75188         * elf/chroot_canon.c (chroot_canon): Cleanups.
75190         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75192         [BZ #13335]
75193         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75194         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75196         * string/test-strchr.c: Make usable for strchrnul testing.
75197         * string/test-strchrnul.c: New file.
75198         * string/Makefile (strop-tests): Add strchrnul.
75200         * po/it.po: Update from translation team.
75201         * po/es.po: Likewise.
75203 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75205         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75206         the three constants needed as parameters.  Drop the others.
75207         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75208         __m128i_strloadu_tolower.
75209         Create and initialize variable zero and use it in all the places
75210         where _mm_setzero_si128 was used.
75212         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75213         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75214         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75215         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75216         anymore.
75217         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75218         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75219         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75220         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75221         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75222         __mpranred, __mptan.
75223         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75224         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75225         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75226         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75227         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75228         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75229         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75230         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75231         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75233 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75235         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75236         redefine if SHARED.
75237         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75240         wide char related routines to wcsmbs subdir.
75242 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75244         [BZ #13344]
75245         * misc/sys/cdefs.h (__THROWNL): Define.
75246         * posix/unistd.h: Use __THREADNL instead of __THREAD
75247         for memory synchronization functions.
75249 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75251         [BZ #13349]
75252         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75253         doesn't exist.
75254         * manual/stdio.texi (Obstack Streams): Node removed.
75256 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75258         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75259         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75260         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75262         * math/math_private.h (math_force_eval): Allow non-addressable
75263         arguments.
75264         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75266 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75268         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75269         file is not needed.
75271         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75272         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75273         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75274         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75275         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75276         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75277         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75278         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75279         Add AVX variants.
75280         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75281         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75282         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75283         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75284         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75285         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75286         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75287         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75288         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75289         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75290         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75291         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75292         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75293         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75294         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75295         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75296         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75297         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75298         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75300         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75301         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75303         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75304         place.  Use VEX encoding when compiling for AVX.
75306 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75308         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75309         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75311         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75313 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75315         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75316         useless if() expression.
75317         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75318         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75319         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75320         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75321         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75322         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75323         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75324         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75325         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75327         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75328         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75329         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75330         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75331         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75332         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75333         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75334         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75335         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75337         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75339 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75341         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75342         condition.
75343         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75345 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75347         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75348         .text section.  Avoid duplicate constants.
75349         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75351         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75353         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75358         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75359         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75360         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75361         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75362         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75363         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75364         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75365         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75366         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75367         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75370         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75371         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75372         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75373         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75374         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75375         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75376         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75377         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75378         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75379         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75380         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75381         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75382         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75383         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75384         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75385         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75386         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75387         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75388         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75389         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75390         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75391         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75392         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75393         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75395 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75397         * sysdeps/x86_64/dla.h: Move to ...
75398         * sysdeps/x86_64/fpu/dla.h: ...here.
75399         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75400         situations.  Use __builtin_fma only for gcc 4.6 and up.
75402         * config.make.in: Add have-mfma4 entry.
75403         * configure.in: Substitute libc_cv_cc_fma4.
75404         * math/Makefile (dbl-only-routines): Add sincostab.
75405         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75406         Use __sincostab not sincos.
75407         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75408         name is a macro.
75409         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75413         using __copysign.
75414         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75415         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75416         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75417         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75418         and __inv.
75419         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75420         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75421         __copysign.
75422         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75423         define aliases when function name is a macro.
75424         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75425         sysdeps/ieee754/dbl-64/sincos.tbl.
75426         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75427         fma4-enabled routines.
75428         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75429         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75430         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75431         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75432         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75433         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75435         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75437         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75438         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75439         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75440         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75441         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75442         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75443         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75444         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75445         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75446         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75447         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75448         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75449         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75450         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75452         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75453         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75455         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75456         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75457         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75459         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75460         rename.
75461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75462         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75470 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75472         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75474 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75476         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75478         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75479         prediction.
75480         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75482         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75483         Remove unused variable magic_bits.
75484         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75486         * string/strnlen.c: Define and use STRNLEN macro.
75487         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75488         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75489         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75490         * wcsmbs/wcslen.c: Define and use WCSLEN.
75491         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75492         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75493         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75494         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75495         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75496         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75497         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75499 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75502         strnlen-sse2-no-bsf.
75503         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75504         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75505         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75506         Add strnlen support.
75507         (USE_AS_STRNLEN): New macro.
75508         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75509         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75510         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75511         * sysdeps/x86_64/wcslen.S: New file.
75513 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75515         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75516         XMM-moves are used for copying on small sizes.
75518 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75520         * wcsmbs/Makefile (strop-tests): Add wcschr.
75521         * wcsmbs/test-wcschr.c: New file.
75522         * string/test-strchr.c: Update.
75523         Add wcschr support.
75524         (WIDE): New macro.
75526 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75528         * wcsmbs/Makefile (strop-tests): Add wcslen.
75529         * wcsmbs/test-wcslen.c: New file.
75530         * string/test-strlen.c: Update.
75531         Add wcslen support.
75532         (WIDE): New macro.
75534 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75536         * po/it.po: Update from translation team.
75538 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75540         * sysdeps/x86_64/wcscmp.S: Update.
75541         Fix wrong comparison semantics.
75542         wcscmp shall use signed comparison not unsigned.
75543         Don't use substraction to avoid overflow bug.
75544         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75545         * wcsmbc/wcscmp.c: Likewise.
75546         * string/test-strcmp.c: Likewise.
75547         Add new tests to check cases with negative values.
75549 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75551         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75552         * sysdeps/x86_64/dla.h: ...here.  New file.
75553         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75554         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75563 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75565         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75566         __ynl_finite aliases.
75568 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75572         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75573         define DLA_FMA.
75574         [DLA_FMA] (EMULV): Use DLA_FMA.
75575         [DLA_FMA] (MUL12): Use EMULV.
75576         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75577         that are not needed.
75578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75586 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75588         * math/s_nan.c: Undef __nan.
75589         * math/s_nanf.c: Undef __nanf.
75590         * math/s_nanl.c: Undef __nanl.
75591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75592         "math_private.h".
75594 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75596         * math/s_catan.c: Add branch predictions.
75597         * math/s_catanf.c: Likewise.
75598         * math/s_catanh.c: Likewise.
75599         * math/s_catanhf.c: Likewise.
75600         * math/s_catanhl.c: Likewise.
75601         * math/s_catanl.c: Likewise.
75602         * math/s_cexp.c: Likewise.
75603         * math/s_cexpf.c: Likewise.
75604         * math/s_cexpl.c: Likewise.
75605         * math/s_clog.c: Likewise.
75606         * math/s_clog10.c: Likewise.
75607         * math/s_clog10f.c: Likewise.
75608         * math/s_clog10l.c: Likewise.
75609         * math/s_clogf.c: Likewise.
75610         * math/s_clogl.c: Likewise.
75611         * math/s_csqrt.c: Likewise.
75612         * math/s_csqrtf.c: Likewise.
75613         * math/s_csqrtl.c: Likewise.
75614         * math/s_ctanf.c: Likewise.
75615         * math/s_ctanh.c: Likewise.
75616         * math/s_ctanhf.c: Likewise.
75617         * math/s_ctanhl.c: Likewise.
75618         * math/s_ctanl.c: Likewise.
75620         * math/math_private.h: Define __nan, __nanf, __nanl.
75621         * math/s_cacosh.c: Include <math_private.h>.
75622         * math/s_cacoshl.c: Likewise.
75623         * math/s_casinh.c: Likewise.
75624         * math/s_casinhf.c: Likewise.
75625         * math/s_casinhl.c: Likewise.
75626         * math/s_ccos.c: Rely entire on ccosh.
75627         * math/s_ccosf.c: Rely entire on ccoshf.
75628         * math/s_ccosl.c: Rely entirely on ccoshl.
75629         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75630         Remove tests for FE_INVALID.
75631         * math/s_ccoshf.c: Likewise.
75632         * math/s_ccoshl.c: Likewise.
75633         * math/s_csin.c: Likewise.
75634         * math/s_csinf.c: Likewise.
75635         * math/s_csinh.c Likewise.
75636         * math/s_csinhf.c: Likewise.
75637         * math/s_csinhl.c: Likewise.
75638         * math/s_csinl.c: Likewise.
75639         * math/s_ctan.c: Likewise.
75640         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75641         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75642         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75644 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75647         compilation problems.
75649         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75650         __builtin_expect.
75652 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75654         * sysdeps/i386/configure.in: Test for -mfma4 option.
75655         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75656         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75657         COMMON_CPUID_INDEX_80000001.
75658         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75659         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75660         use it if FMA3 is not supported.
75661         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75663         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75664         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75666 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75668         [BZ #12892]
75669         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75670         it would create a cycle with a link time dependency.
75672 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75674         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75675         instruction.
75676         * string/Makefile (strop-tests): Add rawmemchr.
75677         * string/test-rawmemchr.c: New file.
75679         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75680         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75681         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75682         when compiling str{,n}casecmp and when AVX is available.  Hook up
75683         new optimized code in initializers.
75685 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75687         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75688         __feraiseexcept instead of feraiseexcept.
75690 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75692         * math/math_private.h: Define defaults for libc_fetestexcept and
75693         libc_feupdateenv.
75694         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75695         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75696         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75697         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75698         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75699         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75700         libc_fetestexcept and libc_feupdateenv.
75702         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75703         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75704         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75705         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75706         libc_feholdexcept_setround.
75708         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75709         Add s_nearbyint-c and s_nearbyintf-c.
75710         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75711         nearbyintf inlines.
75712         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75713         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75714         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75715         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75717         * math/math_private.h: Define defaults for libc_fegetround,
75718         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75719         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75720         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75721         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75722         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75723         standard functions.
75724         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75725         Remove comments and hacks for old compiler versions.
75726         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75727         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75728         libc_feholdexceptl.
75730 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75732         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75733         (__feraiseexcept_renamed): Add __NTH.
75734         (feraiseexcept): Add __NTH.  Rename local variables to fix
75735         namespace violations.
75737 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75739         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75741         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75743         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75744         recently added interfaces.
75745         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75747         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75748         about macro parameter expansion.
75750         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75751         __NO_MATH_INLINES is defined.  Cleanups.
75753         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75754         and __floorf is target has SSE4.1.
75755         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75756         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75757         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75758         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75760         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75761         name.
75762         (floorf): Likewise.
75764         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75766 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75768         * misc/sys/cdefs.h: Fix last change.
75770         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75771         database lookup.
75773 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75775         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75777         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75778         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75779         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75780         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75781         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75782         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75783         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75784         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75785         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75786         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75787         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75788         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75789         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75790         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75791         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75792         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75793         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75794         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75795         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75796         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75797         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75798         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75800         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75801         ceil, ceilf, floor, floorf.
75803         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75804         Perform IRELATIVE relocations last.
75806         * elf/do-rel.h: Add another parameter nrelative, replacing the
75807         local variable with the same name.  Change name of the function
75808         to end in Rel or Rela (uppercase).
75809         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75810         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75811         elf_dynamic_do_##reloc function.
75813 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75815         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75816         is sufficient, at least on modern CPUs.
75818         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75820         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75821         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75823         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75824         __expl_finite.
75825         * math/bits/math-finite.h: Add entries for exp.
75826         * math/e_expl.c: Add __*_finite alias.
75827         * sysdeps/i386/fpu/e_exp.S: Likewise.
75828         * sysdeps/i386/fpu/e_expf.S: Likewise.
75829         * sysdeps/i386/fpu/e_expl.c: Likewise.
75830         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75831         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75832         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75834         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75835         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75836         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75838         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75839         is sufficient, at least on modern CPUs.
75841         * ctype/ctype-info.c (__ctype_init): Define.
75842         * include/ctype.h (__ctype_init): Declare.
75843         (__ctype_b_loc): The variable is always initialized.
75844         (__ctype_toupper_loc): Likewise.
75845         (__ctype_tolower_loc): Likewise.
75846         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75847         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75849 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75851         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75853         * configure.in: Also look in $cxxmachine/include for C++ system
75854         headers.
75856 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75858         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75859         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75860         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75861         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75862         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75863         (USE_AS_WMEMCMP): New macro.
75864         Fixing indents.
75865         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75866         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75867         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75868         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75869         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75870         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75871         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75872         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75873         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75874         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75875         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75876         (USE_AS_WMEMCMP): New macro.
75877         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75878         * sysdeps/string/test-memcmp.c: Update.
75879         Fix simple_wmemcmp.
75880         Add new tests.
75881         * wcsmbs/wmemcmp.c: Update.
75882         (WMEMCMP): New macro.
75883         Fix overflow bug.
75885 2011-10-12  Andreas Jaeger  <aj@suse.de>
75887         [BZ #13268]
75888         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75890 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75892         * libio/iofwide.c (do_length): Avoid warning.
75894         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75896 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75898         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75900         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75901         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75902         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75903         * sysdeps/i386/i686/fpu/e_log.S: New file.
75904         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75905         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75907         * ctype/ctype.h: Add support for inlined isXXX functions when
75908         compiling C++ code.
75910 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75912         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75914         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75916 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75918         [BZ #13291]
75919         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75921 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75923         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75924         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75925         feraiseexcept.
75927         * sysdeps/x86_64/memrchr.S: Check for zero size.
75929         * string/stratcliff.c: Add memrchr tests.
75931 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75934         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75935         rawmemchr-sse2 rawmemchr-sse2-bsf.
75936         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75937         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75938         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75939         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75940         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75941         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75942         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75943         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75944         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75945         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75946         * string/memrchr.c (MEMRCHR): New macro.
75948 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75950         Add integration with gcc's -ffinite-math-only and optimize wrapper
75951         functions in libm.
75952         * Versions.def: Define GLIBC_2.15 version for libm.
75953         * math/Makefile (headers): Add bits/math-finite.h.
75954         * math/bits/math-finite.h: New file.
75955         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75956         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75957         * math/e_acoshl.c: Add __*_finite alias.
75958         * math/e_acosl.c: Likewise.
75959         * math/e_asinl.c: Likewise.
75960         * math/e_atan2l.c: Likewise.
75961         * math/e_atanhl.c: Likewise.
75962         * math/e_coshl.c: Likewise.
75963         * math/e_exp10.c: Likewise.
75964         * math/e_exp10f.c: Likewise.
75965         * math/e_exp10l.c: Likewise.
75966         * math/e_exp2l.c: Likewise.
75967         * math/e_fmodl.c: Likewise.
75968         * math/e_gammal_r.c: Likewise.
75969         * math/e_hypotl.c: Likewise.
75970         * math/e_j0l.c: Likewise.
75971         * math/e_j1l.c: Likewise.
75972         * math/e_jnl.c: Likewise.
75973         * math/e_lgammal_r.c: Likewise.
75974         * math/e_log10l.c: Likewise.
75975         * math/e_log2l.c: Likewise.
75976         * math/e_logl.c: Likewise.
75977         * math/e_powl.c: Likewise.
75978         * math/e_sinhl.c: Likewise.
75979         * math/e_sqrtl.c: Likewise.
75980         * math/e_scalb.c: Completely rewritten and optimized.
75981         * math/e_scalbf.c: Likewise.
75982         * math/e_scalbl.c: Likewise.
75983         * math/w_acos.c: Likewise.
75984         * math/w_acosf.c: Likewise.
75985         * math/w_acosl.c: Likewise.
75986         * math/w_acosh.c: Likewise.
75987         * math/w_acoshf.c: Likewise.
75988         * math/w_acoshl.c: Likewise.
75989         * math/w_asin.c: Likewise.
75990         * math/w_asinf.c: Likewise.
75991         * math/w_asinl.c: Likewise.
75992         * math/w_atan2.c: Likewise.
75993         * math/w_atan2f.c: Likewise.
75994         * math/w_atan2l.c: Likewise.
75995         * math/w_atanh.c: Likewise.
75996         * math/w_atanhf.c: Likewise.
75997         * math/w_atanhl.c: Likewise.
75998         * math/w_exp10.c: Likewise.
75999         * math/w_exp10f.c: Likewise.
76000         * math/w_exp10l.c: Likewise.
76001         * math/w_fmod.c: Likewise.
76002         * math/w_fmodf.c: Likewise.
76003         * math/w_fmodl.c: Likewise.
76004         * math/w_j0.c: Likewise.
76005         * math/w_j0f.c: Likewise.
76006         * math/w_j0l.c: Likewise.
76007         * math/w_j1.c: Likewise.
76008         * math/w_j1f.c: Likewise.
76009         * math/w_j1l.c: Likewise.
76010         * math/w_jn.c: Likewise.
76011         * math/w_jnf.c: Likewise.
76012         * math/w_log.c: Likewise.
76013         * math/w_logf.c: Likewise.
76014         * math/w_logl.c: Likewise.
76015         * math/w_log10.c: Likewise.
76016         * math/w_log10f.c: Likewise.
76017         * math/w_log10l.c: Likewise.
76018         * math/w_log2.c: Likewise.
76019         * math/w_log2f.c: Likewise.
76020         * math/w_log2l.c: Likewise.
76021         * math/w_pow.c: Likewise.
76022         * math/w_powf.c: Likewise.
76023         * math/w_powl.c: Likewise.
76024         * math/w_remainder.c: Likewise.
76025         * math/w_remainderf.c: Likewise.
76026         * math/w_remainderl.c: Likewise.
76027         * math/w_scalb.c: Likewise.
76028         * math/w_scalbf.c: Likewise.
76029         * math/w_scalbl.c: Likewise.
76030         * math/w_sqrt.c: Likewise.
76031         * math/w_sqrtf.c: Likewise.
76032         * math/w_sqrtl.c: Likewise.
76033         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76034         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76035         used.
76036         * math/math_private.h: Declare __kernel_standard_f.
76037         * math/w_cosh.c: Remove cruft and optimize a bit.
76038         * math/w_coshf.c: Likewise.
76039         * math/w_coshl.c: Likewise.
76040         * math/w_exp2.c: Likewise.
76041         * math/w_exp2f.c: Likewise.
76042         * math/w_exp2l.c: Likewise.
76043         * math/w_hypot.c: Likewise.
76044         * math/w_hypotf.c: Likewise.
76045         * math/w_hypotl.c: Likewise.
76046         * math/w_lgamma.c: Likewise.
76047         * math/w_lgamma_r.c: Likewise.
76048         * math/w_lgammaf.c: Likewise.
76049         * math/w_lgammaf_r.c: Likewise.
76050         * math/w_lgammal.c: Likewise.
76051         * math/w_lgammal_r.c: Likewise.
76052         * math/w_sinh.c: Likewise.
76053         * math/w_sinhf.c: Likewise.
76054         * math/w_sinhl.c: Likewise.
76055         * math/w_tgamma.c: Likewise.
76056         * math/w_tgammaf.c: Likewise.
76057         * math/w_tgammal.c: Likewise.
76058         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76059         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76060         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76061         Minor optimizations.  Pretty printing.  Remove cruft.
76062         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76063         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76064         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76065         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76066         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76067         * sysdeps/i386/fpu/e_asin.S: Likewise.
76068         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76069         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76070         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76071         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76072         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76073         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76074         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76075         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76076         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76077         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76078         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76079         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76080         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76081         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76082         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76083         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76084         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76085         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76086         * sysdeps/i386/fpu/e_log.S: Likewise.
76087         * sysdeps/i386/fpu/e_log10.S: Likewise.
76088         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76089         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76090         * sysdeps/i386/fpu/e_log2.S: Likewise.
76091         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76092         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76093         * sysdeps/i386/fpu/e_logf.S: Likewise.
76094         * sysdeps/i386/fpu/e_logl.S: Likewise.
76095         * sysdeps/i386/fpu/e_pow.S: Likewise.
76096         * sysdeps/i386/fpu/e_powf.S: Likewise.
76097         * sysdeps/i386/fpu/e_powl.S: Likewise.
76098         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76099         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76100         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76101         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76102         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76103         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76104         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76105         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76106         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76107         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76108         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76110         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76111         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76112         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76113         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76114         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76115         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76116         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76117         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76118         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76120         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76121         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76123         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76124         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76126         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76127         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76128         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76129         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76130         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76131         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76132         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76133         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76134         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76135         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76136         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76137         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76138         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76139         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76140         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76141         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76142         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76143         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76144         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76145         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76146         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76147         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76148         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76149         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76150         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76151         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76152         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76153         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76154         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76155         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76156         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76157         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76158         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76159         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76160         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76161         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76162         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76163         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76164         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76165         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76166         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76167         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76168         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76169         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76171         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76172         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76174         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76175         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76176         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76177         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76178         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76180         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76181         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76182         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76183         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76184         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76185         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76186         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76187         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76188         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76189         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76190         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76191         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76192         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76193         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76194         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76195         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76196         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76197         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76198         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76199         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76200         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76201         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76202         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76203         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76204         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76205         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76206         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76207         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76208         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76209         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76210         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76211         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76212         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76213         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76214         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76215         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76216         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76217         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76218         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76219         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76220         (__isnanf): Likewise.
76221         (__isinf_ns): Likewise.
76222         (__isinf_nsf): Likewise.
76223         (__finite): Likewise.
76224         (__finitef): Likewise.
76225         (__ieee754_sqrt): Define as macro.
76226         (__ieee754_sqrtf): Define as macro.
76227         (__ieee754_sqrtl): Define as macro.
76228         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76229         inlined copy.
76230         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76231         __FINITE_MATH_ONLY__ consistent.
76232         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76234 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76236         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76237         of rawmemchr.
76239         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76241 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76243         * po/ja.po: Update from translation team.
76245 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76247         * locale/programs/locarchive.c (prepare_address_space): New function.
76248         (create_archive, enlarge_archive, open_archive): Use it.
76250         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76251         inside [SHARED], where it is used.
76253         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76255         * nss/getent.c (netgroup_keys): Remove unused variable.
76256         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76258 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76260         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76261         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76262         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76263         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76264         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76265         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76266         * math/Makefile (libm-calls): Add s_isinf_ns.
76267         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76268         * math/multc3.c: Likewise.
76269         * math/s_casin.c: Likewise.
76270         * math/s_casinf.c: Likewise.
76271         * math/s_casinl.c: Likewise.
76272         * math/s_ccos.c: Likewise.
76273         * math/s_ccosf.c: Likewise.
76274         * math/s_ccosl.c: Likewise.
76275         * math/s_ctan.c: Likewise.
76276         * math/s_ctanf.c: Likewise.
76277         * math/s_ctanh.c: Likewise.
76278         * math/s_ctanhf.c: Likewise.
76279         * math/s_ctanhl.c: Likewise.
76280         * math/s_ctanl.c: Likewise.
76281         * math/w_fmod.c: Likewise.
76282         * math/w_fmodf.c: Likewise.
76283         * math/w_fmodl.c: Likewise.
76284         * math/w_remainder.c: Likewise.
76285         * math/w_remainderf.c: Likewise.
76286         * math/w_remainderl.c: Likewise.
76287         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76288         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76289         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76290         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76291         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76292         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76293         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76294         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76296         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76297         of the number.
76298         * stdio-common/printf_fphex.c: Likewise.
76299         * stdio-common/printf_size.c: Likewise.
76301         * math/e_exp10.c: Include math_private.h using <...> not "...".
76302         * math/e_exp10f.c: Likewise.
76303         * math/e_exp10l.c: Likewise.
76304         * math/e_exp2l.c: Likewise.
76305         * math/e_j0l.c: Likewise.
76306         * math/e_j1l.c: Likewise.
76307         * math/e_jnl.c: Likewise.
76308         * math/e_lgammal_r.c: Likewise.
76309         * math/e_rem_pio2l.c: Likewise.
76310         * math/e_scalb.c: Likewise.
76311         * math/e_scalbf.c: Likewise.
76312         * math/e_scalbl.c: Likewise.
76313         * math/k_cosl.c: Likewise.
76314         * math/k_sinl.c: Likewise.
76315         * math/k_tanl.c: Likewise.
76316         * math/s_cacoshf.c: Likewise.
76317         * math/s_catan.c: Likewise.
76318         * math/s_catanf.c: Likewise.
76319         * math/s_catanh.c: Likewise.
76320         * math/s_catanhf.c: Likewise.
76321         * math/s_catanhl.c: Likewise.
76322         * math/s_catanl.c: Likewise.
76323         * math/s_ccosh.c: Likewise.
76324         * math/s_ccoshf.c: Likewise.
76325         * math/s_ccoshl.c: Likewise.
76326         * math/s_cexp.c: Likewise.
76327         * math/s_cexpf.c: Likewise.
76328         * math/s_cexpl.c: Likewise.
76329         * math/s_clog.c: Likewise.
76330         * math/s_clog10.c: Likewise.
76331         * math/s_clog10f.c: Likewise.
76332         * math/s_clog10l.c: Likewise.
76333         * math/s_clogf.c: Likewise.
76334         * math/s_clogl.c: Likewise.
76335         * math/s_csin.c: Likewise.
76336         * math/s_csinf.c: Likewise.
76337         * math/s_csinh.c: Likewise.
76338         * math/s_csinhf.c: Likewise.
76339         * math/s_csinhl.c: Likewise.
76340         * math/s_csinl.c: Likewise.
76341         * math/s_csqrt.c: Likewise.
76342         * math/s_csqrtf.c: Likewise.
76343         * math/s_csqrtl.c: Likewise.
76344         * math/s_ctan.c: Likewise.
76345         * math/s_ctanf.c: Likewise.
76346         * math/s_ctanh.c: Likewise.
76347         * math/s_ctanhf.c: Likewise.
76348         * math/s_ctanhl.c: Likewise.
76349         * math/s_ctanl.c: Likewise.
76350         * math/s_ldexp.c: Likewise.
76351         * math/s_ldexpf.c: Likewise.
76352         * math/s_ldexpl.c: Likewise.
76353         * math/s_significand.c: Likewise.
76354         * math/s_significandf.c: Likewise.
76355         * math/s_significandl.c: Likewise.
76356         * math/w_acos.c: Likewise.
76357         * math/w_acosf.c: Likewise.
76358         * math/w_acosh.c: Likewise.
76359         * math/w_acoshf.c: Likewise.
76360         * math/w_acoshl.c: Likewise.
76361         * math/w_acosl.c: Likewise.
76362         * math/w_asin.c: Likewise.
76363         * math/w_asinf.c: Likewise.
76364         * math/w_asinl.c: Likewise.
76365         * math/w_atan2.c: Likewise.
76366         * math/w_atan2f.c: Likewise.
76367         * math/w_atan2l.c: Likewise.
76368         * math/w_atanh.c: Likewise.
76369         * math/w_atanhf.c: Likewise.
76370         * math/w_atanhl.c: Likewise.
76371         * math/w_cosh.c: Likewise.
76372         * math/w_coshf.c: Likewise.
76373         * math/w_coshl.c: Likewise.
76374         * math/w_dremf.c: Likewise.
76375         * math/w_exp10.c: Likewise.
76376         * math/w_exp10f.c: Likewise.
76377         * math/w_exp10l.c: Likewise.
76378         * math/w_exp2.c: Likewise.
76379         * math/w_exp2f.c: Likewise.
76380         * math/w_fmod.c: Likewise.
76381         * math/w_fmodf.c: Likewise.
76382         * math/w_fmodl.c: Likewise.
76383         * math/w_hypot.c: Likewise.
76384         * math/w_hypotf.c: Likewise.
76385         * math/w_hypotl.c: Likewise.
76386         * math/w_j0.c: Likewise.
76387         * math/w_j0f.c: Likewise.
76388         * math/w_j0l.c: Likewise.
76389         * math/w_j1.c: Likewise.
76390         * math/w_j1f.c: Likewise.
76391         * math/w_j1l.c: Likewise.
76392         * math/w_jn.c: Likewise.
76393         * math/w_jnf.c: Likewise.
76394         * math/w_jnl.c: Likewise.
76395         * math/w_lgamma.c: Likewise.
76396         * math/w_lgamma_r.c: Likewise.
76397         * math/w_lgammaf.c: Likewise.
76398         * math/w_lgammaf_r.c: Likewise.
76399         * math/w_lgammal.c: Likewise.
76400         * math/w_lgammal_r.c: Likewise.
76401         * math/w_log.c: Likewise.
76402         * math/w_log10.c: Likewise.
76403         * math/w_log10f.c: Likewise.
76404         * math/w_log10l.c: Likewise.
76405         * math/w_log2.c: Likewise.
76406         * math/w_log2f.c: Likewise.
76407         * math/w_log2l.c: Likewise.
76408         * math/w_logf.c: Likewise.
76409         * math/w_logl.c: Likewise.
76410         * math/w_pow.c: Likewise.
76411         * math/w_powf.c: Likewise.
76412         * math/w_powl.c: Likewise.
76413         * math/w_remainder.c: Likewise.
76414         * math/w_remainderf.c: Likewise.
76415         * math/w_remainderl.c: Likewise.
76416         * math/w_scalb.c: Likewise.
76417         * math/w_scalbf.c: Likewise.
76418         * math/w_scalbl.c: Likewise.
76419         * math/w_sinh.c: Likewise.
76420         * math/w_sinhf.c: Likewise.
76421         * math/w_sinhl.c: Likewise.
76422         * math/w_sqrt.c: Likewise.
76423         * math/w_sqrtf.c: Likewise.
76424         * math/w_sqrtl.c: Likewise.
76425         * math/w_tgamma.c: Likewise.
76426         * math/w_tgammaf.c: Likewise.
76427         * math/w_tgammal.c: Likewise.
76429         * po/ja.po: Update from translation team.
76431 2011-09-29  Andreas Jaeger  <aj@suse.de>
76433         [BZ #13179]
76434         * sunrpc/netname.c (netname2host): Fix logic.
76436         [BZ #6779]
76437         [BZ #6783]
76438         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76439         correctly.
76440         * math/w_remainder.c (__remainder): Likewise.
76441         * math/w_remainderf.c (__remainderf): Likewise.
76442         * math/libm-test.inc (remainder_test): Add test cases.
76444 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76446         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76447         sdiv_qrnnd.
76449 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76451         * string/test-memcmp.c: Avoid unncessary #defines.
76452         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76454 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76456         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76457         Use new sse2 version for core i3 - i7 as it's faster
76458         than sse42 version.
76459         (bit_Prefer_PMINUB_for_stringop): New.
76460         * sysdeps/x86_64/rawmemchr.S: Update.
76461         Replace with faster SSE2 version.
76462         * sysdeps/x86_64/memrchr.S: New file.
76463         * sysdeps/x86_64/memchr.S: Update.
76464         Replace with faster SSE2 version.
76466 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76468         * elf/dl-load.c (lose): Add cast to avoid warning.
76470 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76472         * po/ca.po: Update from translation team.
76474         * inet/getnetgrent_r.c: Hook up nscd.
76475         * nscd/Makefile (routines): Add nscd_netgroup.
76476         (nscd-modules): Add netgroupcache.
76477         (CFLAGS-netgroupcache.c): Define.
76478         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76479         (cache_search): Add const to second parameter.
76480         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76481         INNETGR.
76482         (dbs): Add netgrdb entry.
76483         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76484         (verify_persistent_db): Handle netgrdb.
76485         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76486         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76487         GETFDNETGR.
76488         (netgroup_response_header): Define.
76489         (innetgroup_response_header): Define.
76490         (datahead): Add netgroup_response_header and innetgroup_response_header
76491         elements.
76492         * nscd/nscd.conf: Add entries for netgroup cache.
76493         * nscd/nscd.h (dbtype): Add netgrdb.
76494         (_PATH_NSCD_NETGROUP_DB): Define.
76495         (netgroup_iov_disabled): Declare.
76496         (xmalloc, xcalloc, xrealloc): Move declarations here.
76497         (cache_search): Adjust prototype.
76498         Add netgroup-related prototypes.
76499         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76500         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76501         (__nscd_innetgr): Declare.
76502         * nscd/selinux.c (perms): Use access_vector_t as element type and
76503         add netgroup-related initializers.
76504         * nscd/netgroupcache.c: New file.
76505         * nscd/nscd_netgroup.c: New file.
76506         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76507         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76508         For four parameters use innetgr.
76509         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76510         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76511         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76512         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76514         * nscd/connections.c (register_traced_file): Don't register file
76515         for disabled databases.
76517 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76519         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76521         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76522         from tree and freeing node.
76524 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76526         * nss/nsswitch.c (__nss_database_lookup): Handle
76527         nss_parse_service_list out of memory case.
76529 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76531         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76532         out of memory case.
76534 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76536         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76537         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76538         pass it down.
76539         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76540         elf_machine_rela, elf_machine_lazy_rel.
76541         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76542         (ELF_DYNAMIC_DO_REL): Likewise.
76543         (ELF_DYNAMIC_DO_RELA): Likewise.
76544         (ELF_DYNAMIC_RELOCATE): Likewise.
76545         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76546         to ELF_DYNAMIC_DO_REL.
76547         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76548         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76549         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76550         elf_machine_rela.
76551         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76552         skip_ifunc, don't call ifunc function if non-zero.
76553         (elf_machine_rela): Likewise.
76554         (elf_machine_lazy_rel): Likewise.
76555         (elf_machine_lazy_rela): Likewise.
76556         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76557         (elf_machine_lazy_rel): Likewise.
76558         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76559         Likewise.
76560         (elf_machine_lazy_rel): Likewise.
76561         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76562         Likewise.
76563         (elf_machine_lazy_rel): Likewise.
76564         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76565         (elf_machine_lazy_rel): Likewise.
76566         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76567         (elf_machine_lazy_rel): Likewise.
76568         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76569         (elf_machine_lazy_rel): Likewise.
76570         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76571         (elf_machine_lazy_rel): Likewise.
76572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76573         (elf_machine_lazy_rel): Likewise.
76574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76575         (elf_machine_lazy_rel): Likewise.
76577 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76579         * nss/nss_files/files-init.c (_nss_files_init): Use static
76580         initialization for all the *_traced_file variables.
76582 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76584         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76586 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76588         [BZ #13226]
76589         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76591 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76593         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76594         Reread the line before reparsing it.
76596 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76598         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76600 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76601             Maxim Kuvyrkov  <maxim@codesourcery.com>
76602             Joseph Myers  <joseph@codesourcery.com>
76604         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76605         if needed for __stack_chk_guard.
76607 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76609         * sysdeps/posix/spawni.c (script_execute): Always define it.
76610         It will be optimized away if unused.
76611         (maybe_script_execute): New function.
76612         (__spawni): Call it.
76614         * Makerules: Don't include tls.make.
76615         (config-tls): Always set to thread.
76616         * tls.make.c: File removed.
76618 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76620         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76621         * config.make.in (CPPFLAGS-config): New substituted variable.
76623 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76625         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76627         [BZ #13192]
76628         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76629         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76631 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76633         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76634         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76635         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76636         (CALL_FAIL): Likewise.
76637         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76638         (CALL_FAIL): Macro removed.
76639         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76641 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76643         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76644         for __FINITE_MATH_ONLY__ == 1.
76646 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76648         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76649         __ieee754_sqrt instead of sqrt.
76650         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76651         __ieee754_sqrtf instead of sqrtf.
76652         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76653         __floorf instead of floorf.
76654         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76655         __floorf, __truncf instead of floorf, truncf.
76657 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76659         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76661         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76662         __extern_always_inline.
76663         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76664         32-bit.
76666 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76668         * elf/rtld.c (dl_main): Also relocate in dependency order when
76669         doing symbol dependency testing.
76671 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76674         Always define `refsym'.
76676 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76678         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76679         (__FD_ELT): Renamed from __FDELT.
76680         * misc/bits/select2.h (__FD_ELT): Likewise.
76681         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76682         __FD_MASK instead of __FDELT, __FDMASK.
76683         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76684         Likewise.
76685         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76686         Likewise.
76688         * elf/Makefile (gen-ldd): Fix pattern.
76690         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76691         (init_tls): Likewise.
76693 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76697 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76699         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76700         `struct cmsghdr *' instead of `void *'.
76701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76702         Likewise.
76704 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76706         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76707         if non-absolute.
76708         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76709         ldd_rewrite_script.
76711 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76713         * configure.in: Remove --with-tls option.
76714         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76715         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76716         out in case it is missing.
76717         * sysdeps/ia64/elf/configure.in: Likewise.
76718         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76719         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76720         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76721         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76722         * sysdeps/sh/elf/configure.in: Likewise.
76723         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76724         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76725         * sysdeps/x86_64/elf/configure.in: Likewise.
76726         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76727         * sysdeps/mach/hurd/tls.h: Likewise.
76729         [BZ #13067]
76730         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76732         [BZ #13090]
76733         * configure.in: Fix use of AC_INIT.
76735         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76737 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76739         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76740         __set_errno.
76741         * malloc/hooks.c: Likewise.
76743         [BZ #11929]
76744         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76745         variables statically.
76746         (narenas): Initialize.
76747         (list_lock): Initialize.
76748         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76749         initializtion of main_arena and list_lock.  Small cleanups.
76750         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76751         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76752         Add initializers to main_arena and mp_.
76753         (malloc_state): Remove pagesize member.  Change all users to use
76754         GLRO(dl_pagesize).
76756         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76757         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76758         is always initialized.
76760         * malloc/malloc.c: Removed unused configurations and dead code.
76761         * malloc/arena.c: Likewise.
76762         * malloc/hooks.c: Likewise.
76763         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76765         * include/tls.h: Removed.  USE___THREAD must always be defined.
76766         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76767         * elf/dl-libc.c: Likewise.
76768         * elf/dl-tsd.c: Likewise.
76769         * include/errno.h: Likewise.
76770         * include/netdb.h: Likewise.
76771         * include/resolv.h: Likewise.
76772         * inet/herrno-loc.c: Likewise.
76773         * inet/herrno.c: Likewise.
76774         * malloc/arena.c: Likewise.
76775         * malloc/hooks.c: Likewise.
76776         * malloc/malloc.c: Likewise.
76777         * resolv/res-state.c: Likewise.
76778         * resolv/res_libc.c: Likewise.
76779         * sysdeps/i386/dl-machine.h: Likewise.
76780         * sysdeps/ia64/dl-machine.h: Likewise.
76781         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76782         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76783         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76784         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76785         * sysdeps/sh/dl-machine.h: Likewise.
76786         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76787         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76788         * sysdeps/unix/i386/sysdep.S: Likewise.
76789         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76790         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76792         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76793         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76795         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76799         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76800         * sysdeps/x86_64/dl-machine.h: Likewise.
76801         * tls.make.c: Likewise.
76803         * configure.in: Remove --with-__thread option.  Make tests for
76804         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76805         tls_model attribute fail if no support is available.  Remove
76806         USE_IN_LIBIO.
76807         * Makeconfig: Adjust for dropped configure option.  All features are
76808         now mandatory.
76809         * Makerules: Likewise.
76810         * Versions.def: Likewise.
76811         * argp/argp-fmtstream.c: Likewise.
76812         * argp/argp-fmtstream.h: Likewise.
76813         * argp/argp-help.c: Likewise.
76814         * assert/assert.c: Likewise.
76815         * config.h.in: Likewise.
76816         * config.make.in: Likewise.
76817         * configure: Likewise.
76818         * configure.in: Likewise.
76819         * csu/Versions: Likewise.
76820         * csu/init.c: Likewise.
76821         * elf/tst-audit2.c: Likewise.
76822         * elf/tst-tls10.c: Likewise.
76823         * elf/tst-tls10.h: Likewise.
76824         * elf/tst-tls11.c: Likewise.
76825         * elf/tst-tls12.c: Likewise.
76826         * elf/tst-tls14.c: Likewise.
76827         * elf/tst-tlsmod11.c: Likewise.
76828         * elf/tst-tlsmod12.c: Likewise.
76829         * elf/tst-tlsmod13.c: Likewise.
76830         * elf/tst-tlsmod13a.c: Likewise.
76831         * elf/tst-tlsmod14a.c: Likewise.
76832         * elf/tst-tlsmod15b.c: Likewise.
76833         * elf/tst-tlsmod16a.c: Likewise.
76834         * elf/tst-tlsmod16b.c: Likewise.
76835         * elf/tst-tlsmod7.c: Likewise.
76836         * elf/tst-tlsmod8.c: Likewise.
76837         * elf/tst-tlsmod9.c: Likewise.
76838         * gmon/gmon.c: Likewise.
76839         * grp/fgetgrent_r.c: Likewise.
76840         * grp/putgrent.c: Likewise.
76841         * hurd/fopenport.c: Likewise.
76842         * include/libc-symbols.h: Likewise.
76843         * include/tls.h: Likewise.
76844         * intl/gettextP.h: Likewise.
76845         * intl/loadinfo.h: Likewise.
76846         * locale/global-locale.c: Likewise.
76847         * locale/localeinfo.h: Likewise.
76848         * mach/devstream.c: Likewise.
76849         * malloc/arena.c: Likewise.
76850         * malloc/set-freeres.c: Likewise.
76851         * misc/err.c: Likewise.
76852         * misc/getttyent.c: Likewise.
76853         * misc/mntent_r.c: Likewise.
76854         * posix/getopt.c: Likewise.
76855         * posix/wordexp.c: Likewise.
76856         * pwd/fgetpwent_r.c: Likewise.
76857         * resolv/Versions: Likewise.
76858         * resolv/res_hconf.c: Likewise.
76859         * shadow/fgetspent_r.c: Likewise.
76860         * shadow/putspent.c: Likewise.
76861         * stdio-common/printf_fphex.c: Likewise.
76862         * stdio-common/tmpfile.c: Likewise.
76863         * stdlib/abort.c: Likewise.
76864         * stdlib/fmtmsg.c: Likewise.
76865         * sunrpc/auth_unix.c: Likewise.
76866         * sunrpc/clnt_perr.c: Likewise.
76867         * sunrpc/clnt_tcp.c: Likewise.
76868         * sunrpc/clnt_udp.c: Likewise.
76869         * sunrpc/clnt_unix.c: Likewise.
76870         * sunrpc/openchild.c: Likewise.
76871         * sunrpc/svc_simple.c: Likewise.
76872         * sunrpc/svc_tcp.c: Likewise.
76873         * sunrpc/svc_udp.c: Likewise.
76874         * sunrpc/svc_unix.c: Likewise.
76875         * sunrpc/xdr.c: Likewise.
76876         * sunrpc/xdr_array.c: Likewise.
76877         * sunrpc/xdr_rec.c: Likewise.
76878         * sunrpc/xdr_ref.c: Likewise.
76879         * sunrpc/xdr_stdio.c: Likewise.
76881 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76883         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76885 2011-07-03  Andreas Jaeger  <aj@suse.de>
76887         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76888         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76889         regenerate with gen-libm-tests.pl.
76891 2010-05-12  Petr Baudis  <pasky@suse.cz>
76893         [BZ #11589]
76894         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76895         around j0() zero points by switching to j1().
76896         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76897         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76899         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76901 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76903         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76904         instead of 0.
76905         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76906         instead of 0.
76907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76908         Patch in part by Pavel Roskin <proski@gnu.org>.
76910         [BZ #13138]
76911         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76912         realloc.
76913         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76914         Free memory block if necessary.
76916         [BZ #12847]
76917         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76918         be NULL.  Don't lock in this case.
76920 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76922         * elf/elf.h (ELFOSABI_GNU): New macro.
76923         (ELFOSABI_LINUX): Define to that.
76925 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76927         * string/strncat.c (strncat): Undef the symbol in case it has been
76928         defined in bits/string.h.
76930 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76932         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76934         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76935         link map.
76937 2011-08-17  Andreas Jaeger  <aj@suse.de>
76939         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76941 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76942             Ian Lance Taylor  <iant@google.com>
76944         * math/libm-test.inc (lround_test): New testcase.
76945         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76947 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76949         * Makefile: Remove support for automatic cvs check-ins.
76950         * Makerules: Likewise.
76951         * config.make.in: Likewise.
76952         * configure.in: Likewise.
76953         * intl/Makefile: Likewise.
76954         * locale/Makefile: Likewise.
76955         * po/Makefile: Likewise.
76956         * posix/Makefile: Likewise.
76957         * sysdeps/gnu/Makefile: Likewise.
76958         * sysdeps/mach/hurd/Makefile: Likewise.
76959         * sysdeps/sparc/sparc32/Makefile: Likewise.
76961         [BZ #13118]
76962         * posix/Makefile (bug-regex32-ENV): Define.
76963         Patch by John Stanley <jpsinthemix@verizon.net>.
76965         * misc/Makefile (headers): Add bits/select2.h.
76966         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76967         * misc/bits/select2.h: New file.
76968         * include/bits/select2.h: New file.
76969         * debug/Makefile (routines): Add fdelt_chk.
76970         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76971         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76972         FD_ISSET.
76973         * debug/fdelt_chk.c: New file.
76975         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76976         * wcsmbs/test-wmemcmp.c: Likewise.
76977         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76978         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76980 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76982         * string/Makefile (strop-tests): Add memcmp.
76983         * string/test-wmemcmp.c: New file.
76984         * string/test-memcmp.c: Add wmemcmp support.
76986 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76988         [BZ #13153]
76989         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76990         2011-07-19 change.
76992         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76993         garbage value in a __mach_port_mod_refs call in the cases of the
76994         task-self and thread-self ports.
76996 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76998         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77000 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77002         * elf/dl-load.c (lose): Check for non-null L.
77004 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77006         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77008         * elf/dl-libc.c (dlerror_run): Pass back error code from
77009         dl_catch_error.
77011         [BZ #13123]
77012         * elf/dl-load.c (lose): Free l_origin if it is valid.
77014         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77015         names.
77016         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77017         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77019         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77020         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77021         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77023 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77025         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77026         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77027         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77028         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77029         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77030         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77031         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77032         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77033         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77034         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77036 2011-08-15  Alan Modra  <amodra@gmail.com>
77038         [BZ #13092]
77039         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77040         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77041         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77042         ppc_mcount to static-only-routines.
77043         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77044         __mcount_internal.
77045         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77046         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77048 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77050         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77051         for finite and infinity parameters.
77053 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77056         and add nop instructions for throughput optimization.
77057         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77059 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77061         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77062         aligned copy for power7 with vector-scalar instructions.
77063         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77065 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77067         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77068         AVX check.
77070 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77072         [BZ #13144]
77073         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77074         last change.
77076 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77078         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77079         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77080         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77081         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77082         clock_gettime.
77084 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77086         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77087         Forgot to demangle the pointer.
77089         * sysdeps/i386/sysdep.h: Define atom_text_section.
77090         * sysdeps/x86_64/sysdep.h: Likewise.
77091         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77092         section with atom_text_section.
77093         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77094         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77095         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77096         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77097         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77099         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77100         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77101         already be defined.  Change to take two parameters and don't assign
77102         result to variable.  Adjust all users.
77103         Define INTERNAL_GETTIME if not already defined.
77104         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77105         call.
77106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77107         HAVE_CLOCK_GETTIME_VSYSCALL.
77108         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77110         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77111         gettimeofday vsyscall, just use time.
77113 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77116         <errno.h>.
77118 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77120         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77121         syscall on x86-64.
77122         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77123         syscall.
77124         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77125         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77126         syscall if possible.
77128 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77130         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77131         e_ident.  Don't pass to find_mapsXX.
77132         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77134 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77137         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77138         * sysdeps/x86_64/multiarch/strchr.S: Update.
77139         Check bit_slow_BSF bit.
77140         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77141         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77142         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77144 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77146         [BZ #13134]
77147         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77148         before glibc 2.15.
77149         (tryshell): Define.
77150         (__spawni): Change last parameter to be flag.  Test
77151         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77152         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77153         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77154         * posix/spawni.c: Likewise.
77155         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77156         * posix/spawnp.c: Likewise.  Change normal version to use
77157         SPAWN_XFLAGS_USE_PATH.
77158         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77159         SPAWN_XFLAGS_TRY_SHELL.
77161         [BZ #13150]
77162         * posix/glob.h: Remove gcc 1.x support.
77164         [BZ #13068]
77165         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77167 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77170         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77171         strrchr-sse2-bsf
77172         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77173         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77174         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77175         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77176         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77177         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77179 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77181         * sysdeps/x86_64/wcscmp.S: New file.
77183         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77184         wcscmp-c wcscmp-sse2
77185         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77186         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77187         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77188         * wcsmbs/wcscmp.c: Allow renaming.
77190 2011-09-05  David S. Miller  <davem@davemloft.net>
77192         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77193         stack slot, rather than the struct return pointer slot.
77194         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77195         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77197         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77199 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77201         * po/ja.po: Update from translation team.
77203         [BZ #13144]
77204         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77205         kernel in 64-bit binaries.
77207 2011-09-01  David S. Miller  <davem@davemloft.net>
77209         * elf/elf.h (HWCAP_SPARC_*): Move to..
77210         * sysdeps/sparc/sysdep.h: this new file and add new values.
77211         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77212         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77213         _DL_HWCAP_COUNT to 24.
77214         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77215         entries.
77216         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77217         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77218         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77220         instead of magic constants.
77221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77223 2011-08-31  David S. Miller  <davem@davemloft.net>
77225         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77227         Reimplement to do errno handling inline.
77228         (SYSCALL_ERROR_HANDLER): New macro.
77229         (__SYSCALL_STRING): Do not do errno handling in asm.
77230         (__CLONE_SYSCALL_STRING): Delete.
77231         (__INTERNAL_SYSCALL_STRING): Delete.
77232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77233         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77234         (PSEUDO): Reimplement to do errno handling inline.
77235         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77236         (SYSCALL_ERROR_HANDLER): New macro.
77237         (__SYSCALL_STRING): Do not do errno handling in asm.
77238         (__CLONE_SYSCALL_STRING): Delete.
77239         (__INTERNAL_SYSCALL_STRING): Delete.
77240         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77241         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77242         i386.
77243         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77244         (inline_syscall*): Add 'err' argument.
77245         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77246         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77247         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77248         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77250         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77251         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77253 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77255         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77257 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77259         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77260         directive.
77262 2011-08-24  David S. Miller  <davem@davemloft.net>
77264         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77266 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77268         * elf/Makefile: Add rules to build and run unload8 test.
77269         * elf/unload8.c: New file.
77270         * elf/unload8mod1.c: New file.
77271         * elf/unload8mod1x.c: New file.
77272         * elf/unload8mod2.c: New file.
77273         * elf/unload8mod3.c: New file.
77275         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77276         it wasn't used.
77278 2011-08-23  David S. Miller  <davem@davemloft.net>
77280         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77281         subtract stack bias.
77282         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77283         %sp not %fp in calculations.
77284         (_JMPBUF_UNWINDS_ADJ): Likewise.
77286         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77287         (aio_suspend): Call it to force an exception region around the
77288         AIO_MISC_WAIT() invocation.
77290 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77292         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77293         backslash.
77295 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77297         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77298         protection macro.
77299         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77300         and <dl-machine.h>.
77301         (Elf64_FuncDesc): Remove.
77303 2011-08-22  David S. Miller  <davem@davemloft.net>
77305         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77306         sigaltstack check, add missing cfi directives.
77307         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77308         missing cfi directives, and sigaltstack handling.
77310 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77312         [BZ #11724]
77313         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77314         object is seen twice.
77315         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77317         * elf/Makefile (distribute): Add tst-initorder2.c.
77318         (tests): Add tst-initorder2.
77319         (modules-names): Add tst-initorder2a tst-initorder2b
77320         tst-initorder2c tst-initorder2d.  Add rules to build them.
77321         ($(objpfx)tst-initorder2.out): New rule.
77322         * elf/tst-initorder2.c: New file.
77323         * elf/tst-initorder2.exp: New file.
77325 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77327         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77329         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77330         dependencies back to end of function.
77332         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77333         $(elfobjdir)/ld.so.
77335 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77337         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77338         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77340         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77341         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77342         of __vdso_gettimeofday.
77343         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77344         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77345         attribute_hidden.
77346         (_libc_vdso_platform_setup): Remove initialization of
77347         __vdso_gettimeofday and __vdso_time.
77349 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77351         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77352         and fgetc_unlocked.
77353         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77354         getc_unlocked.
77356         * elf/dl-open.c (add_to_global): Report additions to the global scope
77357         for LD_DEBUG=scopes.
77358         (dl_open_worker): Also print scope of newly loaded dependencies.
77359         (_dl_show_scope): Indicate if there is no scope.
77361         [BZ #13114]
77362         * stdio-common/Makefile (tests): Add bug24.
77363         * stdio-common/bug24.c: New file.
77365 2011-08-19  Andreas Jaeger  <aj@suse.de>
77367         [BZ #13114]
77368         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77369         non-existant file when using close-on-exec mode.
77371 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77374         the very first instruction.
77376         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77377         the CFI state in the end.
77378         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77379         inclusion of dl-trampoline.h.
77380         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77382 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77384         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77385         expectations for long double.
77387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77388         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77390 2011-08-14  David S. Miller  <davem@davemloft.net>
77392         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77393         artificual limit depends upon the system page size.
77395 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77397         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77398         * resolv/Makefile: Define CFLAGS-libresolv.
77400 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77402         * nss/makedb.c (compute_tables): Make variables used in nested
77403         function static.
77405 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77407         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77408         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77409         if buffer was too small.
77411         * elf/pldd.c (main): Attach to all threads in the process.
77412         Rewrite /proc handling to use *at functions.
77414 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77416         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77417         specifies first scope to show.
77418         (dl_open_worker): Update callers.  Move printing scope of new
77419         object to before the relocation.
77420         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77421         * sysdeps/generic/ldsodefs.h: Update declaration.
77423         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77424         string for the scope number.
77426 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77428         * nscd/servicescache.c (cache_addserv): Make sure written is always
77429         initialized.
77431 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77433         * sysdeps/i386/i486/bits/atomic.h
77434         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77435         statement expression, so as to suppress "set but not used" warning.
77436         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77438         * string/strncat.c (STRNCAT): Use prototype definition.
77440         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77441         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77442         -Iprograms here.
77443         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77444         (localedef-modules): Add localedef.
77445         (locale-modules): Add locale.
77447         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77448         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77449         to avoid a warning.
77451 2011-08-14  David S. Miller  <davem@davemloft.net>
77453         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77454         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77456 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77458         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77459         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77460         * elf/rtld.c (dl_main): Set l_name of vDSO.
77461         Call _dl_show_scope when DL_DEBUG_SCOPES.
77462         (process_dl_debug): Recognize scopes flag and also set it for all.
77463         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77464         Declare _dl_show_scope.
77466         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77467         (do_dlopen): Pass caller_dlopen to dl_open.
77468         (__libc_dlopen_mode): Initialize caller_dlopen.
77470         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77471         of libc.  Make tolower call locale-independent.  Optimize a bit by
77472         using isdigit instead of isalnum.
77473         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77475 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77477         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77478         was a dependency or dynamically loaded.
77480 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77482         * intl/l10nflist.c: Allow architecture-specific pop function.
77483         * sysdeps/x86_64/l10nflist.c: New file.
77485         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77486         classification.
77488 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77490         * include/dirent.h: Add libc_hidden_proto for scandirat and
77491         scandirat64.  Don't declare __scandirat64.
77492         * dirent/scandirat.c: Add libc_hidden_def.
77493         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77494         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77496 2011-08-10  David S. Miller  <davem@davemloft.net>
77498         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77499         enum.
77500         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77501         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77502         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77504 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77506         * Versions.def [libc]: Add GLIBC_2.15.
77507         * dirent/Makefile (routines): Add scandirat and scandirat64.
77508         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77509         GLIBC_2.15.
77510         * dirent/dirent.h: Declare scandirat and scandirat64.
77511         * dirent/scandirat.c: New file.
77512         * dirent/scandirat64.c: New file.
77513         * sysdeps/wordsize-64/scandirat.c: New file.
77514         * sysdeps/wordsize-64/scandirat64.c: New file.
77515         * dirent/opendir.c: Define opendirat.
77516         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77517         using scandirat.
77518         * dirent/scandir64.c: Adjust for scandir.c change.
77519         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77520         __scandirat64, and __scandir_cancel_handler.
77521         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77522         additional parameter and use openat instead of open (outside of ld.so).
77523         Add new __opendir as wrapper around __opendirat.
77524         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77525         here without requiring old scandirat implementation.
77527 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77529         * dirent/scandir.c (cancel_handler): Renamed to
77530         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77531         defined.  Adjust users.
77532         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77533         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77535 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77537         * string/test-string.h (IMPL): Use __STRING to expand name and then
77538         stringify it.
77540         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77541         of cleanups.
77543 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77545         * string/Makefile: Update.
77546         (strop-tests): Append strncat.
77547         * string/test-wcscmp.c: New file.
77548         New comprehensive test for wcscmp.
77549         * string/test-strcmp.c: Update.
77550         (WIDE): New define.
77552 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77554         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77555         line.
77557 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77560         encoding to ACE if AI_IDN.
77562 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77565         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77567 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77569         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77570         Fix overflow bug in strncat.
77571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77573         * string/test-strncat.c: Update.
77574         Add new tests for checking overflow bugs.
77576 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77579         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77580         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77581         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77583         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77584         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77585         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77586         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77589         (USE_AS_STRCAT): Define.
77590         Add strcat and strncat support.
77591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77593 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77595         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77596         __n bigger than INT_MAX+1.
77597         (__strncmp_g): Likewise.
77599 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77601         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77602         * libio/stido.h: Likewise.
77604         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77605         (AF_NFC): Define.
77606         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77607         (AF_NFC): Define.
77609         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77610         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77611         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77612         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77613         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77615         [BZ #13021]
77616         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77617         installed.
77619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77620         typo.
77621         (_dl_x86_64_save_sse): Likewise.
77623 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77626         OSXSAVE.
77627         (_dl_x86_64_save_sse): Likewise.
77629         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77631         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77633 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77635         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77636         change.
77637         (_dl_x86_64_save_sse): Use correct AVX check.
77639 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77641         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77642         bug in strncpy/strncat.
77643         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77645 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77647         * string/tester.c (test_strcat): Add tests for different alignments
77648         of source and destination.
77649         (test_strncat): Likewise.
77651 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77653         [BZ #12852]
77654         * posix/glob.c (glob): Check passed in values before using them in
77655         expressions to avoid some overflows.
77656         (glob_in_dir): Likewise.
77658         [BZ #13007]
77659         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77660         check for AVX enablement so that we don't crash with old kernels and
77661         new hardware.
77662         * elf/tst-audit4.c: Add same checks here.
77663         * elf/tst-audit6.c: Likewise.
77665         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77667 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77669         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77671 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77673         * po/cs.po: Update from translation team.
77674         * po/bg.po: Likewise.
77676 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77678         * misc/sys/cdefs.h: Add support for const attribute.
77679         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77680         to gnu_dev_{major,minor,makedev} functions.
77682 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77684         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77686 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77688         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77689         strlen results.
77691 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77694         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77695         register in order to avoid conflicts with the soft frame pointer
77696         being held in r11 when necessary.
77697         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77698         (INTERNAL_VSYSCALL_NCS): Likewise.
77700 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77702         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77703         * elf/dl-fini.c (_dl_fini): Adjust caller.
77704         * elf/dl-close.c (_dl_close_worker): Likewise.
77705         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77707 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77709         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77710         "aux_cache->nlibs < 0".
77712         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77713         in the reload-count case.
77715 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77718         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77719         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77720         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77721         * sysdeps/x86_64/multiarch/strcat.S: New file.
77722         * sysdeps/x86_64/multiarch/strncat.S: New file.
77723         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77724         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77725         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77726         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77727         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77728         (USE_AS_STRCAT): Define.
77729         Add strcat and strncat support.
77730         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77732         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77733         * string/strncat.c: Update.
77734         (USE_AS_STRNCAT): Define.
77735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77736         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77737         and i7.
77738         * sysdeps/x86_64/multiarch/init-arch.h
77739         (bit_Prefer_PMINUB_for_stringop): New.
77740         (index_Prefer_PMINUB_for_stringop): Likewise.
77741         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77742         bit_Prefer_PMINUB_for_stringop.
77744 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77746         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77747         buffer64.
77748         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77749         of casting of buffer.
77750         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77751         buffer32 and buffer64.
77752         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77753         writes instead of casting of buffer.
77754         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77755         buffer32.
77756         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77757         casting of buffer.
77759 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77761         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77763 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77765         * nscd/nscd.c (termination_handler): Don't do anything for a database
77766         if it has not yet been initialized.
77768 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77770         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77772 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77774         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77776 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77778         * po/nl.po: Update from translation team.
77779         * po/sv.po: Likewise.
77781 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77783         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77784         now disallowed by GCC.
77786         * configure.in (use-default-link): Default to yes if a test -shared
77787         link meets our qualifications.
77788         * configure: Regenerated.
77790         * config.make.in (output-format): New variable.
77791         * configure.in: Check for ld --print-output-format support.
77792         * configure: Regenerated.
77793         * Makerules ($(common-objpfx)format.lds)
77794         [$(output-format) != unknown]: Just use $(output-format),
77795         instead of the linker-script munging.
77797 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77799         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77800         of $(common-objpfx)shlib.lds.
77801         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77803         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77804         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77806         * configure.in (-z relro check): Adjust test code to add a large
77807         writable data section after it.
77808         * configure: Regenerated.
77810 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77812         * configure.in (-z relro check): Fix test code to make the variable
77813         truly const.
77814         * configure: Regenerated.
77816 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77818         * nscd/nscd.h (struct traced_file): Define.
77819         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77820         elements.  Add traced_files.
77821         (inotify_fd): Declare.
77822         (register_traced_file): Declare.
77823         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77824         (inotify_fd): Export.
77825         (resolv_conf_descr): Remove.
77826         (nscd_init): Move inotify descriptor creation to main.
77827         Don't register files for notification here.
77828         (register_traced_file): New function.
77829         (invalidate_cache): Don't use reset_res to determine whether to call
77830         res_init, go through the list of registered files.
77831         (main_loop_poll): The inotify descriptors are now stored in the
77832         structures for the traced files.
77833         (main_loop_epoll): Likewise.
77834         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77835         to __nss_disable_nscd.
77836         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77837         for a database anymore.  Check the records for all the registered
77838         files instead.
77839         * nss/Makefile (libnss_files-routines): Add files-init.
77840         (libnss_db-routines): Add db-init.
77841         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77842         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77843         * nss/nss_db/db-init.c: New file.
77844         * nss/nss_files/files-init.c: New file.
77845         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77846         __nss_lookup_function.
77847         (__nss_lookup_function): Call nss_load_library.
77848         (nss_load_all_libraries): New function.
77849         (__nss_disable_nscd): Take parameter with callback function for files
77850         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77851         used for the cached services.
77852         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77853         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77854         options for features to all the files in nscd.
77856         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77858 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77860         * csu/elf-init.c (__libc_csu_init): Comment typo.
77862 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77864         * po/pl.po: Update from translation team.
77865         * po/ja.po: Likewise.
77866         * po/ru.po: Likewise.
77867         * po/ko.po: Likewise.
77868         * po/fr.po: Likewise.
77870 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77872         * configure.in (.ctors/.dtors header and trailer check):
77873         Use an empirical test on a built program.
77874         * configure: Regenerated.
77876         * configure.in (-z relro check): Use an empirical test on a built DSO.
77877         Detect, but do not require, on ia64.
77878         * configure: Regenerated.
77880         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77881         Update tests that use readelf to use $READELF instead.
77882         * configure: Regenerated.
77884 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77886         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77887         if the result is not used.
77889 2011-07-05  Andreas Jaeger  <aj@suse.de>
77891         [BZ#9696]
77892         * stdlib/tst-strtod.c: Add testcase.
77894 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77896         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77897         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77898         The latter has a higher limit.  Take additional parameter to pass to
77899         the new function.
77900         (__pathconf): Pass file to __statfs_link_max.
77901         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77902         __statfs_link_max.
77903         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77904         __statfs_link_max.
77906         [BZ #12868]
77907         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77908         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77909         Handle Lustre.
77910         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77911         (__statfs_filesize_max): Likewise.
77912         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77914 2011-07-05  Andreas Jaeger  <aj@suse.de>
77916         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77918 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77920         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77921         `status' variable.
77922         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77923         Likewise.
77925 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77927         * Makefile (strop-tests): Add strncat.
77928         * string/test-strncat.c: New file.
77930 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77932         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77934 2011-06-21  Andreas Jaeger  <aj@suse.de>
77936         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77937         Copy rule from iconvdata/Makefile.
77939 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77941         [BZ #12922]
77942         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77943         but no long options are defined, just return 'W'.
77945 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77947         [BZ #9696]
77948         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77950 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77952         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77953         netgroups to read.
77954         (innetgr): Likewise.
77956 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77958         * config.make.in (install_root): Default to $(DESTDIR).
77960 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77962         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77964 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77966         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77968         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77969         containing directory rather than embedding absolute directory names.
77971         * scripts/check-local-headers.sh: Rewritten using awk.
77972         Match by word, not by line.  Print error messages for matches.
77973         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77975         * Makerules [shlib-lds-flags empty]:
77976         ($(common-objpfx)libc_pic.opts): New target.
77977         ($(common-objpfx)libc_pic.os.clean): New target.
77978         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77980         * config.make.in (OBJCOPY): New variable.
77981         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77982         * configure: Regenerated.
77984         * config.make.in (use-default-link): New variable.
77985         * configure.in (use_default_link): Grok --with-default-link to set it.
77986         * configure: Regenerated.
77987         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77988         (shlib-lds, shlib-lds-flags): Define to empty.
77990         * Makerules (shlib-lds): New variable.
77991         (shlib-lds-flags): New variable.
77992         (build-shlib, build-moduile, build-module-asneeded): Use it.
77993         ($(common-objpfx)libc.so): Use $(shlib-lds).
77994         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77995         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77997         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77998         DT_FLAGS/DT_FLAGS_1 with zero flags.
78000         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78001         linker script munging.
78003 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78005         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78006         as 128-bit value.
78007         * crypt/sha512.c (sha512_process_block): Perform total addition using
78008         128-bit if possible.
78009         (__sha512_finish_ctx): Likewise.
78010         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78011         as 64-bit value.
78012         * crypt/sha256.c (SWAP64): Define.
78013         (sha256_process_block): Perform total addition using 64-bit if
78014         possible.
78015         (__sha256_finish_ctx): Likewise.
78017 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78019         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78021         * nscd/hstcache.c (cache_addhst): Likewise.
78022         * nscd/grpcache.c (cache_addgr): Likewise.
78023         * nscd/aicache.c (addhstaiX): Likewise.
78024         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78026 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78028         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78029         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78030         * nscd/hstcache.c (cache_addhst): Likewise.
78031         * nscd/grpcache.c (cache_addgr): Likewise.
78032         * nscd/aicache.c (addhstaiX): Likewise.
78034 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78036         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78037         domain only when needed.
78039 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78042         is always restored.
78044 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78046         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78047         are re-adding the entry.
78048         * nscd/servicescache.c (cache_addserv): Likewise.
78050 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78052         * sysdeps/generic/dl-irel.h: fix protection against multiple
78053         inclusions.
78054         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78056 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78058         [BZ #12935]
78059         * malloc/memusage.sh: Fix quoting in message.
78060         * debug/xtrace.sh: Likewise.
78062         * configure.in: Remove support for --experimental-malloc option, make
78063         it the default.
78064         * config.make.in: Likewise.
78065         * malloc/Makefile: Likewise.
78067 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78069         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78070         two-byte characters.
78072 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78074         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78075         AC_CACHE_CHECK invocation.
78076         * configure: Regenerated.
78078         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78080 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78082         [BZ #12350]
78083         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78084         bit from old_res_options.
78086         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78088         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78089         value type for setfct.
78091 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78094         __gettimeofday instead of gettimeofday.
78096 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78098         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78100 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78105         info.
78107 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78110         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78111         strcpy-sse2-unaligned strncpy-sse2-unaligned
78112         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78113         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78114         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78115         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78116         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78117         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78118         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78119         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78120         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78121         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78122         (STRCPY): Support SSE2 and SSSE3 versions.
78124 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78126         [BZ #12874]
78127         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78128         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78129         kernels which artificially limit size of requests.
78131 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78134         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78135         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78136         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78137         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78138         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78139         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78140         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78141         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78142         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78143         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78144         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78145         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78146         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78147         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78149         Enable unaligned load optimization for Intel Core i3, i5 and i7
78150         processors.
78151         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78152         Define.
78153         (index_Fast_Unaligned_Load): Define.
78154         (HAS_FAST_UNALIGNED_LOAD): Define.
78156 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78158         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78160 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78162         [BZ #12907]
78163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78164         until it is clear that the information is realy needed.
78165         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78167 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78171 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78173         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78174         /sys/devices/system/cpu/online if it is usable.
78176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78177         reading the information from the /proc filesystem to once a second.
78179 2011-06-21  Andreas Jaeger  <aj@suse.de>
78181         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78182         NULL after inclusion of kernel headers.
78184 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78186         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78187         calls to internal_setent.
78189         [BZ #12885]
78190         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78191         addresses using gethostbyname4_r ignore IPv4 addresses.
78193         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78194         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78196         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78198 2011-06-20  David S. Miller  <davem@davemloft.net>
78200         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78201         inclusions.
78202         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78204         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78205         (elf_irel): Use it.
78206         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78207         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78208         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78209         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78210         * sysdeps/x86_64/dl-irel.h: Likewise.
78212         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78213         * elf/dl-sym.c: Likewise.
78215 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78217         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78218         need to dereference resplen2.
78220 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78222         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78224 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78226         * Makeconfig: Define vardbdir and inst_vardbdir.
78227         * nss/Makefile: Add rules to install db-Makefile.
78229         * nss/nss_db/db-XXX.c: Cleanup.
78231         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78232         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78233         GLIBC_PRIVATE.
78234         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78235         * nss/makedb.c: Implement -g option to specify that value strings
78236         are generated and should not be added to table iterated over for
78237         get*ent calls.
78238         * nss/nss_db/db-initgroups.c: New file.
78240         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78241         interface.
78243         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78244         (internal_getgrouplist): Adjust to name change.
78245         Update use_initgroups_entry if this is not the first call.
78246         * nss/databases.def: Add initgroups entry.
78248         * nss/makedb.c (compute_tables): Check result of multiple hash table
78249         sizes to minimize maximum chain length.
78251 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78253         * Versions.def: Add entry for libnss_db.
78254         * shlib-versions: Likewise.
78255         * nss/Makefile: Add rules to build libnss_db.
78256         * nss/Versions: Add libnss_db information.  Organize libnss_files
78257         entries better.
78258         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78259         makedb progra.  Some minor improvements to generate smaller files.
78260         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78261         here from...
78262         * nss/makedb.c: ...here.
78263         Improve database format to be smaller and require less memory at
78264         runtime.
78265         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78266         db anymore.
78267         * nss/nss_db/db-netgrp.c: Likewise.
78268         * nss/nss_db/db-open.c: Likewise.
78269         * nss/nss_files/flies-XXX.x: Adjust comments.
78270         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78271         * nss/nss_files/files-grp.c: Likewise.
78272         * nss/nss_files/files-hosts.c: Likewise.
78273         * nss/nss_files/files-network.c: Likewise.
78274         * nss/nss_files/files-proto.c: Likewise.
78275         * nss/nss_files/files-pwd.c: Likewise.
78276         * nss/nss_files/files-rpc.c: Likewise.
78277         * nss/nss_files/files-service.c: Likewise.
78278         * nss/nss_files/files-sgrp.c: Likewise.
78279         * nss/nss_files/files-spwd.c: Likewise.
78280         * nss/nss_db/db-alias.c: Removed.
78281         * nss/nss_db/dummy-db.h: Removed.
78283 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78285         * nss/makedb.c: Rewritten to not use database library.
78286         * nss/Makefile: Update to build new makedb program.
78288 2011-06-14  Andreas Jaeger  <aj@suse.de>
78290         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78291         memset declaration.
78293 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78296         tmpbuf.
78298 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78300         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78301         * elf/Makefile ($(objpfx)ld.so): Likewise.
78303         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78304         Don't list ld.so twice in dependencies.
78306         * posix/bug-regex31.c: Include <stdlib.h>.
78308         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78310         * nis/nss_compat/compat-spwd.c
78311         (getspent_next_nss_netgr): Remove unused variable.
78312         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78314         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78315         nonmembers" output to use the right array.
78317         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78319         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78321         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78322         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78323         * catgets/gencat.c (read_input_file): Likewise.
78324         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78326         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78327         variable definition inside #if's controlling its use.
78329         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78331         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78333         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78335         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78336         unreachable code.
78338         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78340         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78341         * configure: Regenerated.
78343         * Makerules: Revert last change.
78344         * elf/Makefile: Likewise.
78346 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78348         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78349         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78350         (reloc-link): Likewise.
78352 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78354         * elf/Makefile: Add rules to build pldd.
78355         * elf/pldd.c: New file.
78356         * elf/pldd-xx.c: New file.
78358 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78360         * version.h: Update for 2.15 development version.
78362 2011-06-07  David S. Miller  <davem@davemloft.net>
78364         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78365         ifuncs.
78366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78367         elf_machine_lazy_rel): Likewise.
78368         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78370         elf_machine_lazy_rel): Likewise.
78371         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78372         dl_hwcap via passed in argument.
78373         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78374         Likewise.
78376 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78378         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78380 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78382         [BZ #12849]
78383         * manual/fdl-1.1.texi: New file, verbatim from:
78384         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78385         * manual/lgpl-2.1.texi: New file, verbatim from:
78386         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78387         * manual/Makefile (licenses): New variable, list those new file names.
78388         (texis): Use it.
78389         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78391         * manual/fdl.texi: File removed.
78392         * manual/lesser.texi: File removed.
78393         * manual/libc.texinfo (Copying, Documentation License):
78394         Use new @include file names, put @appendix directive before @include.
78396 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78398         [BZ #12841]
78399         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78400         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78401         (mq_open): Add __NTH.
78403 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78406         Assume Intel Core i3/i5/i7 processor if AVX is available.
78408 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78410         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78411         typo.
78413 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78415         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78416         memory.  Use alloca_account.  Fix memory leak when retrying.
78418 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78420         * version.h (RELEASE): Bump for 2.14 release.
78421         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78423         * config.make.in (RANLIB): Remove entry.
78425 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78427         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78428         (libc.pot): Work around missing support for .ksh extension in xgettext.
78430         [BZ #12684]
78431         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78432         if both request failed.
78433         (send_dg): In case of server errors clear resplen or *resplen2.
78435         [BZ #12454]
78436         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78437         when there are multiple maps.
78438         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78439         (_dl_fini): Remove test here.
78441         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78443 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78445         [BZ #12350]
78446         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78447         bit from old_res_options.
78448         (gaih_inet): Likewise.
78450         [BZ #11099]
78451         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78452         as signed.
78454         * resolv/res_init.c (res_setoptions): Make the code more compact.
78456         [BZ #11558]
78457         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78458         set RES_USEVC.
78460         [BZ #11634]
78461         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78463         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78465         [BZ #11781]
78466         * malloc/malloc.h: Declare malloc hook variables as volatile.
78468         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78469         in last patch.
78471         [BZ #11799]
78472         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78473         raise in the comment.
78474         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78476         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78478 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78480         [BZ #12811]
78481         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78482         grow the buffers more if it already has to be sufficient.
78483         (build_wcs_upper_buffer): Likewise.
78484         * posix/regexec.c (check_matching): Likewise.
78485         (clean_state_log_if_needed): Likewise.
78486         (extend_buffers): Don't enlarge buffers beyond size of the input
78487         buffer.
78488         Patches mostly by Emil Wojak <emil@wojak.eu>.
78489         * posix/bug-regex32.c: New file.
78490         * posix/Makefile (tests): Add bug-regex32.
78492         * locale/findlocale.c (_nl_find_locale): Return right away if
78493         _nl_explode_name failed.
78494         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78496         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78498         * debug/xtrace.sh: Unify messages.
78499         * malloc/memusage.sh: Likewise.
78501         [BZ #12813]
78502         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78503         time symbol from vDSO.  Substitute with vsyscall if not available.
78504         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78505         __vdso_time.
78507         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78508         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78509         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78510         Add sendmmsg and internal_sendmmsg.
78511         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78512         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78513         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78515         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78516         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78517         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78519 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78521         [BZ #12813]
78522         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78523         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78524         available.
78525         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78526         __vdso_getcpu.
78528         [BZ #12814]
78529         * iconvdata/Makefile (tests): Add bug-iconv9.
78530         * iconvdata/bug-iconv9.c: New file.
78532 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78534         [BZ #12814]
78535         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78537 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78539         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78540         (struct user_regs_struct): Change intcs field back to cs.
78542 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78544         * po/ja.po: Update from translation team.
78546 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78548         [BZ #12795]
78549         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78550         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78552 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78554         * stdlib/longlong.h: Update from GCC.
78556 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78558         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78559         parameter name.
78560         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78561         Add parameter name.
78562         (__sysconf): Pass it down.
78564 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78566         [BZ #12671]
78567         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78568         some situations.
78569         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78570         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78571         add in in __libc_use_alloca calls.  Adjust callers.
78572         (glob): Use malloc in some situations.
78574         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78575         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78576         pltexit.
78578 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78580         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78581         and CLOCK_BOOTTIME_ALARM.
78583         [BZ #12782]
78584         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78585         is returned.
78587         * string/_strerror.c (__strerror_r): Print negative errors as signed
78588         numbers.
78590         [BZ #12777]
78591         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78592         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78593         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78595         * configure.in: Fix typo in redirection and correct removal of test
78596         files in two cases.
78598         [BZ #12788]
78599         * locale/setlocale.c (new_composite_name): Fix test to check for
78600         identical name of all categories.
78602         [BZ #12792]
78603         * libio/filedoalloc.c (local_isatty): New function.
78604         (_IO_file_doallocate): Use local_isatty.
78605         * stdio-common/perror.c (perror): In case a new stream is used
78606         forward the stream error.
78607         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78608         error flag.
78610 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78612         [BZ #11884]
78613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78614         alloca.
78615         * include/alloca.h (extend_alloca_account): Define.
78617         [BZ #11857]
78618         * posix/regex.h: Fix comments with documentation of user-accessible
78619         fields after compilation and describe correct free'ing of pattern
78620         after re_compile_pattern.
78621         Patch by Reuben Thomas <rrt@sc3d.org>.
78623 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78625         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78626         and -mno-altivec to prevent the compiler from using Altivec and/or
78627         VSX instructions when the corresponding registers are not available.
78629 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78631         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78633 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78635         * libio/freopen.c (freopen): Use __dup2, not dup2.
78636         * libio/freopen64.c (freopen64): Likewise.
78638 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78640         [BZ #12775]
78641         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78642         * math/Makefile (tests): Add test-powl.
78643         (CFLAGS-test-powl.c): Define.
78644         * math/test-powl.c: New file.
78646 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78648         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78650 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78652         [BZ #11837]
78653         * iconvdata/gb18030.c: Update to GB18020-2005.
78655 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78657         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78658         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78659         Patch by Aharon Robbins <arnold@skeeve.com>.
78661         [BZ #11892]
78662         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78663         on the stack.
78665         [BZ #11895]
78666         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78667         through underflows.
78669         [BZ #12766]
78670         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78671         point to strings before performing equality test for error_one_per_line
78672         mode.
78674         [BZ #11697]
78675         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78677         [BZ #11820]
78678         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78679         (struct user_fpregs_struct): Avoid __uint*_t types.
78681         [BZ #6420]
78682         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78683         symbol info.  Use it instead of calling _dl_addr locally.
78684         (lock_and_info): New function.
78685         (tr_freehook): Call lock_and_info and pass symbol info as additional
78686         parameter to tr_where.
78687         (tr_mallochook): Likewise.
78688         (tr_reallochook): Likewise.
78689         (tr_memalignhook): Likewise.
78691         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78692         used and couldn't be at all thread-safe.
78694 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78696         * libio/freopen.c (freopen): Don't close old file descriptor
78697         before the new one is opened.  Instead dup the new file descriptor
78698         to the old one after the new stream is created.
78699         * libio/freopen64.c (freopen64): Likewise.
78700         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78701         * libio/fileops.c (_IO_new_file_close_it): Handle new
78702         _IO_FLAGS2_NOCLOSE flag.
78703         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78704         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78705         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78706         _IO_FLAGS2_NOCLOSE flag.
78707         * include/unistd.h: Add hidden_proto for dup3.
78708         Define __have_dup3.
78709         * io/dup3.c: Define hidden symbol.
78710         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78712         [BZ #7101]
78713         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78714         when an incomplete long option is used.
78715         * posix/tst-getopt_long1.c: New file.
78716         * posix/Makefile (tests): Add tst-getopt_long1.
78718         [BZ #10138]
78719         * scripts/config.guess: Update from autoconf-2.68.
78720         * scripts/config.sub: Likewise.
78722         [BZ #10157]
78723         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78724         tests into ...
78725         (has_cpuclock): ...this.  New function.
78726         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78727         macro here based on has_cpuclock code.
78729         [BZ #10149]
78730         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78731         First byte (not low byte) is now always NUL.
78732         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78735         Use non-cancelable interfaces.
78737         [BZ #9809]
78738         * locale/iso-639.def: Add entry for Sorani.
78740         [BZ #11901]
78741         * include/stdlib.h: Move include protection to the right place.
78742         Define abort_msg_s.  Declare __abort_msg with it.
78743         * stdlib/abort.c (__abort_msg): Adjust type.
78744         * assert/assert.c (__assert_fail_base): New function.  Majority
78745         of code from __assert_fail.  Allocate memory for __abort_msg with
78746         mmap.
78747         (__assert_fail): Now call __assert_fail_base.
78748         * assert/assert-perr.c: Remove bulk of implementation.  Use
78749         __assert_fail_base.
78750         * include/assert.hL Declare __assert_fail_base.
78751         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78752         mmap.
78753         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78755 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78757         [BZ #11952]
78758         [BZ #12453]
78759         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78760         until all modules are registered in the DTV.
78761         * elf/Makefile: Add rules to build and run tst-tls19.
78762         * elf/tst-tls19.c: New file.
78763         * elf/tst-tls19mod1.c: New file.
78764         * elf/tst-tls19mod2.c: New file.
78765         * elf/tst-tls19mod3.c: New file.
78766         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78768         [BZ #12083]
78769         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78770         correctly.
78772         [BZ #12601]
78773         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78774         two-byte sequence errors.
78775         * iconvdata/Makefile (tests): Add bug-iconv8.
78776         * iconvdata/bug-iconv8.c: New file.
78778         [BZ #12626]
78779         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78780         buf2 definition.
78782         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78784         [BZ #12432]
78785         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78786         (dummy_getcfa): New function.
78787         (init): Get _Unwind_GetCFA address, use dummy if not found.
78788         (backtrace_helper): In recursion check, also check whether CFA changes.
78789         (__backtrace): Completely initialize arg.
78791         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78792         storing incomplete byte sequence in state object.  Avoid testing for
78793         guaranteed too small input if we know there is enough data available.
78795 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78797         * Makeconfig (+link-pie): Indent.
78798         * Rules (binaries-pie): Define if $(have-fpie) and
78799         $(build-shared).
78800         (binaries-shared): Also filter out $(binaries-pie).
78801         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78802         * nscd/Makefile (others-pie): Add nscd.
78803         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78804         ($(objpfx)nscd): Remove command override.
78805         * login/Makefile (others-pie): Add pt_chown.
78806         ($(objpfx)pt_chown): Remove command override.
78807         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78808         remove command overrides.
78810 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78812         * libio/tst_putwc.c: Fix error messages.
78814         [BZ #12724]
78815         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78816         currently writing and seek to current position when not.
78817         * libio/Makefile (tests): Add bug-fclose1.
78818         * libio/bug-fclose1.c: New file.
78820 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78822         [BZ #12511]
78823         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78824         don't set DF_1_NODELETE here.
78825         (do_lookup_x): When entering new entry test for copy relocation
78826         and if necessary set DF_1_NODELETE flag.
78827         * elf/tst-unique4.cc: New file.
78828         * elf/tst-unique4.h: New file.
78829         * elf/tst-unique4lib.cc: New file.
78830         * elf/Makefile: Add rules to build and run tst-unique4.
78831         Patch by Piotr Bury <pbury@goahead.com>.
78833 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78835         [BZ #12052]
78836         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78838         [BZ #12625]
78839         * misc/mntent_r.c (addmntent): Flush the stream after the output
78841         [BZ #12393]
78842         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78843         (is_trusted_path_normalize): Skip initial colon.  Append slash
78844         to empty buffer.  Duplicate is_trusted_path code but allow
78845         constructed patch to be prefix.
78846         (is_dst): Allow $ORIGIN followed by /.
78847         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78848         Correct testing of result of is_trusted_path_normalize
78849         (decompose_rpath): Fix warning.
78851 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78853         [BZ #11257]
78854         * grp/initgroups.c (internal_getgrouplist): When we found the service
78855         list through the initgroups entry in nsswitch.conf do not always
78856         continue on a successful lookup.  Don't always use the
78857         __nss_group_database value if it is set.
78858         * nss/nsswitch.conf (initgroups): Change action for successful db
78859         lookup to continue for compatibility.
78861 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78863         [BZ #11532]
78864         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78865         and CP774 modules.
78866         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78867         and CP774 modules.
78868         * iconvdata/tst-tables.sh: Likewise.
78869         * iconvdata/cp770.c: New file.
78870         * iconvdata/cp771.c: New file.
78871         * iconvdata/cp772.c: New file.
78872         * iconvdata/cp773.c: New file.
78873         * iconvdata/cp774.c: New file.
78874         * iconvdata/testdata/CP770: New file.
78875         * iconvdata/testdata/CP770..UTF8: New file.
78876         * iconvdata/testdata/CP771: New file.
78877         * iconvdata/testdata/CP771..UTF8: New file.
78878         * iconvdata/testdata/CP772: New file.
78879         * iconvdata/testdata/CP772..UTF8: New file.
78880         * iconvdata/testdata/CP773: New file.
78881         * iconvdata/testdata/CP773..UTF8: New file.
78882         * iconvdata/testdata/CP774: New file.
78883         * iconvdata/testdata/CP774..UTF8: New file.
78885         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78886         END CHARMAP line.
78887         * iconvdata/gen-8bit-gap.sh: Likewise.
78888         * iconvdata/gen-8bit.sh: Likewise.
78890         * locale/iso-639.def: Add ary entry.
78892         [BZ #11258]
78893         * locale/C-translit.h.in: Add U20A1 transliteration.
78895         [BZ #12178]
78896         * locale/iso-639.def: Add wae entry.
78897         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78899         [BZ #12545]
78900         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78901         for n.
78903         [BZ #12711]
78904         * locale/C-translit.h.in: Add entry for U20B9.
78905         Patch by pravin.d.s@gmail.com.
78907 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78909         [BZ #12713]
78910         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78911         ENAMETOOLONG use generic getcwd.
78912         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78913         in rtld.  Use *stat64.
78914         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78915         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78916         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78917         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78918         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78919         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78920         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78921         __fstatat64 macros.
78922         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78923         * dirent/rewinddir.c: Add libc_hidden_def.
78924         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78925         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78927         * include/dirent.h (__alloc_dir): Add flags parameter.
78928         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78929         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78930         __alloc_dir.
78931         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78932         from fdopendir if O_CLOEXEC is already set.
78934 2011-03-15  Alan Modra  <amodra@gmail.com>
78936         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78937         l_tls_firstbyte_offset non-zero.  Save padding offset in
78938         l_tls_firstbyte_offset for later use.
78939         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78940         freeing static tls block.
78942 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78944         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78945         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78946         being defined by the kernel headers.
78948 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78950         [BZ #12734]
78951         * resolv/resolv.h: Define RES_NOTLDQUERY.
78952         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78953         no-tld-query and set RES_NOTLDQUERY.
78954         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78955         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78956         modern BIND to search name as TLD unless forbidden.
78958 2011-05-07  Petr Baudis  <pasky@suse.cz>
78959             Ulrich Drepper  <drepper@gmail.com>
78961         [BZ #12393]
78962         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78963         (is_trusted_path): ...to here.
78964         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78965         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78966         using is_trusted_path_normalize() in setuid scripts.
78968 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78970         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78971         __BEGIN/__END_DECLS.
78973 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78975         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78976         NSS_STATUS_NOTFOUND if no record was found.
78978 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78980         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78981         (headers-not-in-tirpc): Remove rpc/netdb.h
78982         * resolv/netdb.h: Revert last change.
78984 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78986         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78987         circular dependency between libgcc.a and libc.a.
78989 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78991         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78992         * nis/Makefile: Don't install rpcsvc/*.
78993         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78994         instead of <rpc/types.h>.
78995         (MAXHOSTNAMELEN): Define.
78997 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78999         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79001 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79003         [BZ #12714]
79004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79005         gethostbyname4_r when IPv6 results are possible.
79007 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79009         [BZ #12723]
79010         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79011         _PC_PIPE_BUF handling.
79013 2011-04-30  Bruno Haible  <bruno@clisp.org>
79015         [BZ #12717]
79016         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79017         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79018         to 'int'.
79019         * inet/getnameinfo.c (getnameinfo): Likewise.
79021 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79023         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79024         to groups setting in database lookup.
79025         * nss/nsswitch.conf: Add initgroups entry.
79027 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79029         [BZ #12685]
79030         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79031         mode string.
79032         Patch by Eric Blake <eblake@redhat.com>.
79034 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79036         * sunrpc/Makefile (need-export-routines): Add svc_run.
79037         (routines): Remove svc_run.
79038         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79039         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79040         * sunrpc/svc_run.c (svc_run): Likewise.
79041         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79043 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79045         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79046         problem in reallocation in last patch.
79048 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79050         * sunrpc/Makefile: Move inclusion of Rules.
79052 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79054         * nss/nss_files/files-initgroups.c: New file.
79055         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79056         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79057         _nss_files_initgroups_dyn.
79059 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79061         * elf/elf.h (R_ARM_IRELATIVE): Define.
79063 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79065         * po/ru.po: Update from translation team.
79067 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79069         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79070         dependencies.
79072 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79074         [BZ #12653]
79075         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79076         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79079         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79081 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79083         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79084         differing bytes.
79085         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79086         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79087         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79089 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79091         [BZ #12420]
79092         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79093         storing it.
79094         * stdlib/bug-getcontext.c: New file.
79095         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79097 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79099         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79100         instructions into .machine "z9-109".
79101         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79102         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79104 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79106         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79107         between environment variables and auxiliary vector.
79109 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79111         * Makefile: Add rules to build linkobj/libc.so.
79112         * include/libc-symbols.h: Define libc_hidden_nolink.
79113         * include/rpc/auth.h: Mark functions which are to be hidden.
79114         * include/rpc/auth_des.h: Likewise.
79115         * include/rpc/auth_unix.h: Likewise.
79116         * include/rpc/clnt.h: Likewise.
79117         * include/rpc/des_crypt.h: Likewise.
79118         * include/rpc/key_prot.h: Likewise.
79119         * include/rpc/pmap_clnt.h: Likewise.
79120         * include/rpc/pmap_prot.h: Likewise.
79121         * include/rpc/pmap_rmt.h: Likewise.
79122         * include/rpc/rpc_msg.h: Likewise.
79123         * include/rpc/svc.h: Likewise.
79124         * include/rpc/svc_auth.h: Likewise.
79125         * include/rpc/xdr.h: Likewise.
79126         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79127         * nss/Makefile: Likewise.
79128         * sunrpc/Makefile: Don't install headers.  Build library with normal
79129         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79130         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79131         for the compat linking library.  Remove use of INTDEF/INTUSE.
79132         * sunrpc/auth_none.c: Likewise.
79133         * sunrpc/auth_unix.c: Likewise.
79134         * sunrpc/authdes_prot.c: Likewise.
79135         * sunrpc/authuxprot.c: Likewise.
79136         * sunrpc/clnt_gen.c: Likewise.
79137         * sunrpc/clnt_perr.c: Likewise.
79138         * sunrpc/clnt_raw.c: Likewise.
79139         * sunrpc/clnt_simp.c: Likewise.
79140         * sunrpc/clnt_tcp.c: Likewise.
79141         * sunrpc/clnt_udp.c: Likewise.
79142         * sunrpc/clnt_unix.c: Likewise.
79143         * sunrpc/des_crypt.c: Likewise.
79144         * sunrpc/des_soft.c: Likewise.
79145         * sunrpc/get_myaddr.c: Likewise.
79146         * sunrpc/key_call.c: Likewise.
79147         * sunrpc/key_prot.c: Likewise.
79148         * sunrpc/netname.c: Likewise.
79149         * sunrpc/pm_getmaps.c: Likewise.
79150         * sunrpc/pm_getport.c: Likewise.
79151         * sunrpc/pmap_clnt.c: Likewise.
79152         * sunrpc/pmap_prot.c: Likewise.
79153         * sunrpc/pmap_prot2.c: Likewise.
79154         * sunrpc/pmap_rmt.c: Likewise.
79155         * sunrpc/publickey.c: Likewise.
79156         * sunrpc/rpc_cmsg.c: Likewise.
79157         * sunrpc/rpc_common.c: Likewise.
79158         * sunrpc/rpc_dtable.c: Likewise.
79159         * sunrpc/rpc_prot.c: Likewise.
79160         * sunrpc/rpc_thread.c: Likewise.
79161         * sunrpc/rtime.c: Likewise.
79162         * sunrpc/svc.c: Likewise.
79163         * sunrpc/svc_auth.c: Likewise.
79164         * sunrpc/svc_authux.c: Likewise.
79165         * sunrpc/svc_raw.c: Likewise.
79166         * sunrpc/svc_run.c: Likewise.
79167         * sunrpc/svc_simple.c: Likewise.
79168         * sunrpc/svc_tcp.c: Likewise.
79169         * sunrpc/svc_udp.c: Likewise.
79170         * sunrpc/svc_unix.c: Likewise.
79171         * sunrpc/svcauth_des.c: Likewise.
79172         * sunrpc/xcrypt.c: Likewise.
79173         * sunrpc/xdr.c: Likewise.
79174         * sunrpc/xdr_array.c: Likewise.
79175         * sunrpc/xdr_float.c: Likewise.
79176         * sunrpc/xdr_intXX_t.c: Likewise.
79177         * sunrpc/xdr_mem.c: Likewise.
79178         * sunrpc/xdr_rec.c: Likewise.
79179         * sunrpc/xdr_ref.c: Likewise.
79180         * sunrpc/xdr_sizeof.c: Likewise.
79181         * sunrpc/xdr_stdio.c: Likewise.
79183 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79185         [BZ #12650]
79186         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79187         * sysdeps/ia64/dl-tls.h: Likewise.
79188         * sysdeps/powerpc/dl-tls.h: Likewise.
79189         * sysdeps/s390/dl-tls.h: Likewise.
79190         * sysdeps/sh/dl-tls.h: Likewise.
79191         * sysdeps/sparc/dl-tls.h: Likewise.
79192         * sysdeps/x86_64/dl-tls.h: Likewise.
79193         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79195 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79197         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79198         rpath element also skip the following colon.
79199         (expand_dynamic_string_token): Add is_path parameter and pass
79200         down to DL_DST_REQUIRED and _dl_dst_substitute.
79201         (decompose_rpath): Call expand_dynamic_string_token with
79202         non-zero is_path.  Ignore empty rpaths.
79203         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79204         with zero is_path.
79206 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79209         Make cancelable.
79211 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79213         [BZ #12655]
79214         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79215         Patch by Filipe David Manana <fdmanana@apache.org>.
79217 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79220         Maintain aligned stack.
79221         (CHECK_RSP): Remove unused macro.
79223 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79225         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79226         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79228 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79230         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79232         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79234 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79236         [BZ #12518]
79237         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79238         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79239         * sysdeps/x86_64/memmove.c: New file.
79240         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79241         (memcpy): Renamed to ...
79242         (__new_memcpy): This.
79243         (memcpy): Provide GLIBC_2_14 memcpy.
79244         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79245         (memcpy): Provide GLIBC_2_2_5 memcpy.
79247 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79249         [BZ #12631]
79250         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79252 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79254         * misc/syncfs.c: New file.
79255         * misc/Makefile (routines): Add syncfs.
79256         * posix/unistd.h: Declare syncfs.
79257         * sysdeps/unix/syscalls.list: Add syncfs.
79259 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79261         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79262         open_by_handle_at.
79263         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79266         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79268         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79271 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79274         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79275         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79276         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79277         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79279         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79281         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79282         sync_file_range.c with -fexceptions.
79283         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79284         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79285         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79286         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79287         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79288         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79290         sync_file_range as cancellation point
79291         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79292         now a wrapper around __call_sync_file_range with cancellation handling.
79293         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79294         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79295         function name to __call_sync_file_range.
79296         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79297         Add call_sync_file_range.
79299 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79302         bits/timex.h.
79304 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79306         * iconv/iconv.h: Fix typo in comment.
79307         * io/fcntl.h: Likewise.
79308         * libio/stdio.h: Likewise.
79309         * posix/spawn.h: Likewise.
79310         * posix/unistd.h: Likewise.
79311         * stdlib/stdlib.h: Likewise.
79312         * time/time.h: Likewise.
79313         * wcsmbs/wchar.h: Likewise.
79315         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79316         open_by_handle): Add.
79317         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79318         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79319         Augment a few comments.
79320         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79322         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79325         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79326         open_by_handle.
79328         * io/fcntl.h (AT_EMPTY_PATH): Define.
79330 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79332         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79333         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79334         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79335         to...
79336         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79337         * Versions.def: Add GLIBC_2.14.
79338         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79339         Export.
79341 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79343         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79344         round counter.
79345         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79347 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79349         [BZ #12597]
79350         * string/test-strncmp.c (do_page_test): New function.
79351         (check2): Likewise.
79352         (test_main): Call check2.
79353         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79355 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79357         [BZ #12587]
79358         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79359         Handle cache information in CPU leaf 4.
79360         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79362 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79364         [BZ #12583]
79365         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79366         character representation.
79367         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79369 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79371         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79372         END(__isnan) to END(__isnanf) to match function entry point/label
79373         EALIGN(__isnanf,...).
79375 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79377         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79379 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79381         [BZ #12510]
79382         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79383         copy from the symbol referenced in the relocation to initialize the
79384         used variable.
79385         Patch by Piotr Bury <pbury@goahead.com>.
79386         * elf/Makefile: Add rules to build and tst-unique3.
79387         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79388         * elf/tst-unique3.cc: New file.
79389         * elf/tst-unique3.h: New file.
79390         * elf/tst-unique3lib.cc: New file.
79391         * elf/tst-unique3lib2.cc: New file.
79393         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79395 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79397         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79398         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79399         to _start.
79401 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79403         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79404         to-be-loaded object along a path to loader is ld.so.
79406 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79407             Ulrich Drepper  <drepper@gmail.com>
79409         * sysdeps/x86_64/memset.S: After aligning destination, code
79410         branches to different locations depending on the value of
79411         misalignment, when multiarch is enabled. Fix this.
79413 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79415         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79416         Set _x86_64_preferred_memory_instruction for AMD processsors.
79417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79418         Set bit_Prefer_SSE_for_memop for AMD processors.
79420 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79422         * libio/fmemopen.c (fmemopen): Optimize a bit.
79424 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79426         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79428 2011-03-03  Roland McGrath  <roland@redhat.com>
79430         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79432 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79434         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79435         __bzero_ultra1 instead of __memset_ultra1.
79437 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79438             Ulrich Drepper  <drepper@gmail.com>
79440         [BZ #12509]
79441         * include/link.h (struct link_map): Add l_orig_initfini.
79442         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79443         returning unsuccessfully.
79444         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79445         close of a file loaded at startup, restore the original l_initfini
79446         list.
79447         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79448         list, store the pointer.
79449         * elf/Makefile ($(objpfx)noload-mem): New rule.
79450         (noload-ENV): Define.
79451         (tests): Add $(objpfx)noload-mem.
79452         * elf/noload.c: Include <memcheck.h>.
79453         (main): Call mtrace.  Close all opened handles.
79455 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79457         [BZ #12454]
79458         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79459         dependencies are missing.
79461 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79463         Fix __if_freereq crash: Unlike the generic version which uses free,
79464         Hurd needs munmap.
79465         * sysdeps/mach/hurd/ifreq.h: New file.
79467 2011-01-27  Petr Baudis  <pasky@suse.cz>
79468             Ulrich Drepper  <drepper@gmail.com>
79470         [BZ 12445]#
79471         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79472         to extend_alloca().
79473         * stdio-common/bug23.c: New file.
79474         * stdio-common/Makefile (tests): Add bug23.
79476 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79477             Ulrich Drepper  <drepper@gmail.com>
79479         [BZ #12489]
79480         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79481         before performing relro protection.  At old place add assertion
79482         to make sure nothing changed.
79484 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79485             Glauber de Oliveira Costa  <glommer@gmail.com>
79487         * elf/elf.h: Add new ARM TLS relocs.
79489 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79492         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79493         cast from r3.
79494         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79495         'tests' variable.
79496         * sysdeps/wordsize-64/tst-writev.c: New file.
79498 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79500         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79501         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79502         insns in _dl_start to prevent a TOC reference before relocs are
79503         resolved.
79505 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79507         [BZ #12469]
79508         * Makeconfig: Remove RANLIB definition.
79509         * Makerules: Don't use RANLIB.
79510         * aclocal.m4: Remove ranlib test.
79511         * configure.in: No need to check for ranlib.
79512         * elf/rtld-Rules: Don't use RANLIB.
79514 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79516         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79517         protection macro.
79518         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79519         inclusion protection macro.
79521         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79522         SIGRTMIN and SIGRTMAX and print information in that case only when
79523         SIGRTMIN is defined.
79525 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79527         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79528         arginfo fn returning -1.
79530         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79531         and thousands string is zero terminated.
79533 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79536         sysdeps/unix/sysv/linux/bits/socket.h.
79538 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79540         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79541         (__CPU_COUNT): Remove old macros.
79542         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79543         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79544         (__CPU_ALLOC, __CPU_FREE): Add macros.
79545         (__sched_cpualloc, __sched_cpufree): Add declarations.
79547 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79549         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79550         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79551         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79552         (readdhstai): Return value of addhstaiX call.
79553         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79554         (addgrbyX): Return value returned by cache_addgr.
79555         (readdgrbyname): Return value returned by addgrbyX.
79556         (readdgrbygid): Likewise.
79557         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79558         (addpwbyX): Return value returned by cache_addpw.
79559         (readdpwbyname): Return value returned by addhstbyX.
79560         (readdpwbyuid): Likewise.
79561         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79562         (addservbyX): Return value returned by cache_addserv.
79563         (readdservbyname): Return value returned by addservbyX:
79564         (readdservbyport): Likewise.
79565         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79566         (addhstbyX): Return value returned by cache_addhst.
79567         (readdhstbyname): Return value returned by addhstbyX.
79568         (readdhstbyaddr): Likewise.
79569         (readdhstbynamev6): Likewise.
79570         (readdhstbyaddrv6): Likewise.
79571         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79572         (readdinitgroups): Return value returned by addinitgroupsX.
79573         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79574         (prune_cache): Keep track of timeout value of re-added entries.
79575         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79576         * nscd/nscd.h: Adjust prototypes of readd* functions.
79578 2011-02-04  Roland McGrath  <roland@redhat.com>
79580         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79581         (nis_stats): Likewise.
79582         * nis/nis_modify.c (nis_modify): Likewise.
79583         * nis/nis_remove.c (nis_remove): Likewise.
79584         * nis/nis_add.c (nis_add): Likewise.
79586         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79588         * posix/fnmatch_loop.c: Add some consts.
79590         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79592 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79594         [BZ #12460]
79595         * config.make.in (config-cflags-novzeroupper): Define.
79596         * configure.in: Substitute libc_cv_cc_novzeroupper.
79597         * elf/Makefile (AVX-CFLAGS): Define.
79598         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79599         (CFLAGS-tst-auditmod4a.c): Likewise.
79600         (CFLAGS-tst-auditmod4b.c): Likewise.
79601         (CFLAGS-tst-auditmod6b.c): Likewise.
79602         (CFLAGS-tst-auditmod6c.c): Likewise.
79603         (CFLAGS-tst-auditmod7b.c): Likewise.
79604         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79606 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79608         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79609         function to the callback.
79610         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79612 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79614         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79615         of errno.
79617 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79619         [BZ #11724]
79620         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79621         of constructors.
79622         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79623         of destructors.
79624         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79626         [BZ #11724]
79627         * elf/Makefile: Add rules to build and run new test.
79628         * elf/tst-initorder.c: New file.
79629         * elf/tst-initorder.exp: New file.
79630         * elf/tst-initordera1.c: New file.
79631         * elf/tst-initordera2.c: New file.
79632         * elf/tst-initordera3.c: New file.
79633         * elf/tst-initordera4.c: New file.
79634         * elf/tst-initorderb1.c: New file.
79635         * elf/tst-initorderb2.c: New file.
79636         * elf/tst-order-a1.c: New file.
79637         * elf/tst-order-a2.c: New file.
79638         * elf/tst-order-a3.c: New file.
79639         * elf/tst-order-a4.c: New file.
79640         * elf/tst-order-b1.c: New file.
79641         * elf/tst-order-b2.c: New file.
79642         * elf/tst-order-main.c: New file.
79643         New test case by George Gensure <werkt0@gmail.com>.
79645 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79648         decoding ACE if AI_CANONIDN.
79650 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79652         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79654 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79656         * version.h (RELEASE): Bump for 2.13 release.
79657         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79659         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79661         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79662         MADV_NOHUGEPAGE.
79663         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79664         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79665         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79666         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79667         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79668         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79670         * posix/getconf.c: Update copyright year.
79671         * catgets/gencat.c: Likewise.
79672         * csu/version.c: Likewise.
79673         * debug/catchsegv.sh: Likewise.
79674         * debug/xtrace.sh: Likewise.
79675         * elf/ldconfig.c: Likewise.
79676         * elf/ldd.bash.in: Likewise.
79677         * elf/sprof.c (print_version): Likewise.
79678         * iconv/iconv_prog.c: Likewise.
79679         * iconv/iconvconfig.c: Likewise.
79680         * locale/programs/locale.c: Likewise.
79681         * locale/programs/localedef.c: Likewise.
79682         * malloc/memusage.sh: Likewise.
79683         * malloc/mtrace.pl: Likewise.
79684         * nscd/nscd.c (print_version): Likewise.
79685         * nss/getent.c: Likewise.
79687         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79688         PF_CAIF, and PF_ALG.
79689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79691 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79693         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79694         (modules-names): Use them.
79695         (ifunc-test-modules, ifunc-pie-tests): Define.
79696         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79697         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79698         (test-extras): Likewise.
79699         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79700         $(compile-command.c).
79701         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79702         (all-built-dso): Define.
79703         (check-textrel.out, check-execstack.out): Depend on it.
79705         * configure.in: Don't override --enable-multi-arch.
79707 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79709         [BZ #6812]
79710         * nscd/hstcache.c (tryagain): Define.
79711         (cache_addhst): Return tryagain not notfound for temporary errors.
79712         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79713         failed.
79715 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79717         [BZ #10563]
79718         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79719         to make the syscall.
79720         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79722         [BZ #12378]
79723         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79724         and fall back to matching as normal character if the string ends before
79725         the matching ']' is found.  This is what POSIX requires.
79726         * posix/testfnm.c: Adjust test result.
79727         * posix/globtest.sh: Adjust test result.  Add new test.
79728         * posix/tst-fnmatch.input: Likewise.
79729         * posix/tst-fnmatch2.c: Add new test.
79731 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79733         * elf/Makefile (check-execstack): Revert last change.  Depend on
79734         check-execstack.h.
79735         (check-execstack.h): New target.
79736         (generated): Add check-execstack.h.
79737         * elf/check-execstack.c: Include "check-execstack.h".
79738         (main): Revert last change.
79739         (handle_file): Return zero if GNU_STACK is absent and
79740         DEFAULT_STACK_PERMS doesn't include PF_X.
79742 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79744         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79745         in child fails because the descriptor is already closed.
79746         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79747         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79748         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79750         [BZ #12397]
79751         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79752         syscall.
79754         [BZ #10484]
79755         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79756         temporary buffer used to handle multi lookups locally.
79757         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79759 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79761         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79762         loader is ld.so.
79764 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79766         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79767         alignment for SSE2.
79769 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79771         [BZ #12394]
79772         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79773         characters.  When rounding increased number of integer digits recompute
79774         number of groups.
79775         * stdio-common/tst-grouping.c: New file.
79776         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79778 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79780         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79781         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79783         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79784         void.
79785         * bits/select.h: Likewise.
79787 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79789         * po/ja.po: Update from translation team.
79791 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79793         [BZ #11155]
79794         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79795         implementation just like for lxstat, fxstatat, et al.
79797 2010-12-27  Jim Meyering  <meyering@redhat.com>
79799         [BZ #12348]
79800         * posix/regexec.c (build_trtable): Return failure indication upon
79801         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79803 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79805         [BZ #12201]
79806         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79807         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79808         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79809         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79811         [BZ #12207]
79812         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79814         [BZ #12204]
79815         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79816         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79818 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79820         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79821         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79822         script has SORT_BY_INIT_PRIORITY.
79823         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79824         NO_CTORS_DTORS_SECTIONS is defined.
79825         * elf/soinit.c: Likewise.
79826         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79827         NO_CTORS_DTORS_SECTIONS is defined.
79828         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79829         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79830         * sysdeps/sh/init-first.c: Likewise.
79831         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79833 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79835         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79836         always use the slow path.
79838 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79840         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79841         similar rule which adds the sysdep directories to the header search in
79842         order to pick up the correct platform stackinfo.h.
79843         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79844         perform test if it is, otherwise return successfully without testing.
79845         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79846         DEFAULT_STACK_PERMS define in stackinfo.h.
79847         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79848         defined in stackinfo.h.
79849         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79850         DEFAULT_STACK_PERMS defined in stackinfo.h.
79851         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79852         * sysdeps/ia64/stackinfo.h: Likewise.
79853         * sysdeps/s390/stackinfo.h: Likewise.
79854         * sysdeps/sh/stackinfo.h: Likewise.
79855         * sysdeps/sparc/stackinfo.h: Likewise.
79856         * sysdeps/x86_64/stackinfo.h: Likewise.
79857         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79858         PF_X for powerpc64.  Retain PF_X for powerpc32.
79860 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79862         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79863         accurately.
79864         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79865         GETDENTS_64BIT_ALIGNED.
79867 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79869         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79871 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79873         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79874         _GNU_SOURCE.
79876         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79877         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79878         Remove __restrict.
79879         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79880         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79882 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79884         [BZ #11655]
79885         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79886         are initialized.
79888 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79890         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79892 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79894         * po/it.po: Update from translation team.
79896 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79899         unused codes.
79901 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79903         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79905 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79907         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79908         specially.
79909         (gaih_getanswer_slice): Likewise.
79911 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79915 2010-05-31  Petr Baudis  <pasky@suse.cz>
79917         [BZ #11149]
79918         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79919         silently even in the chroot mode.
79921 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79923         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79924         last patch a bit.  Pretty printing
79926 2010-05-31  Petr Baudis <pasky@suse.cz>
79928         [BZ #10085]
79929         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79930         initialization of skip_initgroups_dyn.
79932 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79934         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79935         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79937 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79939         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79941 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79943         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79944         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79945         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79946         ($(objpfx)tst-fnmatch-mem): New rule.
79947         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79948         * posix/tst-fnmatch.c (main): Call mtrace.
79950 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79953         Support Intel processor model 6 and model 0x2c.
79955 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79957         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79958           signed comparison.
79960 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79962         [BZ #12205]
79963         * string/test-strncasecmp.c (check_result): New function.
79964         (do_one_test): Use it.
79965         (check1): New function.
79966         (test_main): Use it.
79967         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79968         Support strcasecmp and strncasecmp.
79970 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79972         [BZ #12194]
79973         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79974         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79976 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79978         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79979         IFUNC support.
79980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79981         memset-x86-64.
79982         * sysdeps/x86_64/multiarch/bzero.S: New file.
79983         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79984         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79985         * sysdeps/x86_64/multiarch/memset.S: New file.
79986         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79988         Set bit_Prefer_SSE_for_memop for Intel processors.
79989         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79990         Define.
79991         (index_Prefer_SSE_for_memop): Define.
79992         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79994 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79996         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79997         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79999 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80001         [BZ #12191]
80002         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80003         (__x86_64_raw_data_cache_size_half): Likewise.
80004         (__x86_64_raw_shared_cache_size): Likewise.
80005         (__x86_64_raw_shared_cache_size_half): Likewise.
80007         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80008         (__x86_64_raw_data_cache_size_half): Likewise.
80009         (__x86_64_raw_shared_cache_size): Likewise.
80010         (__x86_64_raw_shared_cache_size_half): Likewise.
80011         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80012         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80013         and __x86_64_raw_shared_cache_size_half.  Round
80014         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80015         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80016         to multiple of 256 bytes.
80018 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80020         [BZ #12167]
80021         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80022         of inacessible symlinks.  Verify result of symlink before returning it.
80023         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80024         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80026 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80028         * math/math.h (isinf): Fix typo in comment.
80030 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80032         * po/da.po: Update from translation team.
80034 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80036         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80037         is added to the list.
80039 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80040             Ulrich Drepper  <drepper@gmail.com>
80042         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80043         the global list here.  Move code to...
80044         (_dl_add_to_namespace_list): ...here.  New function.
80045         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80046         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80047         * elf/dl-load.c (lose): Don't remove the element from the list.
80048         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80049         (_dl_map_object): Likewise.
80051 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80053         [BZ #12159]
80054         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80055         into all bytes of SSE register.
80056         Patch by Richard Li <richardpku@gmail.com>.
80058 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80060         [BZ #12140]
80061         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80062         perturbing.
80064 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80066         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80067         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80068         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80069         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80071         submachine.
80072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80074 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80076         * include/dlfcn.h (__RTLD_SECURE): Define.
80077         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80078         mode & __RTLD_SECURE instead.
80079         (open_path): Rename preloaded parameter to secure.
80080         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80081         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80082         * elf/dl-deps.c (openaux): Likewise.
80083         * elf/rtld.c (struct map_args): Remove is_preloaded.
80084         (map_doit): Don't use it.
80085         (dl_main): Likewise.
80086         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80087         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80089 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80091         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80092         (sysd-rules-targets): Remove duplicates.
80093         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80094         rtld-%.$o dependency.
80096 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80098         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80099         _dl_map_object do it.
80101 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80103         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80104         fast fma builtins, define the macros in the C99 standard.
80105         (FP_FAST_FMAF): Likewise.
80106         (FP_FAST_FMAL): Likewise.
80107         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80109         * bits/mathdef.h: Update copyright year.
80110         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80112 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80114         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80115         builtins, define the macros in the C99 standard.
80116         (FP_FAST_FMAF): Likewise.
80117         (FP_FAST_FMAL): Likewise.
80118         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80119         multiply/add.
80120         (FP_FAST_FMAF): Likewise.
80122 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80124         [BZ #3268]
80125         * math/libm-test.inc (fma_test): Some new testcases.
80126         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80127         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80128         y and infinite z.  Do multiplication by C already in long double.
80129         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80131         y and infinite z.  Do bitwise or of inexact bit into u.d.
80132         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80133         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80134         * sysdeps/i386/fpu/s_fma.S: Removed.
80135         * sysdeps/i386/fpu/s_fmal.S: Removed.
80137 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80139         [BZ #3268]
80140         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80142         computation is not scheduled after fetestexcept.  Fix value
80143         of minimum denormal long double.
80145 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80147         [BZ #3268]
80148         * math/libm-test.inc (fma_test): Add some more tests.
80149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80150         correctly.
80152 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80154         * scripts/data/localplt-s390-linux-gnu.data: New file.
80155         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80157 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80159         [BZ #3268]
80160         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80161         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80162         instead of dbl-64.
80163         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80164         inlines.
80165         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80167         if one of x and y is very large and the other is subnormal.
80168         * sysdeps/s390/fpu/s_fmaf.c: New file.
80169         * sysdeps/s390/fpu/s_fma.c: New file.
80170         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80171         * sysdeps/powerpc/fpu/s_fma.S: New file.
80172         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80173         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80174         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80176 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80178         [BZ #3268]
80179         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80180         fma tests.
80181         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80182         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80183         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80184         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80185         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80186         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80187         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80189 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80191         [BZ #12078]
80192         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80193         * posix/bug-regex31.input: Add test case.
80195 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80197         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80198         * posix/bug-regex31.input: New file.
80200         [BZ #12078]
80201         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80202         (parse_sub_exp): Fix last change, use postorder.
80204         * posix/bug-regex31.c: New file.
80205         * posix/Makefile: Add rules to build and run bug-regex31.
80207         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80209         [BZ #12078]
80210         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80212         [BZ #12108]
80213         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80214         to have entries in sys_siglist.
80216         [BZ #12093]
80217         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80218         be NULL.
80220 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80222         [BZ #3268]
80223         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80224         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80225         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80226         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80227         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80228         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80229         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80230         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80231         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80232         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80233         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80234         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80235         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80236         * math/ftestexcept.c (fetestexcept): Likewise.
80237         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80238         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80239         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80240         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80241         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80242         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80243         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80245 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80247         [BZ #12107]
80248         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80249         newline.
80251 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80253         * string/bug-strstr1.c: New file.
80254         * string/Makefile: Add rules to build and run bug-strstr1.
80256 2010-10-05  Eric Blake  <eblake@redhat.com>
80258         [BZ #12092]
80259         * string/str-two-way.h (two_way_long_needle): Always clear memory
80260         when skipping input due to the shift table.
80262 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80264         [BZ #12005]
80265         * malloc/mcheck.c: Handle large requests.
80267         [BZ #12077]
80268         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80269         for strncmp and strncasecmp.
80270         * string/stratcliff.c: Add tests for strcmp and strncmp.
80271         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80273 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80275         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80276         __set_fpscr.
80278 2010-09-30  Andreas Jaeger  <aj@suse.de>
80280         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80281         (CGROUP_SUPER_MAGIC): Define.
80282         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80283         Handle btrfs and cgroup file systems.
80284         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80285         Likewise.
80287 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80289         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80290         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80292 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80294         [BZ #12067]
80295         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80296         trying to locate the ELF header.
80298 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80300         [BZ #11611]
80301         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80302         Mask out sign-bit copies when constructing f_fsid.
80304 2010-09-24  Petr Baudis <pasky@suse.cz>
80306         * debug/stack_chk_fail_local.c: Add missing licence exception.
80307         * debug/warning-nop.c: Likewise.
80309 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80311         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80312         implementing getdents64 using getdents syscall, set d_type if
80313         __ASSUME_GETDENTS32_D_TYPE.
80315 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80317         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80318         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80320 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80322         [BZ #12037]
80323         * posix/unistd.h: Undo change of feature selection for ftruncate from
80324         2010-01-11.
80326 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80328         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80329         detection.
80331 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80333         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80334         fanotify_mark.
80335         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80337 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80339         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80340         variables after CHECK_SP call.
80341         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80343 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80344             Ulrich Drepper  <drepper@redhat.com>
80346         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80347         re-relocationg ld.so.
80348         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80349         _dl_init_paths call.
80350         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80351         here anymore.
80353 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80355         * resolv/res_init.c (__res_vinit): Count the default server we added.
80357 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80358             Ulrich Drepper  <drepper@redhat.com>
80360         [BZ #11968]
80361         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80362         (____longjmp_chk): Use %ebx for saving value across system call.
80363         Add unwind info.
80365 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80367         * manual/Makefile: Don't mix pattern rules with normal rules.
80369 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80371         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80372         operation.
80373         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80374         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80375         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80376         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80378         Likewise.
80380 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80382         [BZ #11979]
80383         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80384         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80386 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80388         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80389         * sysdeps/x86_64/addmul_1.S: Likewise.
80390         * sysdeps/x86_64/lshift.S: Likewise.
80391         * sysdeps/x86_64/mul_1.S: Likewise.
80392         * sysdeps/x86_64/rshift.S: Likewise.
80393         * sysdeps/x86_64/sub_n.S: Likewise.
80394         * sysdeps/x86_64/submul_1.S: Likewise.
80396 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80398         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80399         Define __sched_param instead of SCHED_* and sched_param when
80400         <bits/sched.h> is included with __need_schedparam defined.
80401         * bits/sched.h [__need_schedparam]
80402         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80403         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80404         (__defined_schedparam): Define to 1.
80405         (__sched_param): New structure, identical to sched_param.
80406         (__need_schedparam): Undefine.
80408 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80411         (epoll_create1): Declare.
80413         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80415 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80417         [BZ #7066]
80418         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80419         shifting retval into place.
80421 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80423         * nis/rpcsvc/nis.h: Update copyright notice.
80424         * nis/rpcsvc/nis.x: Likewise.
80425         * nis/rpcsvc/nis_callback.h: Likewise.
80426         * nis/rpcsvc/nis_callback.x: Likewise.
80427         * nis/rpcsvc/nis_object.x: Likewise.
80428         * nis/rpcsvc/nis_tags.h: Likewise.
80429         * nis/rpcsvc/yp.h: Likewise.
80430         * nis/rpcsvc/yp.x: Likewise.
80431         * nis/rpcsvc/ypupd.h: Likewise.
80432         * nis/yp_xdr.c: Likewise.
80433         * nis/ypupdate_xdr.c: Likewise.
80435         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80436         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80437         (pmap_getport): Use __libc_rpc_getport.
80438         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80439         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80440         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80442 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80445         fanotify_mark.
80447 2010-08-27  Roland McGrath  <roland@redhat.com>
80449         * sysdeps/i386/i686/multiarch/Makefile
80450         (CFLAGS-varshift.c): New variable.
80452 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80454         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80455         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80457         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80459         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80461 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80463         * sysdeps/x86_64/strlen.S: Unroll the loop.
80464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80465         strlen-sse2 strlen-sse2-bsf.
80466         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80467         __strlen_no_bsf if bit_Slow_BSF is set.
80468         (__strlen_sse42): Removed.
80469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80470         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80472 2010-08-25  Roland McGrath  <roland@redhat.com>
80474         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80475         * sysdeps/x86_64/multiarch/varshift.c: New file.
80476         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80477         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80478         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80479         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80481 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80484         strlen-sse2 strlen-sse2-bsf.
80485         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80486         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80487         (__strlen_sse2): Removed.
80488         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80489         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80491         bit_Slow_BSF for Atom.
80492         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80493         (index_Slow_BSF): Define.
80494         (HAS_SLOW_BSF): Define.
80496 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80498         [BZ #10851]
80499         * resolv/res_init.c (__res_vinit): When no server address at all
80500         is given default to loopback.
80502 2010-08-24  Roland McGrath  <roland@redhat.com>
80504         * configure.in: Remove config-name.h generation.
80505         * configure: Regenerated.
80506         * config-name.in: File removed.
80507         * scripts/config-uname.sh: New file.
80508         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80509         ($(objdir)config-name.h): New target.
80511         * sunrpc/rpc_parse.h: Avoid nested comment.
80513 2010-08-24  Richard Henderson  <rth@redhat.com>
80514             Ulrich Drepper  <drepper@redhat.com>
80515             H.J. Lu  <hongjiu.lu@intel.com>
80517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80519         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80520         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80521         _mm_alignr_epi8 with _mm_loadu_si128.
80522         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80523         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80524         (__m128i_shift_right): Removed.
80525         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80526         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80527         * sysdeps/x86_64/multiarch/varshift.h: New file.
80528         * sysdeps/x86_64/multiarch/varshift.S: New file.
80530 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80532         * configure.in: Move assembler checks to before sysdep dir checking.
80534 2010-08-20  Petr Baudis  <pasky@suse.cz>
80536         * LICENSES: Sync the sunrpc license.
80538 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80540         * sunrpc/auth_des.c: Update copyright notice once again.
80541         * sunrpc/auth_none.c: Likewise.
80542         * sunrpc/auth_unix.c: Likewise.
80543         * sunrpc/authdes_prot.c: Likewise.
80544         * sunrpc/authuxprot.c: Likewise.
80545         * sunrpc/bindrsvprt.c: Likewise.
80546         * sunrpc/clnt_gen.c: Likewise.
80547         * sunrpc/clnt_perr.c: Likewise.
80548         * sunrpc/clnt_raw.c: Likewise.
80549         * sunrpc/clnt_simp.c: Likewise.
80550         * sunrpc/clnt_tcp.c: Likewise.
80551         * sunrpc/clnt_udp.c: Likewise.
80552         * sunrpc/clnt_unix.c: Likewise.
80553         * sunrpc/des_crypt.c: Likewise.
80554         * sunrpc/des_soft.c: Likewise.
80555         * sunrpc/get_myaddr.c: Likewise.
80556         * sunrpc/getrpcport.c: Likewise.
80557         * sunrpc/key_call.c: Likewise.
80558         * sunrpc/key_prot.c: Likewise.
80559         * sunrpc/openchild.c: Likewise.
80560         * sunrpc/pm_getmaps.c: Likewise.
80561         * sunrpc/pm_getport.c: Likewise.
80562         * sunrpc/pmap_clnt.c: Likewise.
80563         * sunrpc/pmap_prot.c: Likewise.
80564         * sunrpc/pmap_prot2.c: Likewise.
80565         * sunrpc/pmap_rmt.c: Likewise.
80566         * sunrpc/rpc/auth.h: Likewise.
80567         * sunrpc/rpc/auth_unix.h: Likewise.
80568         * sunrpc/rpc/clnt.h: Likewise.
80569         * sunrpc/rpc/des_crypt.h: Likewise.
80570         * sunrpc/rpc/key_prot.h: Likewise.
80571         * sunrpc/rpc/netdb.h: Likewise.
80572         * sunrpc/rpc/pmap_clnt.h: Likewise.
80573         * sunrpc/rpc/pmap_prot.h: Likewise.
80574         * sunrpc/rpc/pmap_rmt.h: Likewise.
80575         * sunrpc/rpc/rpc.h: Likewise.
80576         * sunrpc/rpc/rpc_des.h: Likewise.
80577         * sunrpc/rpc/rpc_msg.h: Likewise.
80578         * sunrpc/rpc/svc.h: Likewise.
80579         * sunrpc/rpc/svc_auth.h: Likewise.
80580         * sunrpc/rpc/types.h: Likewise.
80581         * sunrpc/rpc/xdr.h: Likewise.
80582         * sunrpc/rpc_clntout.c: Likewise.
80583         * sunrpc/rpc_cmsg.c: Likewise.
80584         * sunrpc/rpc_common.c: Likewise.
80585         * sunrpc/rpc_cout.c: Likewise.
80586         * sunrpc/rpc_dtable.c: Likewise.
80587         * sunrpc/rpc_hout.c: Likewise.
80588         * sunrpc/rpc_main.c: Likewise.
80589         * sunrpc/rpc_parse.c: Likewise.
80590         * sunrpc/rpc_parse.h: Likewise.
80591         * sunrpc/rpc_prot.c: Likewise.
80592         * sunrpc/rpc_sample.c: Likewise.
80593         * sunrpc/rpc_scan.c: Likewise.
80594         * sunrpc/rpc_scan.h: Likewise.
80595         * sunrpc/rpc_svcout.c: Likewise.
80596         * sunrpc/rpc_tblout.c: Likewise.
80597         * sunrpc/rpc_util.c: Likewise.
80598         * sunrpc/rpc_util.h: Likewise.
80599         * sunrpc/rpcinfo.c: Likewise.
80600         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80601         * sunrpc/rpcsvc/key_prot.x: Likewise.
80602         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80603         * sunrpc/rpcsvc/mount.x: Likewise.
80604         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80605         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80606         * sunrpc/rpcsvc/rex.x: Likewise.
80607         * sunrpc/rpcsvc/rstat.x: Likewise.
80608         * sunrpc/rpcsvc/rusers.x: Likewise.
80609         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80610         * sunrpc/rpcsvc/spray.x: Likewise.
80611         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80612         * sunrpc/rtime.c: Likewise.
80613         * sunrpc/svc.c: Likewise.
80614         * sunrpc/svc_auth.c: Likewise.
80615         * sunrpc/svc_authux.c: Likewise.
80616         * sunrpc/svc_raw.c: Likewise.
80617         * sunrpc/svc_run.c: Likewise.
80618         * sunrpc/svc_simple.c: Likewise.
80619         * sunrpc/svc_tcp.c: Likewise.
80620         * sunrpc/svc_udp.c: Likewise.
80621         * sunrpc/svc_unix.c: Likewise.
80622         * sunrpc/svcauth_des.c: Likewise.
80623         * sunrpc/xcrypt.c: Likewise.
80624         * sunrpc/xdr.c: Likewise.
80625         * sunrpc/xdr_array.c: Likewise.
80626         * sunrpc/xdr_float.c: Likewise.
80627         * sunrpc/xdr_mem.c: Likewise.
80628         * sunrpc/xdr_rec.c: Likewise.
80629         * sunrpc/xdr_ref.c: Likewise.
80630         * sunrpc/xdr_sizeof.c: Likewise.
80631         * sunrpc/xdr_stdio.c: Likewise.
80633         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80634         handling.
80636 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80638         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80640 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80642         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80643         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80644         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80645         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80646         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80647         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80648         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80649         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80650         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80651         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80652         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80653         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80654         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80655         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80657 2010-07-26  Anton Blanchard  <anton@samba.org>
80659         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80660         * malloc/arena.c (heap_trim): Likewise.
80662 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80664         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80665         here.  Not...
80666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80667         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80669 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80671         * sysdeps/i386/elf/Makefile: New file.
80673 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80675         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80676         from fanotify_init.
80677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80680 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80682         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80683         of strncasecmp_l.
80684         * sysdeps/multiarch/strcmp.S: Likewise.
80686 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80688         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80689         strncase_l-nonascii.
80690         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80691         Add strncase_l-ssse3.
80692         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80693         * sysdeps/x86_64/strcmp.S: Likewise.
80694         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80695         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80696         * sysdeps/x86_64/strncase.S: New file.
80697         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80698         * sysdeps/x86_64/strncase_l.S: New file.
80699         * string/Makefile (strop-tests): Add strncasecmp.
80700         * string/test-strncasecmp.c: New file.
80702         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80703         warning.
80705         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80706         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80708 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80710         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80712 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80714         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80716         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80718 2010-05-01  Alan Modra  <amodra@gmail.com>
80720         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80721         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80722         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80723         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80724         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80725         tidying.  Don't tail-call __sigjmp_save for static lib.
80726         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80727         save location.
80728         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80729         (CALL_MCOUNT): Add eh info, and nop after bl.
80730         (TAIL_CALL_SYSCALL_ERROR): New macro.
80731         (PSEUDO_RET): Use it.
80732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80733         Correct save location of integer regs and cr.
80734         (_dl_profile_resolve): Correct cr save location.  Delete nops
80735         after bl when SHARED.  Reduce cfi size a little by better
80736         placement of cfi directives.
80737         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80738         make a stack frame.  Instead use parm save area as a temp.
80739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80740         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80742         Don't make a stack frame for parent, use parm save area.
80743         Increase child stack frame to 112 bytes.  Don't save unused reg,
80744         and adjust reg usage.  Set up cfi on error recovery and
80745         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80747         (__makecontext): Add dummy nop after jump to exit.
80748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80749         Use correct parm save area and cr save, reduce stack frame.
80750         Correct cfi for possible PSEUDO_RET frame setup.
80751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80752         Branch to local label emitted by PSEUDO_RET rather than
80753         __syscall_error.
80755 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80757         [BZ #11904]
80758         * locale/programs/locale.c (print_assignment): New function.
80759         (show_locale_vars): Use it.
80761 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80763         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80764         field.
80765         (struct statfs64): Likewise.
80766         (_STATFS_F_FLAGS): Define.
80767         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80769         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80770         (ST_VALID): Define locally.
80771         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80772         __statvfs_getflags, use the provided value.
80773         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80774         __ASSUME_STATFS_F_FLAGS.
80776         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80778         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80779         Add sys/fanotify.h.
80780         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80781         fanotify_mask for GLIBC_2.13.
80782         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80783         fanotify_init and fanotify_mark.
80784         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80785         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80787         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80788         Add prlimit.
80789         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80790         prlimit64 for GLIBC_2.13.
80791         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80792         prlimit64.
80793         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80794         syscall.
80795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80797         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80798         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80800         add prlimit alias.
80801         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80803         [BZ #11903]
80804         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80805         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80807         * nss/Makefile: Add rules to build and run tst-nss-test1.
80808         * shlib-versions: Add entry for libnss_test1.
80809         * nss/nss_test1.c: New file.
80810         * nss/tst-nss-test1.c: New file.
80812         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80813         (__nss_configure_lookup): Set appropriate entry in
80814         __nss_configure_lookup to true.
80815         * nss/nsswitch.h: Define enum with indeces of databases in
80816         databases and __nss_database_custom arrays.  Declare
80817         __nss_database_custom.
80818         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80819         to avoid using nscd when custom rules are installed.
80820         * nss/getXXbyYY_r.c: Likewise.
80821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80823         * nss/nss_files/files-parse.c: Whitespace fixes.
80825 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80827         [BZ #11883]
80828         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80829         * posix/fnmatch_loop.c: Likewise.
80831 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80833         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80834         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80835         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80836         * Versions.def [GLIBC_2.13]: Add.
80838 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80840         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80841         Also fail if tpwd after pwuid call is NULL.
80843 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80845         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80846         when converting to ms.
80848 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80850         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80851         EOPNOTSUPP errors with ENOTTY.
80852         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80853         EOPNOTSUPP errors with ENOTTY.
80855 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80857         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80858         Add strcasecmp_l-ssse3.
80859         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80860         strcasecmp.
80861         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80862         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80863         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80865 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80867         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80869         * string/Makefile (strop-tests): Add strcasecmp.
80870         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80871         strcasecmp_l-nonascii.
80872         (gen-as-const-headers): Add locale-defines.sym.
80873         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80874         * sysdeps/x86_64/strcasecmp.S: New file.
80875         * sysdeps/x86_64/strcasecmp_l.S: New file.
80876         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80877         * sysdeps/x86_64/locale-defines.sym: New file.
80878         * string/test-strcasecmp.c: New file.
80880         * string/test-strcasestr.c: Test both ends of the range of characters.
80881         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80883 2010-07-29  Roland McGrath  <roland@redhat.com>
80885         [BZ #11856]
80886         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80888 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80890         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80891         for ld.so.
80893 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80895         * manual/memory.texi (Malloc Tunable Parameters): Document
80896         M_PERTURB.
80898 2010-07-26  Roland McGrath  <roland@redhat.com>
80900         [BZ #11840]
80901         * configure.in (-fgnu89-inline check): Set and substitute
80902         gnu89_inline, not libc_cv_gnu89_inline.
80903         * configure: Regenerated.
80904         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80906 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80908         * string/test-strnlen.c: New file.
80909         * string/Makefile (strop-tests): Add strnlen.
80910         * string/tester.c (test_strnlen): Add a few more test cases.
80911         * string/tst-strlen.c: Better error reporting.
80913         * sysdeps/x86_64/strnlen.S: New file.
80915 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80917         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80918         lower-latency instructions.
80920 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80922         * string/test-strcasestr.c: New file.
80923         * string/test-strstr.c: New file.
80924         * string/Makefile (strop-tests): Add strstr and strcasestr.
80925         * string/str-two-way.h: Don't undefine MAX.
80926         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80928 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80931         strcasestr-nonascii.
80932         (CFLAGS-strcasestr-nonascii.c): Define.
80933         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80935         Remove unused attribute.
80937 2010-07-20  Roland McGrath  <roland@redhat.com>
80939         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80940         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80941         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80942         like LD_HWCAP_MASK can disable hwcaps.
80944 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80946         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80948 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80950         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80951         call in strcasestr.
80952         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80953         __strcasestr_sse42_nonascii.
80954         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80955         strcasestr-nonascii.c.
80956         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80958 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80960         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80961         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80962         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80963         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80965 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80967         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80968         fcntl.
80970 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80972         [BZ #11577]
80973         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80974         dl_signal_cerror.
80976 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80978         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80979         _PC_PIPE_BUF using F_GETPIPE_SZ.
80981 2010-07-05  Roland McGrath  <roland@redhat.com>
80983         * manual/arith.texi (Rounding Functions): Fix rint description
80984         implicit in round description.
80986 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80988         * elf/Makefile: Fix linking for a few tests to make recent linker
80989         happy.
80991 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80993         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80994         $(common-objpfx)libc_nonshared.a.
80996 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80998         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80999         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81000         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81001         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81002         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81003         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81004         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81005         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81020         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81021         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81022         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81023         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81024         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81025         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81026         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81027         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81028         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81029         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81030         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81031         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81047 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81049         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81050         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81051         * string/memmove.c (memmove): Renamed to ...
81052         (MEMMOVE): ...this.  Default to memmove.
81053         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81054         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81055         (END_CHK): Define.
81056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81057         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81058         mempcpy-ssse3-back memmove-ssse3-back.
81059         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81061         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81062         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81063         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81064         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81065         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81066         * sysdeps/x86_64/multiarch/memmove.c: New file.
81067         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81068         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81069         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81070         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81072         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81073         Define.
81074         (index_Fast_Copy_Backward): Define.
81075         (HAS_ARCH_FEATURE): Define.
81076         (HAS_FAST_REP_STRING): Define.
81077         (HAS_FAST_COPY_BACKWARD): Define.
81079 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81081         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81082         Restore proper fallback handling.
81084 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81086         [BZ #11701]
81087         * posix/group_member.c (__group_member): Correct checking loop.
81089         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81090         OOM in getpwuid_r correctly.  Return error number when the caller
81091         should return, otherwise -1.
81092         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81093         call returning > 0 value.
81094         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81096 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81098         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81099         libc_nonshared.a from targets in modules-names.
81101 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81103         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81104         requires it.
81106 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81108         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81109         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81110         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81111         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81113 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81115         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81117 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81119         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81120         and F_GETPIPE_SZ.
81121         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81122         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81124         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81125         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81126         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81128 2010-06-14  Roland McGrath  <roland@redhat.com>
81130         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81132 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81134         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81135         __REDIRECT followed by __THROW.
81136         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81137         * posix/getopt.h (getopt): Likewise.
81139 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81141         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81142         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81143         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81144         in AT_FLAGS.
81145         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81146         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81148 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81150         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81152 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81154         [BZ #11640]
81155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81156         Properly check family and model.
81158 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81160         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81162 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81164         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81166 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81168         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81169         symbol reference.
81171 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81173         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81174         symbol reference.
81176 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81178         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81179         and internal_recvmmsg.
81180         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81181         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81182         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81183         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81185         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81186         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81187         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81189 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81191         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81193 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81195         POWER7 optimizations.
81196         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81197         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81199 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81201         * version.h: Update for 2.13 development version.
81203 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81205         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81206         exceptions.  Return 0.
81208 2010-05-07  Roland McGrath  <roland@redhat.com>
81210         * elf/ldconfig.c (main): Add a const.
81212 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81214         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81215         (args_options): Add no-idn option.
81216         (ahosts_keys_int): Add idn_flags to ai_flags.
81217         (parse_option): Handle 'i' option to clear idn_flags.
81219         * malloc/malloc.c (_int_free): Possible race in the most recently
81220         added check.  Only act on the data if no current modification
81221         happened.
81223 See ChangeLog.17 for earlier changes.